Hi,
I am looking for a copy of PBMySQL.inc. I have found a copy
in the archives but it does not work. It almost does but has a
problem with returning field contents and field headings. The
problem is the use of MemoryMove function which does not work.
lMYSQL_FIELD = mysql_fetch_field_direct(MYSQL_RES, lField)
IF lMYSQL_FIELD = 0 THEN EXIT FUNCTION
MoveMemory lpName, BYVAL lMYSQL_FIELD, %LONG_SIZE
PRINT lpName;"----------"
IF lpName = 0 THEN EXIT FUNCTION
My understanding is that the mysql_fetch_field_direct returns a
pointer whichn then copied by using MoveMemory which does not
work. If someone could help it would be appreciated.
------------------
I am looking for a copy of PBMySQL.inc. I have found a copy
in the archives but it does not work. It almost does but has a
problem with returning field contents and field headings. The
problem is the use of MemoryMove function which does not work.
lMYSQL_FIELD = mysql_fetch_field_direct(MYSQL_RES, lField)
IF lMYSQL_FIELD = 0 THEN EXIT FUNCTION
MoveMemory lpName, BYVAL lMYSQL_FIELD, %LONG_SIZE
PRINT lpName;"----------"
IF lpName = 0 THEN EXIT FUNCTION
My understanding is that the mysql_fetch_field_direct returns a
pointer whichn then copied by using MoveMemory which does not
work. If someone could help it would be appreciated.
------------------
Comment