01-22-2018 08:01 AM
Calling my LabWindows/CVI DLL from Teststand
I am getting Error -94 File not found from
panelHandle = LoadPanelEx(0, "Some.uir", PANEL, 0)
Target setting "Embed project .UIRs" is checked on the DLL project
If I step through the code within LabWindows/CVI I do not get the error
If I operate the DLL through a CVI executable application, I also do not get the error
The panel does not require user interraction.
Any Ideas?
Solved! Go to Solution.
01-23-2018 03:51 AM
Swapped
panelHandle = LoadPanelEx(0, "Some.uir", PANEL, 0)
for
panelHandle = LoadPanelEx(0, "Some.uir", PANEL, __CVIUserHInst)
Now appears to be OK.