Since the latest Wine Release I have had the following error in Wine when opening a file.
fixme:seh:EXC_RtlRaiseException call to unimplemented function wininet.dll.GetUrlCacheEntryInfoW
This error causes Word to crash. If you never open the file dialog everything seems to work fine. I think a stub for this function would be good enough to get going, but I'm unsure how to add it.
My setup: RedHat 8.0 wine release 20030219 and CVS (updated on 3/9 and still crashed) Wine no-windows setup. Apps I have installed and working Notes, WordPro (but these to can't run at the same time problem in windows/class.c) Word, Excel, Visio RoadRash QuickTime Acrobat Reader
Kevin
"Kevin" == Kevin DeKorte kdekorte@yahoo.com writes:
Kevin> Since the latest Wine Release I have had the following error in Kevin> Wine when opening a file.
Kevin> fixme:seh:EXC_RtlRaiseException call to unimplemented function Kevin> wininet.dll.GetUrlCacheEntryInfoW
Kevin> This error causes Word to crash. If you never open the file Kevin> dialog everything seems to work fine. I think a stub for this Kevin> function would be good enough to get going, but I'm unsure how to Kevin> add it.
Kevin> My setup: RedHat 8.0 wine release 20030219 and CVS (updated on Kevin> 3/9 and still crashed) Wine no-windows setup. Apps I have Kevin> installed and working Notes, WordPro (but these to can't run at Kevin> the same time problem in windows/class.c) Word, Excel, Visio Kevin> RoadRash QuickTime Acrobat Reader
Look at how the GetUrlCacheEntryInfoA stub is implemented in ../wine/dlls/wininet/urlcache.c and ../wine/dlls/wininet/wininet.spec.
Recompile and you should proceed. Then submit the patch.
Bye
Uwe,
Here is one patch... But now there is a problem with
fixme:seh:EXC_RtlRaiseException call to unimplemented function wininet.dll.GetUrlCacheConfigInfoA
So I could add the info to the spec file, but I am not sure what the arguments GetUrlCacheConfigInfoA should be.
Kevin
Index: dlls/wininet/urlcache.c =================================================================== RCS file: /home/wine/wine/dlls/wininet/urlcache.c,v retrieving revision 1.6 diff -u -r1.6 urlcache.c --- dlls/wininet/urlcache.c 5 Dec 2002 19:54:40 -0000 1.6 +++ dlls/wininet/urlcache.c 9 Mar 2003 17:32:54 -0000 @@ -115,6 +115,19 @@ }
/*********************************************************************** + * GetUrlCacheEntryInfoW (WININET.@) + * + */ +BOOL WINAPI GetUrlCacheEntryInfoW(LPCWSTR lpszUrl, + LPINTERNET_CACHE_ENTRY_INFOW lpCacheEntry, + LPDWORD lpCacheEntrySize) +{ + FIXME("(%s) stub\n",lpszUrl); + SetLastError(ERROR_FILE_NOT_FOUND); + return FALSE; +} + +/*********************************************************************** * GetUrlCacheEntryInfoExA (WININET.@) * */ Index: dlls/wininet/wininet.spec =================================================================== RCS file: /home/wine/wine/dlls/wininet/wininet.spec,v retrieving revision 1.31 diff -u -r1.31 wininet.spec --- dlls/wininet/wininet.spec 28 Jan 2003 00:17:15 -0000 1.31 +++ dlls/wininet/wininet.spec 9 Mar 2003 17:32:54 -0000 @@ -53,9 +53,9 @@ @ stub GetUrlCacheConfigInfoA @ stub GetUrlCacheConfigInfoW @ stdcall GetUrlCacheEntryInfoA(str ptr long) GetUrlCacheEntryInfoA +@ stdcall GetUrlCacheEntryInfoW(str ptr long) GetUrlCacheEntryInfoW @ stdcall GetUrlCacheEntryInfoExA(str ptr ptr str ptr ptr long) GetUrlCacheEntryInfoExA @ stdcall GetUrlCacheEntryInfoExW(wstr ptr ptr wstr ptr ptr long) GetUrlCacheEntryInfoExW -@ stub GetUrlCacheEntryInfoW @ stub GetUrlCacheHeaderData @ stub GopherCreateLocatorA @ stub GopherCreateLocatorW
--- Kevin DeKorte kdekorte@yahoo.com a écrit : > Uwe,
Here is one patch... But now there is a problem with
fixme:seh:EXC_RtlRaiseException call to unimplemented function wininet.dll.GetUrlCacheConfigInfoA
Googling says :
GetUrlCacheConfigInfo
Retrieves the current cache configuration information.
BOOL GetUrlCacheConfigInfo ( LPCACHE_ CONFIG_INFO lpCacheConfigInfo //Points to the CACHE_CONFIG_INFO structure LPDWORD lpdwCacheConfigInfoBufferSize //Points to the size of the buffer for the above DWORD dwFieldControl //Bitmask determining fields to be retrieved );
Parameters
lpCacheConfigInfo
[in] The buffer in which the cache info is to be returned.
lpdwCacheInfoBufferSize
[in] Pointer to a DWORD location that carries the size of the above buffer. On return this location contains the size of the data (in bytes) returned.
dwFieldControl
[in] Bitmask that controls the fields to be returned in the above buffer. See the Remarks for values
Return Values
S_OK
Success.
E_INVALIDARG
One or more arguments are invalid.
===== Sylvain Petreolle spetreolle@users.sourceforge.net Fight Spam ! EuroCauce: http://www.euro.cauce.org/en/index.html ICQ #170597259
"Don't think you are. Know you are." Morpheus, in "Matrix".
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com