Hello,
I am having a .NET error with front end callback execution using the TS API. This occurs on a freshly installed machine. By freshly installed I mean that I have an OS image which contains TestStand installation. I am working on a product that during startup invokes the frontendcallbacks using the API call:
CallFrontEndCallbackEx(FrontEndCallbacks.FrontEndCback_LoginLogout, null, TypeConflictHandlerTypes.ConflictHandler_Error, 0);
The user front end callback sequence (which is installed under C:\Program Files\National Instruments\TestStand 3.5\Components\User\Callbacks\FrontEnd) calls some APIs in a .NET dll that is located in the same location.
On the fresh installation, when I run this product that I am working on for the very FIRST time and it calls the API CallFrontEndCallbackEx, the execution fails with the following error:
"The .NET support dll could not be loaded. This is caused by an assembly path that could not be resolved!". After some trial and error I know for a fact that the error occurs when it tries to access the .NET dll located in the same location as the front end callback sequence. The funny thing is this occurs only the first time. If I close software and restart it, this call will succeed! (If I reimage the machine, bring it back to a clean state and run the software again for the 1st time, the problem will occur again).
Thanks in advance,
Harsha