In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
I'm developing an application that connects to different types of databases.
After connecting to MySQL, GPF when opening the table, other methods work (execute, etc).
METHOD BtnConnClick( oSender ) CLASS TForm1
with object ::oDsMySQL
:cPassword:='root'
:cUser :='root'
:cHost :='localhost'
:cDatabase:='hurricane'
:Disconnect()
if :Connect()
with object :Table('country')
if :open() // GPF
LogDebug('opened!')
:close()
endif
end with
endif
end with
RETURN Nil
message from Xailer 4.02
#1: XAILER-MySQL type not supported: 63
#2: XAILER-MySQL type not supported: 32769
#3: XAILER-MySQL type not supported: 18
#4: XAILER-MySQL type not supported: 1024
#5: XAILER-MySQL type not supported: 63
#6: XAILER-MySQL type not supported: 32769
#7: XAILER-MySQL type not supported: 18
#8: XAILER-MySQL type not supported: 1024
#9: GPF (Code = c0000005):
Access violation
The code above works normally if I use the MariaDB component to connect to MySQL.
Error also happens in Xailer Demo 5.0.3 and 5.1.1 (other lines).
I tested with MySQL versions: 5.7.21 (2018) and 5.1.72 (2013)
No! I did several tests totally isolated, no possibility of mixing.
I tested it with LibMariaDB.dll (Xailer), after MariaDB itself, after MySQL, etc.
The TMySQLDatasource component works partially, then generates GPF. This component is connecting in MYSQL and MariaDB without any DLL.
I am normally using the MariaDB component (and libMariaDB.dll) to connect to MySQL and MariaDB.
I'm using both MySQL and MariaDB for years, and I've never got such kind of GPF.
Please, send us a very small and self-contained sample, including a small database, to test it.