Microsoft KB Archive/101161

= Microsoft Knowledge Base =

BUG: GPF When Use TESTDLG.EXE During or After Executing Script
Last reviewed: October 19, 1994

Article ID: Q101161

The information in this article applies to:

- Microsoft Test for Windows, version 2.0

SYMPTOMS
A general protection (GP) fault occurs while running TESTDLG.EXE during or after running a script that used API calls to TESTDLGS.DLL. The following error message is the result:

TESTDLG has caused a General Protection Fault in module TESTDLG.EXE at address 0002:0E06

CAUSE
The internal list of dialogs in use by TESTDLGS.DLL is changed out from under TESTDLG.EXE by the script being executed.

WORKAROUND
To avoid the error, close TESTDLG.EXE before running any script that calls TESTDLGS routines.

STATUS
Microsoft has confirmed this to be a bug in Microsoft Test version 2.0 for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Steps to Reproduce Problem

 * 1) Start the TestDlgs utility (TESTDLG.EXE).
 * 2) Create a new dialog.
 * 3) Capture any window and click OK to return to the dialog list.
 * 4) Start TestDriver (TESTDRVR.EXE).
 * 5) Load the sample TESTDLGS.MST from the V2SAMPLE\DOCSMPL directory.
 * 6) Press the F5 key to execute TESTDLGS.MST.
 * 7) Click the TestDlgs window to bring it to the foreground.

At this point, the error "TESTDLG has caused a General Protection Fault in module TESTDLG.EXE at address 0002:0E06" occurs.