04-19-2013 11:27 AM
Did you open the code for the about? When I attempt to open the code, it is looking for System.dll.
Going into the [About Help] - Get App Version Info.vi, your .NET call is out of date. I had to re-select it for LabVIEW to like it. You'd be better off using the WinAPI call.
It worked after I rebuilt it. I included my updated files, as your project did not contain your build specification.
Matthew
04-19-2013 02:02 PM
I have seen this before. I fixed it, but the problem didn't disappear. In my example, when I open the "[About Help] - Get App Version Info.vi", the .NET DLL is no longer out dated (see picture), but when I compiled the exe, the error still occur.
What did you mean by using WinAPI call? What build specification are you referrring to? I attached everything.
04-19-2013 02:09 PM
When I ran your exe, the error is not data. When I opened your "[About Help] - Get App Version Info.vi", I got the attached error saying tha a newer dll is loaded instead. I saved everything and recomplied again, and the error appeared once more. Howcome my dll doesn't work?
04-19-2013 02:51 PM
Try going back an manually selecting the function calls again. Sometimes LabVIEW won't complain, but it really is not reconnecting everything.
The WinAPI call is here:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms647003(v=vs.85).aspx
Someone already did the work for you though:
http://digital.ni.com/public.nsf/allkb/935BA7FB426305398625711E0055F1FA
they have a dll version and a .NET version of the library.