error FW_OpenAdoConnection SOLVED

Post Reply
User avatar
damianodec
Posts: 372
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia
Contact:

error FW_OpenAdoConnection SOLVED

Post 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?
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: 372
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia
Contact:

Re: error FW_OpenAdoConnection

Post by damianodec »

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)
Post Reply