lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Mon, Mar 22, 2010 at 12:12 AM, Vincent Torri <> wrote:

On Sun, Mar 21, 2010 at 11:40 PM, Wolfgang Pupp <> wrote:
2010/3/21 Vincent Torri <>:
> [...]
> It would be better to have the import and static library if one wants to use
> the DLL in a lib or program. [...]

Just curious- what would you need the import-lib for?

I'm using mingw myself, and I always link directly with the dll- are
there any disadvantages I'm not aware of?

See , section "direct linking to a dll". It gives pro and cons of linking against a DLL and against an import lib

I see another reason : delayed loading of a DLL

Vincent Torri
another : with linking against a dll, you have to be sure that the dll is in the PATH, and you have to redistribute the dll too with your app / lib

So it depends on your goals.

Vincent Torri