Re: Calling a DLL
Thanks a lot!
Re: Calling a DLL
You'll need a couple of things: Link with the user32.dll import library, which is located in DMD\dmd2\windows\lib\user32.lib. Either pass it to DMD during compilation or more simply just can add a pragma(lib) in your source file like so: pragma(lib, "user32.lib"); And you need the function protot