Linker Error using ITDBInfo in Borland C++ Builder
Posted in 2004
Topics: General Discussion
Hi, I'm trying to instantiate an ITDBInfo class in a c++ program compiling and building with Borland C++ Builder 6. The class I want to use is defined in the DLL ic++t02a.dll. I've tried using IMPLIB to convert the .dll to a .lib then added the resulting .lib to my Project and added the path to it into the compiler options. Still, my application does not link. I've used Dependency Walker to check that the ITDBInfo constructor is defined in ic++t02a.dll. Am I using the wrong .dll file? The .lib files distributed uses the COFF format and when I try to use COFF2OMF to convert them to OMF, the result OMF file is only 25% the size of the original COFF .lib file. Is this the expected behaviour? Trying to use the distributed .lib file yields a Linker Error saying "ICLIT09B.LIB" contains invalid OMF record, type 0x21 (possibly COFF). How do I link in a constructor for ITDBInfo into a Borland C++ Builder 6 c++ file? Best Regards, Adam S at Video Networks