Thread: IBEvents RegisterEvents
Posts:
88
Registered:
1/27/01
|
|
|
Original thread: https://forums.embarcadero.com/thread.jspa?threadID=206022&tstart=0
FormShow on UFrmMain opens a connection to an IB database and registers events. After the FormShow it Unregisters the events then re-registers them. The unregister seems to be causing an AV in gds32.dll.
Also included is LaunchTest.bat file. This runs the test program in a loop. Usually the program will fail in the first couple of iterations but if not, launch a second LaunchTest.exe and the AV will occur.
Tested on the following versions of Windows:
- Windows 10 (failed)
- Windows 8.1 (does not fail or does not report issue)
- Windows 2012 Server (failed)
- Windows XP (failed)
|
|
|
Posts:
88
Registered:
1/27/01
|
|
Original thread: https://forums.embarcadero.com/thread.jspa?threadID=206022&tstart=0
FormShow on UFrmMain opens a connection to an IB database and registers events. After the FormShow it Unregisters the events then re-registers them. The unregister seems to be causing an AV in gds32.dll.
Also included is LaunchTest.bat file. This runs the test program in a loop. Usually the program will fail in the first couple of iterations but if not, launch a second LaunchTest.exe and the AV will occur.
Tested on the following versions of Windows:
- Windows 10 (failed)
- Windows 8.1 (does not fail or does not report issue)
- Windows 2012 Server (failed)
- Windows XP (failed)
It does in fact appear to fail under Win 8.1 the same as the others. Had to enable MadExcept to capture the error though.
|
|
|
|
Legend
|
|
Helpful Answer
(5 pts)
|
|
Correct Answer
(10 pts)
|
|
Connect with Us