LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL Error Dialog

When using the LoadLibrary-Function in CVI and calling a File that isnt't a Library, Windows XP shows an error dialog. Is it possible to suppress this dialog in CVI??
0 Kudos
Message 1 of 3
(2,621 Views)
This seems to be a property of the OS rather than CVI itself. I tried the same thing in VC with a console app and I get the same error dialog. Try using the SetErrorMode function with SEM_FAILCRITICALERRORS

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 3
(2,621 Views)
Perfect! This works, thanks!!
0 Kudos
Message 3 of 3
(2,621 Views)