654 Subj : Re: Problem using Borkand 4.5 and importing .lib files from MSCV To : borland.public.cpp.borlandcpp,borland.public.install.bcpp From : Ed Mulroy [TeamB] Date : Thu May 27 2004 08:12 am If you are having trouble with implib then try with impdef. The procedures to do that under versions 4.5* and 5.0* are the same. They also share the same limitation, you cannot import classes from a DLL created with Visual C++. There are several ways to do it. implib -c DllName.LIB DllName.DLL Then add the DllName.LIB to the project impdef DllName.DEF DllName.DLL Then add DllName.DEF to the project impdef DllName.DEF DllName.DLL implib -c DllName.LIB DllName.DEF Then add the DllName.LIB to the project .. Ed > Richard Latter wrote in message > news:40b5985a@newsgroups.borland.com... > > I am having trouble using a particular library with borland > 4.5 on Windows NT. > > The library consists of a .lib and a .dll and is written and > compiled using Microsoft Visual C. > > To import this into Borland. I understand that you ned to > run an implib on the .dll file and then import the resultant > .lib file into your program. I know this certainly works for > Borland 5. > > However, there is a need and a requirement to use Borland > 4.5 and when I go to convert these files using the implib > call dumps out of the file with the > error of an access violation. > > Can anyone out there give me a clue as to why this is not > working? > > Can anyone step me through the procedure on how I > can successfully import my library with 4.5. . 0