|
-
April 3rd, 2009, 09:59 PM
#1
How can i call a function with a CString object.
Hi,
I have a process where the name of a function is in a file text. I Read this file and i whould like to call a function associated with a Execute=[] parameter.
Is it possible ?
-
April 4th, 2009, 01:17 AM
#2
Re: How can i call a function with a CString object.
You can call these functions using GetProcAddress API:
http://msdn.microsoft.com/en-us/libr...44(VS.85).aspx
-
April 4th, 2009, 02:38 PM
#3
Re: How can i call a function with a CString object.
Of course it's possible. You have to maintain a name-to-function map (of any kind you're good with) in your code... well, that's it.
Best regards,
Igor
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
|