Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
3
Erster Beitrag:
vor 2 Jahren, 4 Monaten
Letzter Beitrag:
vor 2 Jahren, 4 Monaten
Beteiligte Autoren:
Bruce Lee, Al

wdtst.exe has stopped working after call back function.

Startbeitrag von Bruce Lee am 15.10.2015 15:20

Hi,

I am using api() function to call a dll file.

After I add some code about file creation and file writing. It runs into error.
If I don't add file writing part, it looks like work better.

And right now, Windev kept showing this error:
(see the pic)

Here is my code:
WHILE bFlag = True
// Enter to call back function.
API("FTRAPI.dll","FTREnrollX", sEmployeeNo, FTR_PURPOSE_ENROLL, &Template, &eData)

//// If the fingerprint quality is bad while enrolling, abandon it. Otherwise, save it.
IF eData.nDwQuality > 6 THEN
bFlag = False
Info("System enroll your fingerprint successful. " + sEmployeeNo)
ELSE
Info("Your fingerprint template quality is very low. System will start over and take template again.")
END
END

//This is my call back function.
PROCEDURE CallBackControl(sMyConext is string, nStateMask is system int, nStResponseAddress is system int, nSignal is system int, nBitmapAddress is system int)

Trace("test_cb_control. nsignal " + nSignal + " nMyConext==" + sMyConext + "== nStateMask " + nStateMask)
Trace(",nStResponseAddress" + nStResponseAddress + " nBitmapAddress " + nBitmapAddress)
//TRACE(FTR_SIGNAL_TOUCH_SENSOR )

//// message print
IF (nStateMask & FTR_STATE_SIGNAL_PROVIDED) THEN

SWITCH( nSignal )
CASE FTR_SIGNAL_TOUCH_SENSOR:
STC_Status = "Put your finger on the scanner."

CASE FTR_SIGNAL_TAKE_OFF:
STC_Status = "Take off your finger from the scanner."
END
END

Wait(100)
RETURN
//result stResponse



Here is the bug information:

Error at line 78 of Click BTN_Enroll process.
Unexpected system error.
If this error systematically occurs in the same conditions, contact PC SOFT Hot Line and specify:
- the error circumstances,
- a window, a project or the code lines used to replicate the problem,
- the details below.

Details techniques :

Module : wd200vm.dll
Version du module : 20.0.177.3
VI : 01A200057p
Adresse de base : 25E60000
Erreur systeme : Access violation (GPF)
EIP = 25F2D48A
OS : Windows 7 Service Pack 1(6.1.7601)

----- Technical Information -----

Project : GrowProElite

WL call:
Process of 'Click BTN_Enroll' (WIN_LogInOut.BTN_Enroll), line 78, thread 0

What happened?
Unexpected system error.
If this error systematically occurs in the same conditions, contact PC SOFT Hot Line and specify:
- the error circumstances,
- a window, a project or the code lines used to replicate the problem,
- the details below.

Details techniques :

Module : wd200vm.dll
Version du module : 20.0.177.3
VI : 01A200057p
Adresse de base : 25E60000
Erreur systeme : Access violation (GPF)
EIP = 25F2D48A
OS : Windows 7 Service Pack 1(6.1.7601)

Error code: 1020
Level: fatal error (EL_FATAL)

Dump of the error of 'wd200vm.dll' module (20.0.177.3).
Identifier of detailed information (.err): 1020
Debugging information:

Details techniques :

Module : wd200vm.dll
Version du module : 20.0.177.3
VI : 01A200057p
Adresse de base : 25E60000
Erreur systeme : Access violation (GPF)
EIP = 25F2D48A
OS : Windows 7 Service Pack 1(6.1.7601)
Registres :

EIP = 25F2D48A EBP = 0402BBD8
EAX = 0407A245 EBX = 0402B8F8
ECX = 00000000 EDX = 25F20004
ESI = 00000004 EDI = 0402BF6C

Pile des appels :

[wd200vm.dll (25E60000), 20.0.177.3, 01A200057p] 25EE6EE0 : EXT_bSetVariableCollection() + 288170 bytes
[wdtst.exe (00000000), 20.0.2.0, 01A200057p] ????
[wd200vm.dll (25E60000), 20.0.177.3, 01A200057p] 25E69CC0
[wd200vm.dll (25E60000), 20.0.177.3, 01A200057p] 25E7B880 : DeclareProxy() + 69312 bytes
[wd200vm.dll (25E60000), 20.0.177.3, 01A200057p] 25E7B880 : DeclareProxy() + 69488 bytes
[wd200vm.dll (25E60000), 20.0.177.3, 01A200057p] 25E7B880 : DeclareProxy() + 69376 bytes
[wd200vm.dll (25E60000), 20.0.177.3, 01A200057p] 25E7B880 : DeclareProxy() + 69520 bytes
[wd200vm.dll (25E60000), 20.0.177.3, 01A200057p] 25E7B880 : DeclareProxy() + 69664 bytes
[wd200vm.dll (25E60000), 20.0.177.3, 01A200057p] 25E7B880 : DeclareProxy() + 69856 bytes
[wd200vm.dll (25E60000), 20.0.177.3, 01A200057p] 25E7B880 : DeclareProxy() + 70096 bytes
[wd200vm.dll (25E60000), 20.0.177.3, 01A200057p] 25E74230 : OBJ_pclGetTauxDeChange() + 12688 bytes
[wdtst.exe (00400000), 20.0.2.0, 01A200057p] 004012B8 : Execution() + 585101 bytes
[???] 005F0054
[???] 00580045
[wdtst.exe (00400000), 20.0.2.0, 01A200057p] 004012B8 : Execution() + 322955 bytes
[wdtst.exe (00400000), 20.0.2.0, 01A200057p] 004012B8 : Execution() + 1306008 bytes
[wdtst.exe (00400000), 20.0.2.0, 01A200057p] 004012B8 : Execution() + 978321 bytes
[wdtst.exe (00400000), 20.0.2.0, 01A200057p] 004012B8 : Execution() + 257430 bytes
[wdtst.exe (00400000), 20.0.2.0, 01A200057p] 004012B8 : Execution() + 1306007 bytes
[wdtst.exe (00400000), 20.0.2.0, 01A200057p] 004012B8 : Execution() + 322966 bytes
[wdtst.exe (00000000), 20.0.2.0, 01A200057p] 00000054

Additional Information:
EIT_PILEWL :
Click BTN_Enroll (WIN_LogInOut.BTN_Enroll), line 78
EIT_DATEHEURE : 15/10/2015 10:04:50
[attachment 1731 WDTST.png]
[attachment 1732 ERROR.jpg]

Antworten:

Hello Bruce

You have sent a lot of info but nothing specific about the file writing/creation code at line 78 that is causing the issue ?

Regards
Al

von Al - am 15.10.2015 22:01
Never mind, I fixed it.
Thank you.

von Bruce Lee - am 15.10.2015 22:26
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.