Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I debug a DLL created using CVI in C++ MS Visual Studio?

I saw in the sample code "dlldebug" that it created some files specific to various compilers, but I cannot find any help dialogs or options that allow me turn those options on myself.
Go Cubbies!!
0 Kudos
Message 1 of 2
(3,458 Views)
You can't use our debug info in Visual C++. You can use our LIB, H, and DLL file, but not the debug info file for the DLL. If you are building a VC++ app that calls a CVI DLL and want to debug the DLL, here is what you can do. Build the VC++ application, let's say it's call VCapp.exe. Then go back to CVI and load your DLL project. From the Run menu, go to Select External Process and pick your VCapp.exe file. Then you can select Debug VCapp.exe and set breakpoints in your DLL code and debug the DLL after VCapp.exe has called it.

Best Regards,

Chris Matthews
Measurement Studio Support Manager
Message 2 of 2
(3,458 Views)