type_info link errors

  • Thread starter Thread starter jahhaj
  • Start date Start date
J

jahhaj

Lots of people seem to have problems with these, here's my particular
variation.

I'm using a third partly library which I believe was compiled with VC
7.1. I'm using the free version of VC 8 and the Platform SDK for
Windows Server 2003 R2.

When I link my code with the third party library I get the following
link error

xxx.lib(xxx.obj) : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: char const * __thiscall
type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)

where xxx.lib is the third party library.

Both my code and the third party code were compiled with /MD option.

Is there any simple solution to this? Some sort of hack perhaps? Or am
I going to have to get hold of VC++ 7.1?

Thanks in advance,
John
 
Hi John,

I presume that they have not enabled the runtime type information
setting, you might try to enable it.
Either it will work, or you will have to ask for a version compiled with
this setting enabled.

Regards,
Vinzenz
 
Back
Top