Memory read error on quit within ocx trigger

Posted by nborshukov on 27-Feb-2012 08:14

Hi All!

I have an application main screen based on Microsoft TreeView OCX Ver. 5.0 SP2.

In the TreeView there is Exit node - on double click application quits.

The code works fine under OE 10.0b.

But in 10.1c and 10.2b the same code causes Windows error:

prowin32.exe - Application Error.

The instruction at <memory ref> referenced memory at <memory ref>.  The memory could not be "read".

Note that under AppBuilder the code works fine with all OE versions.

Plaese, find attached sample window with wrx file.

Could anyone help? Please!

Thanks

Nickolay

[View:~/cfs-file.ashx/__key/communityserver-discussions-components-files/19/ocx_2D00_quit.rar.zip:550:0]

All Replies

Posted by Admin on 27-Feb-2012 08:21

When nothing else has changed (Operating System etc.) I'd report that to tech support. Sounds like a regression issue.

Posted by shuttleworth on 17-Apr-2012 07:04

We've also had similar issues (same error message) with an OCX(Videosoft Tab Folder)  which runs crashes on exit of app when embedded in ProContainter/WinForm. In our case not manually cleaning up the OCX CtrlFrame handle got around the problem.

This thread is closed