Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C++ (http://www.programmingforums.org/forum15.html)
-   -   WinAPI GetProcAddress? (http://www.programmingforums.org/showthread.php?t=12902)

iradic Mar 29th, 2007 4:02 AM

WinAPI GetProcAddress?
 
Hi,

If an WinAPI function is implemented as Unicode and ANSI version can I use normal name in the GetProcAddress call?

example:
:

GetProcAddress (handle, TEXT("CreateHardLink"));

or

#ifdef UNICODE
/* use "CreateHardLinkW" */
#else
/* use "CreateHardLinkA" */
#endif


bye


All times are GMT -5. The time now is 2:04 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC