Page 1 of 1

error FW_OpenAdoConnection SOLVED

Posted: Tue Oct 08, 2019 2:13 pm
by damianodec
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

#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?

Re: error FW_OpenAdoConnection

Posted: Wed Oct 09, 2019 10:47 am
by damianodec
I Solved.
reinstalled all components of "Client Access" and now works.