Subj : Re: Imoprt library To : borland.public.cpp.borlandcpp From : Ed Mulroy [TeamB] Date : Wed Aug 25 2004 07:13 pm To start with the compiler's exception handling code already has a module whose base name is xxx. Secondly if the DLL you are trying to use was created by another compiler and exports C++ classes as MFC does then you cannot use it. C++ item naming, class memory layout and construction were by design arranged by Microsoft to be incompatible with other compilers. Borland C++ 5.02 with Application Frameworks came with MFC. Use it to create any DLL that exports classes or C++ items which you will use. .. Ed > Sunny wrote in message > news:412cc40d$1@newsgroups.borland.com... > > I produced a xxx.dll file with its xxx.lib on BC5.02. I want to call > some > function in the xxx.dll from an application > made on MFC 6.0. the problem is when xxx.lib was added the > application > project of MFC 6.0, I have got link error; xxx.lib: fatal error > LNK1136: > invalid or corrupt file. > I guess this is a format of xxx.lib problem. Could you semeone help > me? .