- 易迪拓培训,专注于微波、射频、天线设计工程师的培养
HFSS15: None of the Proxy Functions are Called
There are several problems which could result in none of the proxy functions being called.
The scheduler proxy library must be installed in the schedulers subdirectory of the Ansoft installation directory. The installation directory is set in the registry entry HKEY_CURRENT_USER/Software/Ansoft/Product/Version/Desktop/InstallationDirectory, where Product is the ANSYS EM product name (e.g, HFSS) and Version is the ANSYS EM product version (e.g., 15.0).
The scheduler proxy library name must match "*_scheduler.dll" on Windows and "lib*_scheduler.so" on Linux. If the library name does not match this format, then the library will not be loaded. In addition, the
function name prefix must be the same as the library name prefix converted to upper case. For example, if the library name prefix is "abc", then the function name prefix is "ABC". In this example, the library name is "abc_scheduler.dll" on Windows, and "libabc_scheduler.so" on Linux. In this example, the full name of the IsProductLaunchedInYourEnvironment function is ABC_IsProductLaunchedInYourEnvironment on Windows and Linux, and it must have extern "C" linkage.
Verify that the compile and link flags follow the guidelines in the section "Build Information", above. Incorrect compile or link flags may prevent the library from being loaded by the Ansoft product.
If there is a problem with calling the IsProductLaunchedInYourEnvironment function, then none of the other functions will be called. The other functions are only called if the IsProductLaunchedInYourEnvironment function is successfully called and returns true.