Re: Calling a DLL

2011-04-26 Thread n00b
Thanks a lot!

Re: Calling a DLL

2011-04-25 Thread Andrej Mitrovic
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