I had the same problem. It seems hbmysql is not in the good shape :( The cause of problem is that nSocket is pointer, not numberic variable.
For example: -return iif(::nSocket > 0, sqlGetErr(::nSocket), "No connection to server") +return iif(::nSocket <> nil, sqlGetErr(::nSocket), "No connection to server") With this knowledge, i think this would be better: return iif(hb_IsPointer(::nSocket), sqlGetErr(::nSocket), "No connection to server") Anyway, attached diff works for me. Regards, Ernad ----- "Guy Roussin" <[EMAIL PROTECTED]> wrote: > Hi, > > I get this error with current harbour svn. > > Error BASE/1070 Argument error: == (Quit) > Error BASE/1070 Argument error: == > Called from TMYSQLSERVER:NEW(1376) > > Guy Roussin > > _______________________________________________ > Harbour mailing list > [email protected] > http://lists.harbour-project.org/mailman/listinfo/harbour
tmysql.prg_bring.out.ba.diff
Description: Binary data
_______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
