Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp apps on wine
Message
From
23/05/2003 12:05:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Vfp apps on wine
Miscellaneous
Thread ID:
00792285
Message ID:
00792285
Views:
62
Well all this talk about wine & linux & a little free time on my hands, I decided to see if I could get something working. I'm just shooting for running a VFP app on wine.

After a couple days installing & reinstalling, I finally get everthing setup properly. I got windows solitare running on wine on linux, wooohooo.

My next step was to try to get one of my simple foxapps to run.

I moved over the program exe and supporting data files.

I tried executing, a window popped up telling me that I was missing the vfp runtime files, I was expecting this, so I just copied the runtime files into my fake windows directory.

I tried executing again and I got a long list of repatitve errors:
"err:heap:heap_getPtr Invalid Heap (nil)!"

I found a message posted on winehq that pointed to FONTS. So I copied in all the fonts from a windows machine that has that vfp app installed. and ran it again via:
"wine --debugmsg +font app.exe"
It ran through a lot more lines successfully, but still errored out with
"err:heap:heap_getPtr Invalid Heap (nil)!"

Here is the last few lines; any ideas?
trace:font:X11DRV_SelectFont dc=0x403b3be8, hfont=0xa6
trace:font:X11DRV_SelectFont dc->gdiFont = 0x403a6be0
trace:font:X11DRV_SelectFont dc=0x403b3a10, hfont=0xa6
trace:font:X11DRV_SelectFont dc->gdiFont = 0x403a6be0
trace:font:X11DRV_SelectFont dc=0x403b3be8, hfont=0xa6
trace:font:X11DRV_SelectFont dc->gdiFont = 0x403a6be0
trace:font:X11DRV_SelectFont dc=0x403b3a10, hfont=0xa6
trace:font:X11DRV_SelectFont dc->gdiFont = 0x403a6be0
trace:font:X11DRV_SelectFont dc=0x403b3be8, hfont=0xa6
trace:font:X11DRV_SelectFont dc->gdiFont = 0x403a6be0
trace:font:X11DRV_SelectFont dc=0x403b3a10, hfont=0xa6
trace:font:X11DRV_SelectFont dc->gdiFont = 0x403a6be0
trace:font:X11DRV_SelectFont dc=0x403b3be8, hfont=0xa6
trace:font:X11DRV_SelectFont dc->gdiFont = 0x403a6be0
err:heap:HEAP_GetPtr Invalid heap (nil)!
err:heap:HEAP_GetPtr Invalid heap (nil)!
err:heap:HEAP_GetPtr Invalid heap (nil)!
err:heap:HEAP_GetPtr Invalid heap (nil)!
err:heap:HEAP_GetPtr Invalid heap (nil)!
err:heap:HEAP_GetPtr Invalid heap (nil)!
I seem to recall something about a legacy foxpro font, perhaps I need that too?

If I start wine in debug ALL mode:
"wine --debugmsg +all app.exe"
it always ends up in an endless loop
and the debugger saying over and over again:
0806d8b8:trace:seh:EXC_CallHandler calling handler at 0x400785d
code=c0000005 flags=10
0806d8b8:trace:seh:EXC_CallHandler handler returned 2
Next
Reply
Map
View

Click here to load this message in the networking platform