Re: [GD-General] Sharing DSP between static lib / DLL
Brought to you by:
vexxed72
From: Pierre T. <p.t...@wa...> - 2003-01-14 08:04:13
|
> This is what I sometimes do: > - Create the .lib in one project. > - Create an empty dll project, that includes the library and defines some > exports. > > However, I don't know if that would be possible if you are not using a .def > file. The cygwin tools and mingw also, come with a handy tool (dllwrap) that > automatically creates complex .def files for a project (parsing the declspec > commands), maybe you could use it as a custom build step. If you are > interested in this approach I could elaborate more. I just tried with a single function and it seems to work without def files. So I think I'll do that..... :) Thanks, Pierre |