Linking against a Win32-DLL

BLS nanali at nospam-wanadoo.fr
Mon Jul 9 11:39:36 PDT 2007


Jascha Wetzel schrieb:
  > putting it all together:
> - use implib without the /s switch (no leading underscores)
> implib wintab32.lib \WINDOWS\system32\Wintab32.dll
> 
> - declare all imports as extern(Pascal)
> extern(Pascal) UINT WTInfoA(UINT, UINT, LPVOID);
> 
> - pass /IGNORECASE to optlink to compensate for case sensitivity in 
> wintab32.dll
> dmd wintab32.lib wintabtest.d -L/IGNORECASE
> 
> 
> i used Ddbg to hunt this down in a very short amount of time, btw ;)

Hallo Jascha,
I wonder how to setup Ddbg to figure out this information. Not nessesary 
to say that a step by step (4 dummies) guideline is more than welcome !
MANY Thanks in advance.
Bjoern



More information about the Digitalmars-d mailing list