Click here to Skip to main content
15,894,180 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a C++ project that contains a importTDApplication.h file which tries to import a TLB (we'll call it td_appl.tlb). When I go to compile the project I get an error on the line
Posted
Comments
Richard MacCutchan 7-Mar-14 6:22am    
The message is telling you what is wrong, you just need to go through the header to identify which library is missing.
phil.o 7-Mar-14 6:25am    
You should post it as a solution, that would make this post out of unanswered ones :)
Richard MacCutchan 7-Mar-14 6:34am    
Vedat beat me to it.

1 solution

have you tried absolute path to that library? It is obvious that the linker is unable to find it in its library search paths. try to import it like this:
#import "<absolutepath>\td_appl.tlb" no_namespace


also read this article. I am sure it will give you a better idea.
Importing Type Libraries[^]
 
Share this answer
 
v2
Comments
chandanadhikari 7-Mar-14 6:48am    
if using visual studio then you can mention the absolute path in the project properties page
venkatvankam 7-Mar-14 7:51am    
I tried but still same error is coming
Richard MacCutchan 7-Mar-14 9:20am    
Have you actually checked that the file exists and what location it is at> What is the path given in the header file that you are including? You need to check very thoroiughly that all references are correct.
venkatvankam 7-Mar-14 7:44am    
I tried but still same error is coming

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900