Unicode/WinCE corrections

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-12-05 13:36:44 +00:00
parent e0f6b731a8
commit 885b88a257
2 changed files with 24 additions and 3 deletions

View File

@@ -843,15 +843,32 @@ static void InitToolHelp32()
lpfCreateToolhelp32Snapshot=
(HANDLE(WINAPI *)(DWORD,DWORD))
GetProcAddress( hInstLib,
"CreateToolhelp32Snapshot" ) ;
#ifdef __WXWINCE__
wxT("CreateToolhelp32Snapshot")
#else
"CreateToolhelp32Snapshot"
#endif
) ;
lpfProcess32First=
(BOOL(WINAPI *)(HANDLE,LPPROCESSENTRY32))
GetProcAddress( hInstLib, "Process32First" ) ;
GetProcAddress( hInstLib,
#ifdef __WXWINCE__
wxT("Process32First")
#else
"Process32First"
#endif
) ;
lpfProcess32Next=
(BOOL(WINAPI *)(HANDLE,LPPROCESSENTRY32))
GetProcAddress( hInstLib, "Process32Next" ) ;
GetProcAddress( hInstLib,
#ifdef __WXWINCE__
wxT("Process32Next")
#else
"Process32Next"
#endif
) ;
FreeLibrary( hInstLib ) ;
}