LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

undefined symbol COleException

Solved!
Go to solution

Hello,

 

I am trying to migrate my application from Visual 6.0/CVI Interface to Visual Studio 2005/CVI Interface.

 

My version of CVI is the 8.0.0.

 

I had many problem with this new configuration but for now my trouble is with the linker.

 

Here is the linker error :

 

 

NiCommon71SD.lib : error LNK2019: symbole externe non résolu " virtual int __thiscall COleException::GetErrorMessage(char *,unsigned int,unsigned int *)" référencé dans la fonction " virtual int __thiscall NI::CNiOleException::GetErrorMessage(char *,unsigned int,unsigned int *)"

It is clear that there is no link to COleException but in wich library this function is supposed to be ?

 

Thanks for your help !

 

 

0 Kudos
Message 1 of 5
(4,194 Views)

Hello,

 

Can you send your project in order to see?


Regards,

Nacer M. | Certified LabVIEW Architecte

0 Kudos
Message 2 of 5
(4,152 Views)

Here is a totally empty project. There is only the VS2005 project and the empty CVI interface. The old VC++6.0 project is also in the .zip file.

These files should be able to launch the CVI interface. I had try a lot of solution, maybe my project is now totaly ruined.

 

 

Thank you for your help !

 

 

0 Kudos
Message 3 of 5
(4,117 Views)

Is anyone already had this kind of trouble ?

0 Kudos
Message 4 of 5
(4,065 Views)
Solution
Accepted by topic author Frooom

This problem can be closed. I have found the solution. The main issue was that I didn't have the good version of Measurement Studio installed. In order to use Visual Studio 2005, Measurement Studio 2009 is definitly needed.

 

Now I use the NiCommon80SD.lib and the linkage is ok. After that I had a trouble about the mfc80d.dll not found and this step was solved by adding a manifest file in my project.

0 Kudos
Message 5 of 5
(4,003 Views)