Running DLL with RunDll32

Pete84 eagle84 at gmx.net
Thu Nov 29 15:38:37 PST 2007


Hello,

I would like to create a dll which I can run with a "RunDll32" command.
I have tried to run the example on http://www.digitalmars.com/d/dll.html, but
it throws a memory access exception.
My command shows as follows: # rundll32 test.dll,DllMain

I need this, because I want to create a Dll for using custom actions in WIX
(Windows Installer XML). So I already need bindings for <msi.h> and
<msiquery.h>. An example with C++ can be found here:
http://www.tramontana.co.hu/wix/lesson3.php#3.3

I hope anyone can help me. Thanks.



More information about the Digitalmars-d mailing list