Possible Duplicate:
How to use Rundll32 to execute DLL Function?
Where can I find documentation (tutorials, books, etc.) to write my own dll's that can be run with rundll32.exe?
Possible Duplicate:
How to use Rundll32 to execute DLL Function?
Where can I find documentation (tutorials, books, etc.) to write my own dll's that can be run with rundll32.exe?
Copyright © 2021 Jogjafile Inc.
Here is the most basic Hello World sample I could come up with that will work with
rundll.exe
. Please follow along these steps:Start a fresh WIN32 DLL project in Visual Studio (I used VS2010)
In dlllmain.cpp add:
Add a
module.def
file to your project and edit the following snippet in it:Compile and then test from the commandline with
You should be greeted with a MessageBox with three buttons
I used the following url's to overcome C++ issues and EntryPoint not found in the early stages of my effort: