I have written a .NET 4.0 application (in C#) using OE1100.OCX. On my .NET main Form, I placed an OE1100.ocx. On the OE1100.ocx, I added a few more extra buttons (.NET buttons) to perform extra business functions, by launching extra .NET screens.
Things are all good except when the main form is closed. When the main form is closed, I keep getting the error message box pop, which saying “The memory could not be read”. It ONLY happens from the exe. The debug mode stepping through the code did not produce any error.
I have searched on internet for solution and can't seem to find one. How to prevent the error messagebox from poping up?
Thanks.
Things are all good except when the main form is closed. When the main form is closed, I keep getting the error message box pop, which saying “The memory could not be read”. It ONLY happens from the exe. The debug mode stepping through the code did not produce any error.
I have searched on internet for solution and can't seem to find one. How to prevent the error messagebox from poping up?
Thanks.