Subj : Re: Imoprt library To : borland.public.cpp.borlandcpp From : Greg Chicares Date : Wed Aug 25 2004 03:49 pm Sunny wrote: > 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? If you get past the immediate problem, then it probably still won't work: http://www.mingw.org/MinGWiki/index.php/MixingCompilers .