Hi, I'm still struggling with my vfp app in wine. This time I removed all traces of my old deb 0.9.1 installation and did a compile from cvs. Using wine tools I got my base setup and M$ extras installed, and then installed my runtime app again using its own (wise) installer. The problem persists that it doesn't find its own dependencies if I fire it up from anything other than its top level directory. A previous post here about another users problems suggested that the app must be installed using the wine installer, but I can't find any place to install applications that are not "tested" from within wine tools. Can someone say how I get an application to find its own parts if it is fired up using: Wine "C:\[pathto]application.exe"f from some other place in the system. Cheers Marius -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.winehq.org/pipermail/wine-users/attachments/20051127/88f0eca1/attachment.htm
Marius Schrecker wrote:> Hi, > > I'm still struggling with my vfp app in wine. This time I removed all > traces of my old deb 0.9.1 installation and did a compile from cvs. > > Using wine tools I got my base setup and M$ extras installed, and then > installed my runtime app again using its own (wise) installer. The > problem persists that it doesn't find its own dependencies if I fire it > up from anything other than its top level directory. A previous post > here about another users problems suggested that the app must be > installed using the wine installer, but I can't find any place to > install applications that are not ?tested? from within wine tools. > > Can someone say how I get an application to find its own parts if it is > fired up using: > Wine ?C:\[pathto]application.exe?f from some other place in the system.Hmm... well I just tested a VFP 7 app with a CVS version of Wine from about Nov 6. It seems to work okay for me. Of course, that doesn't help you. Does it not find any of the DLLs? What do you get from WINEDEBUG=loaddll;wine C:\[pathto]application.exe
Hi Marius, if you have the source for this app you can add the following line to the main program, somewhere near the beginning: cd justpath(sys(16,1)) This way the app always cd's to the directory where the .exe is. At least this works from Windows. Best regards, Markus