Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Linker error 2005 when using member variable of type CNiGraph in CW++

Hi,
when I try to use a member variable of type CNiGraph I receive linker errors LNK2005, e.g.:
msvcrtd.lib(MSVCRTD.dll) : error LNK2005: __CrtDbgReport already defined in libcmtd.lib(dbgrpt.obj)

The project was created with the NI Measurement AppWizard.

CW Version 3.0.1(549)

OS: Windows 2000

Thank you for your help.

Uwe Gratzke
0 Kudos
Message 1 of 2
(3,476 Views)
This really isn't enough info about your project to give a definative answer, but one possibility is that you could have set up your project to be statically linking to the MFC libraries which we don't support. It could be a lot of other possibilities also. If you would like, you could have our support engineers help you with the project by sending it to us via http://www.ni.com/ask.

Best Regards,

Chris Matthews
Measurment Studio Support Manager
Message 2 of 2
(3,476 Views)