Browse » Home
Thursday, May 23, 2013
How to Run a Dll As an App Rundll32.Exe
1. Click 'Start' if using a version of Windows prior to Vista. Click 'Run' and type 'cmd' in the 'Open' box then press 'Enter.' Click the Windows orb if using a version of Windows from Vista forward. Type 'cmd' in the search box and press 'Shift,' 'Ctrl' and 'Enter' at the same time to open an elevated command prompt.
2. Input the command 'RUNDLL.EXE <dll_name>,<entry_point> <optional_arguments>' where '<dll_name>' is the name of the DLL file with a function that can be run by the Rundll32 executable, '<entry_point>' is the function in the DLL that Rundll32.exe can access and '<optional_arguments>' are any additional parameters required by the function inside the DLL. Press 'Enter.'
3. Ensure that no error messages are returned and that any functions you wanted to call successfully execute. Type 'exit' at the command prompt to close the window once you are finished running DLL files.