473,408 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

type_info link errors

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

Jul 18 '06 #1
1 1588
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
Jul 18 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

54
by: sks_cpp | last post by:
What is a type_info function, more particularly, what is a type_info node? Are these related to the vtable by any means? I have seen linker errors such as: "undefined reference to SomeClass...
5
by: skscpp | last post by:
I "think" I understand why a virtual table needs to be constructed when polymorphic classes are being compiled. Now, I also know what a type_info function and type_info node are although I am...
3
by: Bobo | last post by:
Hello all. Can anybody explay WTH std::type_info has a virtual destructor? AFAIK the constructor is private so you cannot inherit from it (who would want, anyway?). TIA. Bobo.
1
by: tham | last post by:
hi, with RTTI turned on... can i keep the reference to the type_info so that i can pass it around? i want to pass something to a function that will pick out a specific type of object from a pool...
4
by: Mike Woinoski | last post by:
(I'm new to VS, so please forgive me if this is a faq.) I'm writing some Java web services and need to test them with C++ clients. I can use either a Windows Form application or an MFC application....
5
by: Bruce | last post by:
I am getting a lot of link errors when compiling in the debug build but not release. I am compiling a CLR managed code class library. I believe the link errors are actually being caused by a...
1
by: Daniel Kraft | last post by:
Hi all, I tried to store a std::type_info value in my code so I didn't have to call typeid more than once when checking if a polymorphic object is of one of certain types, like this: #include...
9
by: Rahul | last post by:
Hi Everyone, I was working with Run Time Type Information and with typeid operator, and so on i tried to create an object of type_info class and i'm not able to do so, because of the class...
2
by: sumsin | last post by:
What is type_info object?
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.