[WD20] App Crash on query with HFSQL

Startbeitrag von DannHCS am 26.04.2016 13: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?!

Antworten:

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?!

von DannHCS - am 27.04.2016 09:41
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

von kingDr - am 27.04.2016 11:59
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.