error FW_OpenAdoConnection SOLVED

error FW_OpenAdoConnection SOLVED

Postby damianodec » Tue Oct 08, 2019 2:13 pm

hi,
I'm converting my .prg from FHW(17.09) + xHarbour to FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019

this code (Ado fo DB2 AS400):
Code: Select all  Expand view

#include "FiveWin.ch"

//----------------------------------------------------------------------------//

function main()

local oCn
LOCAL Connessione := "Provider=IBMDA400; Data Source=192.168.1.200; User Id=USER; Password=PSW; Default Collection=MYLIB;"

    oCn := FW_OpenAdoConnection( Connessione, .t.)
    if oCn = Nil
        msginfo("Connessione al DB2 errata")
    endif

return nil


works in FWH 1709 but in new FWH64 I get "ADO ERROR UNKOWN"

any help?
Last edited by damianodec on Wed Oct 09, 2019 10:48 am, edited 1 time in total.
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
damianodec
 
Posts: 418
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia

Re: error FW_OpenAdoConnection

Postby damianodec » Wed Oct 09, 2019 10:47 am

I Solved.
reinstalled all components of "Client Access" and now works.
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
damianodec
 
Posts: 418
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 80 guests