Subj : Re: Advanced: using DLL built with D5 in C++Builder4 To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Wed Jul 30 2003 09:04 am Peter Feenstra wrote: > >But if we do this: >void __fastcall TForm1::FormCreate(TObject *Sender) >{ > LoadLibrary("V43lib.lib"); > Paco = InitNavigation(this); >} >At the start of the application we first get a message that 'V43Lib.lib' is >not a valid windows image and if we click ok the whole thing runs smoothly >without problems. The first message is correct of course because >'V43Lib.lib' is not a dll but the result of Implib. > >The question is how to get rid of this message. Ummm.... replace "V43lib.lib" with "V43lib.dll" in the LoadLibrary? .