我使用C语言对第三方库(在HP/Mercury Loadrunner中)进行编程。我正在试图找出动态调用另一个函数所需的代码。看下面的例子。有人可以协助使这项工作的代码?Loadrunner C代码动态函数调用
HomePage() {
// Load Runner code to conduct home page call
}
SearchResults() {
// Load Runner code to conduct some search results call
}
**FunctionCall(char function[]) {
// Conduct a remote call to another function based on what was passed in???
function;
}**
Main() {
FunctionCall(HomePage);
FunctionCall(SearchResults);
}
你的问题不清楚给我。你试图解决什么问题?请发布您拥有的所有代码和问题。 – hari