views:

842

answers:

3

I have created a Dll in VC++ 2008. But it is working with some other software (VB). Unable to load that dll function in Labview. VC90 Debug CRT error is coming. Why is this software not supporting my dll?

A: 

Did you link to the dynamic crt and fail to ensure it was present on the target machine? Try the static version (use /MT instead of /MD).

jeffamaphone
A: 

Did you compile your DLL using the debug target ? If so it will not work on systems where Visual Studio was not installed. You must publish your dll compiled in release mode.

Jem
A: 

You can use depends.exe (dependency walker) to find some reasons. In your case you would choose the labview.exe in the dependency walker and choose profile in the dependency walker.

When your dll is loaded you may see some reasons why it isn't loaded.

This actual link will lead you to the dependency walker including the profile method. http://www.dependencywalker.com/

Totonga