None of the Proxy Functions are Called
There are several problems that could result in none of the proxy functions being called.
The scheduler proxy library must be installed in the schedulers subdirectory of the Ansys Electromagnetics 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 Electromagnetics product name (for example, Maxwell) and “Version” is the Ansys Electromagnetics product version (for example, 24.2).
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 Build Information for a Scheduler Proxy Library. Incorrect compile or link flags may prevent the library from being loaded by the Ansys Electromagnetics 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
.