LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use a UI message from a Visual Studio C++ DLL



@AndrewMc wrote:

Regardless of whether LabVIEW affords you the option to post a user event from your C++ DLL (which I don't believe to be possible)



As Wiebe already said it does afford you that option but the problem is quite likely that you need to get the HMODULE (LoadLibrary or GetModuleHandle("lvrt.dll") ) of the module instance that is used by TestStand to execute the LabVIEW tests in, since that function is exportet by that module and the associated user event refnum is only valid inside the instance that created it.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 21 of 21
(549 Views)