Wine version used : 20050725 on debian 3.1 system. I try to use a windows application call cmc.exe (internal use) wrote with Visual Basic. The installation of this application with a windows setup file has done without problem. On the [Software\\Wine\\AppDefaults\\cmc.exe\\DllOverrides] section of the user.reg file created by the winecfg command, I have indicated "native" for all the dll and ocx files installed in the ~/.wine/drive_c/windows/system directory by the installation. Example : "Comdlg32.ocx" = "native" "Oleaut32.DLL" = "native" When I run this application with WINEDEBUG=+loaddll, I can see that these 2 dll are always indicated buitin and I suppose that my files ar not used : trace:loaddll:load_builtin_dll Loaded module L"c:\\windows\\system\\oleaut32.dll" : builtin trace:loaddll:load_builtin_dll Loaded module L"c:\\windows\\system\\comdlg32.dll" : builtin I can't use this application. Does anyone has a explanation Thank you, Jacques _________________________________________________________________ 2 Go de stockage avec MSN Hotmail Plus ! http://join2.msn.com/?pgmarket=fr-fr&page=hotmail/es2&DI=81&XAPID=3940&SU=&HL=hpleftslot
Hi Jacques,> Example : > "Comdlg32.ocx" = "native" > "Oleaut32.DLL" = "native" > When I run this application with WINEDEBUG=+loaddll, I can see that > these 2 dll are always indicated buitin and I suppose that my files > ar not used :I believe the problem is that you should specify the dll overrides without the file extension, as follows: "Comdlg32" = "native" "Oleaut32" = "native" Hope this helps, --Juan __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
Rein, thank you. It's correct without extention for the dll files but necessary in my case for ocx files. The problem now is that the STDOLE2.TLB could not be loeded with or without extention. Note : On a Windows Xp system this file is loaded during the application use. If you have an idea ? Jacques>From: Rein Klazes <wijn@wanadoo.nl> >To: "Jacques Valot" <jacquesvalot@hotmail.com> >CC: wine-users@winehq.org >Subject: Re: Problem with DllOverrides (Wine 20050725) >Date: Wed, 28 Sep 2005 13:18:04 +0200 > >On Tue, 27 Sep 2005 12:39:23 +0000, in gmane.comp.emulators.wine.user >you wrote: > > > >On the [Software\\Wine\\AppDefaults\\cmc.exe\\DllOverrides] section of >the > >user.reg file created by the winecfg command, I have indicated "native" >for > >all the dll and ocx files installed in the ~/.wine/drive_c/windows/system > >directory by the installation. > >Loading all dll's natively is not recommended, but that aside. You can >also get something to that effect with "*" = "native,builtin" > > > > >Example : > >"Comdlg32.ocx" = "native" > >Wine does not supply a builtin comdlg32.ocx, this should be unnecessary. > > >"Oleaut32.DLL" = "native" > >Try without the extension: >"oleaut32" = "native" >etc. > >Rein._________________________________________________________________ MSN Hotmail : antivirus et antispam gratuits ! http://www.imagine-msn.com/hotmail/default.aspx?locale=fr-FR
On Tue, 27 Sep 2005 12:39:23 +0000, in gmane.comp.emulators.wine.user you wrote:>On the [Software\\Wine\\AppDefaults\\cmc.exe\\DllOverrides] section of the >user.reg file created by the winecfg command, I have indicated "native" for >all the dll and ocx files installed in the ~/.wine/drive_c/windows/system >directory by the installation.Loading all dll's natively is not recommended, but that aside. You can also get something to that effect with "*" = "native,builtin"> >Example : >"Comdlg32.ocx" = "native"Wine does not supply a builtin comdlg32.ocx, this should be unnecessary.>"Oleaut32.DLL" = "native"Try without the extension: "oleaut32" = "native" etc. Rein.
Rein,>From: Rein Klazes <wijn@wanadoo.nl> >To: "Jacques Valot" <jacquesvalot@hotmail.com> >CC: wine-users@winehq.org >Subject: Re: Problem with DllOverrides (Wine 20050725) >Date: Wed, 28 Sep 2005 19:54:24 +0200 > >On Wed, 28 Sep 2005 11:53:24 +0000, in gmane.comp.emulators.wine.user >you wrote: > > >The problem now is that the STDOLE2.TLB could not be loeded with or >without > >extention. > >Error messages? Tried with both builtin and native ole lib's? >It's the same thing.>With builtin lib's you can get more information by running wine like: > >WINEDEBUG=+ole,+file,+dosfs wine ... >Il suppose that the STDOLE.TDB file is found. I can see the messages below with your debug flags : trace:file:CreateFileW L"c:\\windows\\system\\stdole2.tlb" GENERIC_READ FILE_SHARE_READ creation 3 attributes 0x10000000 trace:file:RtlDosPathNameToNtPathName_U (L"c:\\windows\\system\\stdole2.tlb",0x406ee6fc,(nil),(nil)) trace:file:RtlGetFullPathName_U (L"c:\\windows\\system\\stdole2.tlb" 520 0x406ee480 (nil)) warn:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\system\\stdole2.tlb" -> "/home/valot/.wine/dosdevices/c:/windows/system/STDOLE2.TLB" required a case-insensitive search trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\system\\stdole2.tlb" -> "/home/valot/.wine/dosdevices/c:/windows/system/STDOLE2.TLB" trace:file:CreateFileW returning 0xfc I suppopse, my problem is not this file. This VB program is a 'relooking' of a telnet connection to remote application. The problem is that I obtain several error 9 'subscript out of range' due I think that the remote application send arrays not comprehensibles by the program lauch by wine. No error and problem in Windows XP system. Jacques>Rein._________________________________________________________________ MSN Hotmail : antivirus et antispam gratuits ! http://www.imagine-msn.com/hotmail/default.aspx?locale=fr-FR