LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Labview 8 with MS Visual Studio .net 2003 to create .lsb file

Hi,

both is installed now (.NET 2.0 framework and VS 2005 redist). Situation unchanged. Can't you see the same effect on a clean system with the sample attached to this thread? Remote debugging it the should be no problem...

I however give up now. Thanks for your patience but have no more time looking into this.

All the best,

Stefan
0 Kudos
Message 31 of 33
(1,299 Views)
IT WORKS!
 
I've not had time to actually work on this much due to NIWeek, but I've just tried it out on a clean machine and must ask your forgiveness. The problem is in the VS.NET project file used to build the example.
 
I noticed that the dependency list for the DLL (lsb) included the debug version of the VC8 runtime. When I looked at the VS.NET project settings, I saw that it was configured to link against the multi-threaded DEBUG DLL even in release build. ARGH.
 
I changed the release project to just the multi-threaded DLL, rebuilt the entire project in release mode and took that over to the clean machine. I had to relink and save the VI for the new LSB file, but after that everything worked fine. I've attached that new build.
 
NOTE: It does require that you install the VC RT components as I mentioned earlier, but it does not require the .NET framework to be installed.
 
I understand if you don't have time to try this out, and you were only helping us solve the problem for others (which I think this has done, clean machine and all), but let me know if you do run it.
0 Kudos
Message 32 of 33
(1,296 Views)
Hi,

it really works now! Smiley HappySmiley Very Happy

So in the end this all comes down to a missing installation of the C-runtime libs....

Thanks a lot for everything. Maybe as a future improvement an error message telling you which lib is missing would be veeeery helpful. CINs do that for dyn. loaded libs anyway... But on the other hand you suggest not to use them anymore, which makes sense as well!

All the best,

Stefan
0 Kudos
Message 33 of 33
(1,284 Views)