Hi, I tried to run MS Visio in wine, and it breaks while loading the first file or template. It says Fehlernr. 1 ist bei der '???'-Operation aufgetreten. Unerwartetes Dateiende. which translates into Fault 1: Unexpected EOF Going throug the debug output, I noticed file accesses for warn:file:FILE_DoOpenFile 'd:\visio\system\filter32\emigs9.flt' not found or sharing violation although the file is emigs2.flt. Providing a link fixes this message, but it doesn't help Visio :-( Then there are a lot of messages along warn:gdi:GDI_GetObjPtr Invalid handle 0 warn:heap:HEAP_ValidateInUseArena Heap 40e30000: invalid in-use arena magic for 40e30f77 warn:gdi:GDI_GetObjPtr Invalid handle 0 warn:gdi:GDI_GetObjPtr Invalid handle 0 warn:heap:HEAP_ValidateInUseArena Heap 40e30000: invalid in-use arena magic for 40e30f77 warn:heap:HEAP_IsRealArena Heap 0x40e30000: block 0x407623a7 is not inside heap warn:heap:HEAP_IsRealArena Heap 0x40e30000: block 0x407623c0 is not inside heap warn:heap:HEAP_ValidateInUseArena Heap 40e30000: invalid in-use arena magic for 40e30f77 warn:gdi:GDI_GetObjPtr Invalid handle 0 warn:gdi:GDI_GetObjPtr Invalid handle 0 warn:heap:HEAP_ValidateInUseArena Heap 40e30000: invalid in-use arena magic for 40e304eb Another strange message is warn:dosfs:DOSFS_FindUnixName '*.flt' not found in '/win/D/Visio/System/Filter32' warn:ole:OLEClipbrd_IDataObject_QueryInterface () : asking for unsupported interface {00021a8c-0000-0000-c000-000000000046} warn:ole:OLEClipbrd_IDataObject_QueryInterface () : asking for unsupported interface {00021a8c-0000-0000-c000-000000000046} warn:heap:HEAP_ValidateInUseArena Heap 40390000: invalid in-use arena magic for 42b18ea4 fixme:ole:CoRegisterMessageFilter stub because there are plenty .flt files in that directory. I don't know what the OLE stuff means. If you click [Cancel] to skip loading a file, Visio complains about not having enough memory, and exits. So am I right to guess that something is seriously wrong with Visio in wine? Any ideas how to proceed? Visio does use MFC42, is that the problem? My setup is: Visio 5.0 Technical (german version Wine release 20011004 Builtin DLLs apart from HLINK.DLL and MFC42.DLL Yours, Thomas
Thomas Steffen <for_replies_only@iname.com> wrote:> Hi,> I tried to run MS Visio in wine, and it breaks while loading the first > file or template. It says> Fehlernr. 1 ist bei der '???'-Operation aufgetreten. > Unerwartetes Dateiende.> which translates into> Fault 1: Unexpected EOF> Going throug the debug output, I noticed file accesses for> warn:file:FILE_DoOpenFile 'd:\visio\system\filter32\emigs9.flt' not found or sharing violation> although the file is emigs2.flt. Providing a link fixes this message, > but it doesn't help Visio :-(> Then there are a lot of messages along> warn:gdi:GDI_GetObjPtr Invalid handle 0hmm.> warn:heap:HEAP_ValidateInUseArena Heap 40e30000: invalid in-use arena magic for 40e30f77completely irrelevant (it's the WARN variant, *not* the ERR variant !).> Another strange message is> warn:dosfs:DOSFS_FindUnixName '*.flt' not found in '/win/D/Visio/System/Filter32'hmm, why does it try to use a mask here ? Maybe some high-level function should parse that differently ?> warn:ole:OLEClipbrd_IDataObject_QueryInterface () : asking for unsupported interface {00021a8c-0000-0000-c000-000000000046} > warn:ole:OLEClipbrd_IDataObject_QueryInterface () : asking for unsupported interface {00021a8c-0000-0000-c000-000000000046}Try using native OLE DLLs.> fixme:ole:CoRegisterMessageFilter stubdito.> If you click [Cancel] to skip loading a file, Visio complains about > not having enough memory, and exits.Yeah, *stupid* error messages again.> So am I right to guess that something is seriously wrong with Visio in > wine? Any ideas how to proceed? Visio does use MFC42, is that the > problem?Try swapping builtin/native DLLs.> Wine release 20011004Upgrade !!! -- Andreas Mohr, Renningen, Germany In case you need to contact me after expiry of temporary email address: my eternal (hopefully) email address is frqr2001 at the domain sneakemail.com
On 20 Nov 2001 09:49:35 +0100, Thomas Steffen <for_replies_only@iname.com> wrote:>I tried to run MS Visio in wine, and it breaks while loading the first >file or template.<snip> You don't say if you installed the thing under Wine. I guess not since most recent installers don't work under Wine currently :-/ If you installed under Windows, you very probably need to make available to the app some registry entries to give it a (slight) chance to work. This can be done by using 'native' registry but it's a solution that may work or not depending on the registry version. A solution that works more reliably is to export the registry in a text file with regedit and import it in Wine with regapi. Gerard
Thomas Steffen <for_replies_only@iname.com> writes: (update to the earlier post:)> I tried to run MS Visio in wine, and it breaks while loading the first > file or template. It says> Fault 1: Unexpected EOF... Ok, Visio works if you specify an argument that is no visio file. In that case the open file dialog box does not appear. You can draw but not save :-( Daniel suggested using a native shell32.dll. But this results in an "unhandled exception at 0000:0000" before the open dialog box is opened. Any idea what is wrong there? I had all the dll from commdlg to comctl32 set to native, did I miss any? The only two messages are: fixme:imm:ImmGetContext (0x00020022): stub fixme:dc:LockWindowUpdate (20021), stub! Plus I have tried both a native windows installation and a "ms free" installation. I even tried the combination and the import of the registry, and it does not help. So, any ideas about shell32.dll? the wine build is from todays cvs. Thomas -- Umweltfreundlich, da aus recycleten Buchstaben.