Parenting a Progress.Windows.form to an ABL window.

Posted by saquib on 11-Jan-2013 02:54


I'm trying to parent my .NET form to an ABL window so that they behave correctly in that the .NET window is realised in front of the ABL parent and when the ABL parent is closed the .NET form closes too.

here's the code:


The LV_MAIN_STUB_HANDLE is defined as a WIDGET-HANDLE and is assigned in the ABL window like so:


However when I close the main ABL window with the .NET window still open the .NET window remains open. When I close it I get an error:

Error (Press HELP to view stack trace)
SYSTEM ERROR when running event dispatcher
Exception code: C0000005 ACCESS_VIOLATION
Fault address:  10165ECA 01:00164ECA C:\OE102B\bin\prow32.dll
Protrace generated
OK   Help  

If anyone has any ideas I'd be very grateful,



All Replies

This thread is closed