[fpc-pascal] implicitly linking FPC-generated .dll from Visual Studio
henry.vermaak at gmail.com
Wed Mar 24 10:24:58 CET 2010
On 23 March 2010 18:39, Seth Grover <sethdgrover at 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
I've had to create import libs for mingw once, and used dlltool. I've
found this information useful:
Also, if you're linking your library with ld, you can pass
--out-implib to create it automatically.
More information about the fpc-pascal