06-18-2010 03:58 AM
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 !
Solved! Go to Solution.
06-22-2010 03:24 AM
Hello,
Can you send your project in order to see?
Regards,
Nacer M. | Certified LabVIEW Architecte
06-25-2010 07:07 AM
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 !
07-01-2010 02:32 AM
Is anyone already had this kind of trouble ?
07-15-2010 04:28 AM
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.