07-26-2006 05:33 PM
07-27-2006 09:00 PM
07-28-2006 07:32 AM
07-28-2006 08:20 AM
Thanks for the help! I had read the MSDN article yesterday and suspected that LV 8 might solve the problem. I also found that my experiment worked just fine when running outside of the .NET debugging environment. Volker's suggestion allows me to debug without the exception and that 's good enough for now.
A Little Less Overwhelmed
10-17-2008 03:47 AM
Hi Lycangeek,
i have the same problem.I tried to run the example form here:
http://forums.ni.com/ni/board/message?board.id=170&message.id=70372&requireLogin=False , which is also provided through an official ni site.
When calling the first pinnvoke'd method, i got the mentioned MDA message.
I use Visual Studio 2008 and LabVIEW 8.6 (evaluation version).So, your mentioned improvements in LabVIEW seems currently not to work.
Br, Marcel
10-17-2008 07:49 AM
Reply to my own message: I now actually rebuilt the DLL with LabVIEW 8.6 and now it works fine.
Don't forget to specyfy the answer as reference type in the signature (pointer to value).
br, Marcel
05-28-2009 12:23 PM
For the record, I just wanted to point out that I've face the same problem with a LabView-7.1-based DLL called from VS Express 2008.
1. Trying to disable the warning as explained above in Debug >> Exceptions >> Managed Debugging Assistants >> LoaderLock did NOT work for me.
2. Using a DLL regenerated with LabView-8.5 solved this problem; the runtime warning disappeared.
Cheers!