![]() |
StylerBrowser doesn't build for Unicode |
Post Reply ![]() |
Author | |
ABuenger ![]() Newbie ![]() ![]() Joined: 02 February 2006 Status: Offline Points: 1075 |
![]() ![]() ![]() ![]() ![]() Posted: 02 August 2006 at 10:30am |
VS6 SP6:
Samples\Utilities\StylerBrowser\HistoryTree.cpp(547) : error C2664: 'GetUrlCacheEntryInfoExW' : cannot convert parameter 1 from 'unsigned short *' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast |
|
Codejock support
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Seems it is bug of SDK for VC6:
in vc7, 7.1, 8.0
it declared as
BOOLAPI GetUrlCacheEntryInfoExW(
IN LPCWSTR lpszUrl, OUT LPINTERNET_CACHE_ENTRY_INFOW lpCacheEntryInfo, IN OUT LPDWORD lpdwCacheEntryInfoBufSize, OUT LPWSTR lpszReserved, // must pass null IN OUT LPDWORD lpdwReserved, // must pass null LPVOID lpReserved, // must pass null DWORD dwFlags // reserved ); in 6.0 as
BOOLAPI
GetUrlCacheEntryInfoExW( IN LPCSTR lpszUrl, OUT LPINTERNET_CACHE_ENTRY_INFOW lpCacheEntryInfo, IN OUT LPDWORD lpdwCacheEntryInfoBufSize, OUT LPSTR lpszReserved, // must pass null IN OUT LPDWORD lpdwReserved, // must pass null LPVOID lpReserved, // must pass null DWORD dwFlags // reserved ); so you can patch wininet.h in include folder of vc6.0
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |