>Does anyone know the intention of that code? Maybe a bug? >In ADSSTMTSETTABLEPASSWORD() there is a check for hConnect != 0, but later >on hConnect is not referred anymore. At the same time pArea->hStatement is >not checked against 0. > >I would think the hConnect check should be replaced with a pArea->hStatement >check to be correct. This would also be inline with the comments found in > >ADSEXECUTESQL() (and friends). Brian, do you know if we can have various hStatements for the same area? If yes, is a good idea we can get 3rd parameter from user, and, *if* it is null, use pArea->hStatement.
Regards, Toninho. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ xHarbour-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xharbour-developers

