Projekat

Općenito

Profil

Akcije

Nove funkcije #12437

Zatvoren

desk-hernad, wine visual fox pro 8

Dodano od Ernad Husremović prije oko 20 godina. Izmjenjeno prije skoro 16 godina.

Status:
Odbačeno
Prioritet:
Normalan
Odgovorna osoba:
Kategorija:
-
Početak:
Završetak:
% završeno:

0%

Procjena vremena:

Opis

desk-hernad, wine visual fox pro 8

ref. trac ticket: http://trac.sigma-com.net/dev-ScInfrastructure/ticket/49

Akcije #1

Izmjenjeno od Ernad Husremović prije oko 20 godina

radi li vfp pod wine-om ?

Akcije #2

Izmjenjeno od Ernad Husremović prije oko 20 godina

prebacio direktorij:

~/.wine/drive_c/Program Files/Microsoft Visual FoxPro 8$

ali

err:module:import_dll Library MSVCR70.dll (which is needed by L"C:\\Program Files\\Microsoft Visual FoxPro 8\\vfp8.exe") not found

Akcije #3

Izmjenjeno od Ernad Husremović prije oko 20 godina

trebamo oleacc.dll

err:ole:TLB_ReadTypeLib Loading of typelib L"oleacc.dll" failed with error 1812
fixme:ole:ITypeInfo_fnRelease destroy child objects
Akcije #4

Izmjenjeno od Ernad Husremović prije oko 20 godina

ovaj mi font traži

hernad@desk-hernad:~/.wine/drive_c/Program Files/Microsoft Visual FoxPro 8$ cp foxfont.fon ~/.wine/drive_c/windows/fonts

Akcije #5

Izmjenjeno od Ernad Husremović prije oko 20 godina

hernad@desk-hernad:~/.wine/drive_c/Program Files/Microsoft Visual FoxPro 8$ regsvr32 oleacc.dll
fixme:oleacc:DllRegisterServer
Successfully registered DLL oleacc.dll
hernad@desk-hernad:~/.wine/drive_c/Program Files/Microsoft Visual FoxPro 8$ regsvr32 oleaccrc.dll
Failed to load DLL oleaccrc.dll
hernad@desk-hernad:~/.wine/drive_c/Program Files/Microsoft Visual FoxPro 8$
Akcije #6

Izmjenjeno od Ernad Husremović prije oko 20 godina

err:ole:create_server class {b95059f2-6aac-11d1-8632-00a0c903a97f} not registered

gornja klasa je foxhelp8.exe našao tražeći po regeditu w2k-a
Akcije #7

Izmjenjeno od Ernad Husremović prije oko 20 godina

prebacio oleacc*.dll na windows/system

hernad@desk-hernad:~/.wine/drive_c/windows/system$ regsvr32 oleacc.dll
fixme:oleacc:DllRegisterServer
Successfully registered DLL oleacc.dll

hernad@desk-hernad:~/.wine/drive_c/windows/system$ regsvr32 oleaccrc.dll
fixme:ole:ITypeInfo_fnRelease destroy child objects
Successfully registered DLL oleaccrc.dll

Akcije #8

Izmjenjeno od Ernad Husremović prije oko 20 godina

pokrenuo sam fox, checkout napravio legacy/fmk

međutim kada pogrenem dobijam GPF

    PROCEDURE SetExePath    
>>>>>>        this.cExePath=JUSTPATH(_VFP.Application.ServerName)
        IF UPPER(LEFT(this.cExePath,26))==UPPER(("C:\Program Files\Microsoft"))
            this.cExePath="h:\fmk\" 
        ENDIF    
        this.cExePath=ADDBS(this.cExePath)    
    ENDPROC

na ovoj liniji

Akcije #9

Izmjenjeno od Ernad Husremović prije oko 20 godina

ma garant fali par ole kontrola

da pokušam naslijepo:

hernad@desk-hernad:~/.wine/drive_c/Program Files/Microsoft Visual FoxPro 8/Visual FoxPro 8.0 Professional - English$ regsvr32 *.DLL
fixme:ole:ITypeInfo_fnRelease destroy child objects
Successfully registered DLL ACCOUNTMGR.DLL
fixme:ole:ITypeInfo_fnRelease destroy child objects
Successfully registered DLL CDINFOMGR.DLL
Failed to register DLL CLTSCEN.DLL
hernad@desk-hernad:~/.wine/drive_c/Program Files/Microsoft Visual FoxPro 8/Visual FoxPro 8.0 Professional - English$

Akcije #10

Izmjenjeno od Ernad Husremović prije oko 20 godina

ima i ovaj VFP shared direktorij ... moguće da je on zezao stvar

FP$ regsvr32 foxhhelpps8.dll
Successfully registered DLL foxhhelpps8.dll
hernad@desk-hernad:~/.wine/drive_c/Program Files/Common Files/Microsoft Shared/VFP$

Akcije #11

Izmjenjeno od Ernad Husremović prije oko 20 godina

hernad@desk-hernad:~/.wine/drive_c/windows/system$ regsvr32 msxml3.dll
Successfully registered DLL msxml3.dll
hernad@desk-hernad:~/.wine/drive_c/windows/system$ regsvr32 msxml4.dll
fixme:ole:ITypeInfo_fnRelease destroy child objects
Successfully registered DLL msxml4.dll
hernad@desk-hernad:~/.wine/drive_c/windows/system$
Akcije #12

Izmjenjeno od Ernad Husremović prije oko 20 godina

hernad@desk-hernad:~/.wine/drive_c/windows/system$ ls ~/samba/ole*
/home/hernad/samba/ole2disp.dll  /home/hernad/samba/olecli.dll
/home/hernad/samba/ole2.dll      /home/hernad/samba/oledlg.dll
/home/hernad/samba/ole2nls.dll   /home/hernad/samba/oleprn.dll
/home/hernad/samba/oleacc.dll    /home/hernad/samba/olesvr32.dll
/home/hernad/samba/oleaccrc.dll  /home/hernad/samba/olesvr.dll
/home/hernad/samba/olecli32.dll  /home/hernad/samba/olethk32.dll
hernad@desk-hernad:~/.wine/drive_c/windows/system$ cp ~/samba/ole* .
hernad@desk-hernad:~/.wine/drive_c/windows/system$
Akcije #13

Izmjenjeno od Ernad Husremović prije oko 20 godina

hm ništa od ovih ole*

hernad@desk-hernad:~/.wine/drive_c/windows/system$ cp ~/samba/ole* .
hernad@desk-hernad:~/.wine/drive_c/windows/system$ regsvr32 olecli.dll
Failed to load DLL olecli.dll
hernad@desk-hernad:~/.wine/drive_c/windows/system$ regsvr32 olecllg.dll
Failed to load DLL olecllg.dll
hernad@desk-hernad:~/.wine/drive_c/windows/system$ regsvr32 oleprn.dll
fixme:atl:AtlModuleInit SEMI-STUB (0x696219e0 0x69621010 0x69610000)
fixme:atl:AtlModuleRegisterServer 0x696219e0 1 (null)
Successfully registered DLL oleprn.dll
wine: Unhandled page fault on read access to 0x00640041 at address 0x640041 (thread 0009), starting debugger...
WineDbg starting on pid 0x8
hernad@desk-hernad:~/.wine/drive_c/windows/system$ regsvr32 olesvr.dll
Failed to load DLL olesvr.dll
hernad@desk-hernad:~/.wine/drive_c/windows/system$ regsvr32 olethk32.dll
err:module:import_dll Library ntvdm.exe (which is needed by L"C:\\windows\\system\\olethk32.dll") not found
Failed to load DLL olethk32.dll
hernad@desk-hernad:~/.wine/drive_c/windows/system$

Akcije #14

Izmjenjeno od Ernad Husremović prije oko 20 godina

da nije do registrija

hernad@desk-hernad:~/.wine/drive_c/windows/system$ regedit ~/samba/vfp_user.reg
hernad@desk-hernad:~/.wine/drive_c/windows/system$ regedit ~/samba/vfp_system.reg

Akcije #15

Izmjenjeno od Ernad Husremović prije oko 20 godina

hernad@desk-hernad:~/.wine/drive_c/windows/system$ regsvr32 oleaut32.dll
Successfully registered DLL oleaut32.dll
Akcije #16

Izmjenjeno od Ernad Husremović prije oko 20 godina

hernad@desk-hernad:~/.wine/drive_c/windows/system$ regsvr32 comct232.ocx
fixme:ole:ITypeInfo_fnRelease destroy child objects
Successfully registered DLL comct232.ocx
hernad@desk-hernad:~/.wine/drive_c/windows/system$ regsvr32 comctl32.ocx
fixme:ole:ITypeInfo_fnRelease destroy child objects
Successfully registered DLL comctl32.ocx
hernad@desk-hernad:~/.wine/drive_c/windows/system$
Akcije #17

Izmjenjeno od Ernad Husremović prije oko 20 godina

http://paulmcnett.com/vfp/wine/VFPonLinux_foxtalk2.html

Record locking

In all versions of Wine prior to wine-20030318, record locking didn't work. But it works now—get the most recent version of Wine to make sure record locking is enabled. This is great news—I originally had a few paragraphs written with suggestions for workarounds and a prediction that record locking would be working within 18 months. I'm overjoyed to be incorrect, and to have to cut those paragraphs!

That said, there's a newly discovered bug that will cause record locking to not work correctly in certain situations. The bug isn't with Wine, but with the Linux implementation of smbmount, which is essentially the client side of the Windows file sharing mechanism. The short answer is that connecting your Linux box to a file server by using the smb client will result in incorrect locking. This is unfortunate because it's a common situation to have your DBFs on a Windows server for all your clients (Windows and Linux) to connect to.

The answer is to not connect to your data from Linux using the smb client, at least for now. What I'd suggest instead is that you move your data over to a Linux Samba server and connect with Microsoft Networking from your Windows clients, and that your Linux clients use the native NFS (Network File System) to access the data. You'll likely find that Linux is a much better file server than Windows anyway (I put a Linux Samba server at a client almost two years ago and all data problems have gone away—and they've never had to reboot that server). By connecting with NFS from Linux, and with SMB from Windows, locking is respected by all. Configuring Samba and NFS is beyond the scope of this article, but it isn't hard to do.
Akcije #18

Izmjenjeno od Ernad Husremović prije oko 20 godina

Connecting to remote data with ODBC

Here's an area that works extremely well. The key is to use the Windows-native ODBC32.DLL driver. I connect to back-end MySQL servers using the MyODBC 2.5x driver, available from www.mysql.com. This driver's setup file will run fine under Wine, as long as you have "Windows" = "nt40" in your Wine config file. It will install the Microsoft ODBC driver (circa 1995) and the MySQL driver. From there, it's all the same as far as VFP is concerned. I did have trouble using connect strings with SQLSTRINGCONNECT(), but had no problem setting up a user DSN and connecting via SQLCONNECT().

Wine does come with its own implementation of ODBC, which looks really slick as it wraps around the Linux-native UnixODBC package. For some reason, even though I can set up my UnixODBC connections and test them from the Linux command line successfully, Visual FoxPro fails with stack overflow errors when I try to use SQLCONNECT() or SQLSTRINGCONNECT() on them. So set your ODBC32.DLL to "native" in your Wine config file and you should be all set. Do install MyODBC 2.5x from MySQL, even if you don't use MySQL, as it will set up the Microsoft ODBC programs and Registry entries, and you can then do a "wine odbcad32.exe" to set up your DSNs.

Akcije #19

Izmjenjeno od Ernad Husremović prije oko 20 godina

ovaj msvcrt70.dll treba biti u pathu

hernad@desk-hernad:~/.wine/drive_c/Program Files/Microsoft Visual FoxPro 8$ mv ms*dll ~/.wine/drive_c/windows
hernad@desk-hernad:~/.wine/drive_c/Program Files/Microsoft Visual FoxPro 8$

Akcije #20

Izmjenjeno od Ernad Husremović prije oko 20 godina

da bi foxpro exe radio morao sam runtime filove u windows/system prebaciti

hernad@desk-hernad:~/.wine/drive_c/windows/system$ cp ~/.wine/"drive_c/Program Files/Common Files/Microsoft Shared/VFP"/vfp8* .

hernad@desk-hernad:~/.wine/drive_c/windows/system$ cp ~/.wine/"drive_c/Program Files/Common Files/Microsoft Shared/VFP"/VFP8* .

nije mi baš jasno zašto nije dovoljno ovaj Common Files/Microsoft Shared/VFP bilo staviti u path. To sam učinio ali to nije pilo vode imao sam poruku

"cannot locate microsoft visual foxpro support library"

Akcije #21

Izmjenjeno od Ernad Husremović prije oko 20 godina

znači glavno funkcioniše:
  • build
  • debugger
  • samostalni fmk.exe

Problema sa editorom nekih ima (nešto prijavljuje da ne može kompajlirati prlilikom rada sa editorom ... i ja kažem ignore i to prođem ...)

problemi sa _VFP objektom su ostali, ali sam sve reference na te objekte u rKrediti uklonio i sada aplikacija radi

Akcije #22

Izmjenjeno od Ernad Husremović prije skoro 16 godina

  • Status promijenjeno iz Novo u Odbačeno
Akcije

Također dostupno kao Atom PDF