C# application loading OCX, problems after exiting

  • Thread starter Thread starter lpinho
  • Start date Start date
L

lpinho

Hi there C# experts,

I'm building a C# windows applications that loads some OCX (made using
VB 6), I'm able to load the OCX and then dispose it (at least
apparently), but when I'm exiting my C# application a crash occurs.

The error is:
The instruction at "0x275abc77" referenced mamory at "0x0b001e90".
The memory could not be "read".

What am I doing wrong? Not all the OCX that I have originate this
error, the crash only occurs with some of that...

Thank You,

Luis Miguel Pinho
 
Hi Luis
if not all your OCXs cause such problem so it has to be some conflict
happening with that specific one . try to run your program in debug more,
step into lines of code to see exactly where the error occurs , if the
cause still wasn't clear may be you can post that snippet of code
afterwards may be some one would help .
Mohamed M .Mahfouz
Developer Support Engineer
ITWorx on behalf of Microsoft EMEA GTSC
 
Back
Top