Subj : Bad object file in record (Newbie to Borland) To : borland.public.cpp.borlandcpp From : Richard Date : Fri Jul 09 2004 05:26 am Hello All, I am a new user to borland and am currently using Borland C++ version 5. I have a requirement to import a dynamic link library built using VC6++. As I understand it, I use the implib for the .dll to convert the file. Eg. c:\bc5\bin\implib 'target.lib' 'source.dll' This works fine and I am able to run my program in WIN32, Console mode. However, I have a requirement to use this under DOS mode. When I try to compile and link the file again using DOS mode, I get the error message. 'Bad object file record in library file. module DllMain near module file offset 0x0000002B' Questions... 1. Can anyone explain the difference between DOS and Win32 support? 2. Presumably it's OK to call DLL's from DOS applications. Am I right in assuming this. 3. Can anyone help me to try and resolve this issue. Many thanks in advance, Richard .