PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD20] App Crash on query with HFSQL
[WD20] App Crash on query with HFSQL
Iniciado por guest, 26,abr. 2016 15:27 - 2 respuestas
Publicado el 26,abril 2016 - 15:27
Hi,
I have a query that takes in account 3 files from the analisys (generated from MySQL) in join.
I manage a connection with Native Access to MySQL and another one with HFSQL files generated automatically (using the same files with the same description of the analisys) on my PC.

In the first case, the query works perfectly.

In the second one, the function HExecuteQuery generates a crash for the app! Without any error informations. It seems to have problems with empty files or in the case where the query result is 0 records, is it possible?!
Publicado el 27,abril 2016 - 11:41
OH it's funny!

I have this code in the initialization of the window

POSdll is int = LoadDLL(fExeDir()+POS_DLL)
IF POSdll = 0 THEN Error(ErrorInfo())

Commenting this part of code, the query runs correctly....but it's not a valid solution, you know

What is going on? Any ideas?!
Publicado el 27,abril 2016 - 13:59
The only thing I could guess is 32-bit DLL loaded on 64-bit wins or
you didn't use FreeDLL when ending the procedure when re-entering then
crash comes, not sure..., only my assumption

HTH

King