Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
1
Erster Beitrag:
vor 10 Monaten, 2 Wochen
Beteiligte Autoren:
Donald Montaine

[WD21] Problem with Internal Procedure in threads

Startbeitrag von Donald Montaine am 07.10.2016 00:36

I was structuring some code, moving it into internal procedures. I did this in some thread procedures. I started having stability problems and eventually tracked it to procedure calls within the internal procedures (for example hWrite and API) where after several hours of working correctly I would get an error message such as shown below. The line of code was

HWrite(PlayerStatus,1)

and PlayerStatus was a file correctly defined in the analysis. Once I replace the internal procedure calls with in-line code the stability problems went away.

06/10/2016 15:17:28:36 Program Restarted - Error Condition - GP_Error - Error Description Follows
WL call:
Process of 'Internal procedure IP_WriteStatus' (GlobalProcedures.GP_ServerInterfaceThread), line 40, thread 0
'HWrite' function, syntax 2

What happened?
The data source is not initialized.
- If it is a data file, the file was not found in the analysis or it was not described by HDeclare/HDeclareExternal.
- If it is a query or a view, the execution may have failed.
To retrieve the corresponding error, check the result of HExecuteQuery/HExecuteSQLQuery/HCreateView.

Error code: 70018
Level: fatal error
WD55 error code: 18

Dump of the error of 'wd210hf.dll' module (21.0.124.0).
Identifier of detailed information (.err): 70116
Debugging information:
IEWDHF=1.20
Module=
Version=
Fonction (7,3)
Additional Information:
EIT_PATHWDD :
EIT_LOGICALTABLENAME :
EIT_PILEWL :
Internal procedure IP_WriteStatus (GlobalProcedures.GP_ServerInterfaceThread), line 40
Global Procedure GP_ServerInterfaceThread (GlobalProcedures.GP_ServerInterfaceThread), line 20
EIT_DATEHEURE : 06/10/2016 15:17:27
EIT_TYPE_WDFILE :
EIT_IDCODE :

Antworten:

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.