Skip to content

Small utility to invoke managed DLL function via rundll32

License

Notifications You must be signed in to change notification settings

wmatw/run-managed-code

 
 

Repository files navigation

run-managed-dll

Small utility to invoke managed DLL function via rundll32

With this utility you can run any managed dll functions without the need of altering the managed code. The synatx is:

64bit rundll32.exe managed64.dll,Run [Managed Dll Path],[Managed Function] 32bit rundll32.exe managed32.dll,Run [Managed Dll Path],[Managed Function]

After building the solution for both platform (x86 and x64), you can test the basic functionality with:

for a 64 bit computer:

cd rundll32 managed64.dll,Run LoadMe.dll,HelloWorld1 rundll32 managed64.dll,Run LoadMe.dll,HelloWorld2 %windir%\SysWOW64\rundll32 managed32.dll,Run LoadMe.dll,HelloWorld1 %windir%\SysWOW64\rundll32 managed32.dll,Run LoadMe.dll,HelloWorld2

for a 32 bit computer:

cd rundll32 managed32.dll,Run LoadMe.dll,HelloWorld1 rundll32 managed32.dll,Run LoadMe.dll,HelloWorld2

About

Small utility to invoke managed DLL function via rundll32

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 51.1%
  • C# 48.9%