On 23 March 2010 18:39, Seth Grover <sethdgro...@gmail.com> wrote:
> First, let me declare my ignorance of MS development and Visual Studio
> in general.

You say it like it's a bad thing ;)

> I've got a FPC-generated .dll file I want to implicitly link with in a
> Visual Studio (Visual C++) project. If I understand what I'm reading,
> I have to have a "import library" .lib file which corresponds to my
> .dll. I don't see an obvious way to create this file using FPC
> directly.

I've had to create import libs for mingw once, and used dlltool.  I've
found this information useful:

http://www.mingw.org/wiki/CreateImportLibraries

Also, if you're linking your library with ld, you can pass
--out-implib to create it automatically.

Henry
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to