|
-
December 18th, 2003, 03:37 AM
#1
How to use Function After Calling GetProcAddress()
Hi everyone.
I don't know to use Function(...) after calling GetProcAddress(hmodule, Function(...))
My code :
DllImport("Kernel32.dll")]
public static extern System.IntPtr LoadLibrary(string NameDLL);
DllImport("Kernel32.dll")]
public static extern System.IntPtr GetProcAddress( IntPtr hModule, string FunctionName);
.......
IntPtr temp = LoadLibrary("MyDLL.DLL");
"?" = GetProcAddress( temp, "FunctionName");
....
How to use "FunctionName" ?
please tell me.
thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|