Unhandled exception in VB app "Yardi Property Management"

Dan Kegel dank at kegel.com
Sat Jan 25 02:06:10 CST 2003


A local company wants to run Yardi Professional Property Management,
a VB app that doesn't use Access, under Wine.  (See http://www.yardi.com.)

I tried it under CVS wine as of a few days ago.
Happily, the setup program completes, with just a few warnings
and one 'illegal function call' vb dialog box, e.g.
err:ddeml:WDML_CreateString Unknown code page 437
err:module:BUILTIN32_LoadLibraryExA loaded .so but dll commdlg.dll still not found - 16-bit dll or version conflict.
...
Not bad, I guess; after all, setup did run all the way to the end.

Problem came when I tried running the app.  It gets an unhandled
exception -- and oddly, the wine debugger refused to run.

[dank at boogie PMWPROG]$ wine --debugmsg +wc_font Y.EXE
err:fixup:NE_LoadSegment No implementation for HEDLG.26, setting to 0xdeadbeef
err:fixup:NE_LoadSegment No implementation for HEDLG.27, setting to 0xdeadbeef
fixme:hook:SetWindowsHookEx16 System-global hooks (7) broken in Win16
fixme:hook:SetWindowsHookEx16 System-global hooks (2) broken in Win16
wine: Unhandled exception, starting debugger...
trace:wc_font:WCUSER_SetFontPmt => L"Misc Fixed" h=13 w=0
trace:wc_font:WCUSER_DumpLogFont InitFamily:  truetype
         lf.lfHeight=99 lf.lfWidth=97 lf.lfEscapement=0 lf.lfOrientation=0
         lf.lfWeight=400 lf.lfItalic=0 lf.lfUnderline=0 lf.lfStrikeOut=0
         lf.lfCharSet=0 lf.lfOutPrecision=3 lf.lfClipPrecision=2 lf.lfQuality=1
         lf->lfPitchAndFamily=18 lf.lfFaceName=L"AdvMICR"
err:wineconsole:WINECON_Fatal Couldn't find a decent font, aborting

Editing ~/.wine/config and changing UseXTerm to 0 helped there.
(And what the hell, I can never get wine debugger copy-and-paste to work
properly with that at its default value, so it's just as well.)
The error was:
Unhandled exception: privileged instruction in 16-bit code (25f7:0ca4).
Backtrace:
=>0 0x25f7:0x0ca4 (bp=6cd4)
   1 0x00f7:0x0000 (bp=6d1c, far call assumed)
   2 0x407cf7dd (K32WOWCallback16Ex+0x45(vpfn16=0x25f70c78, dwFlags=0x0, cbArgs=0x18, pArgs=0x40e12b90, pdwRetCode=0x40e12b88) [wowthunk.c:298] in kernel32.dll.so) (ebp=40e12b68)
   3 0x412d8005 (StgIsStorageILockBytes16+0x75(plkbyt=0x26ff0042) [storage.c:1716] in ole32.dll.so) (ebp=40e12bbc)
   4 0x412b516f (__wine_storage_dll_CallFrom16_p_long_l+0xb(proc=0x412d7f90, args=0x40fdbf5a) [storage.spec.c:169] in ole32.dll.so) (ebp=40e12bc8)
   5 0x400c9cd5 (__wine_call_from_16_long+0x8d [relay16.s] in libntdll.dll.so) (ebp=40e12c00)
   6 0x25df:0x198f (bp=6d56)
   7 0x40086142 (NE_StartTask+0x1e6 [module.c:1234] in libntdll.dll.so) (ebp=40e12f04)
   8 0x40081625 (task_start+0x41(pTask=0x40259728) [task.c:444] in libntdll.dll.so) (ebp=40e12f18)
   9 0x400b2e54 (THREAD_Start+0x60 [thread.c:269] in libntdll.dll.so) (ebp=40e12f30)
   10 0x400b227c (SYSDEPS_StartThread+0x8c(teb=0x40e23000) [sysdeps.c:165] in libntdll.dll.so) (ebp=40e12ff4)
   11 0x420da1ca (NTDLL.DLL.memcpy+0x5dd7a) (ebp=00000000)

Any suggestions?  I'm kind of jazzed it gets this far...

Thanks,
Dan

-- 
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045




More information about the wine-devel mailing list