avarma
asked on
passing arguments to a function called using Rundll32
I am calling a function in a DLL from another DLL using
rundll32 myDLLName,myFunction. However, myFunction accepts
two arguments (eg; myFunction(char *szMsg, DWORD dNum)) - how do I pass those arguments using the above rundll32 statement?
Thanks
Anuj Varma
rundll32 myDLLName,myFunction. However, myFunction accepts
two arguments (eg; myFunction(char *szMsg, DWORD dNum)) - how do I pass those arguments using the above rundll32 statement?
Thanks
Anuj Varma
Can't you just do a LoadLibrary(), GetProcAddress() and then call the function directly. This is supposed to be faster and cleaner.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.