From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling LabView dlls from VB

I am using the .net environment and this NI e xample...

http://zone.ni.com/devzone/cda/epd/p/id/3990

which is just a simple dll that outputs some numbers.

I get the following error

Attempting managed execution inside OS Loader lock. Do not attempt to
run managed code inside a DllMain or image initialization function
since doing so can cause the application to hang.

and it crashes! Any suggestions?

0 Kudos
Message 1 of 3
(2,393 Views)
Different user name but same question as here?
0 Kudos
Message 2 of 3
(2,362 Views)
This issue is addressed in the forum linked by Ravens Fan.
Donovan
0 Kudos
Message 3 of 3
(2,346 Views)