C# application loading OCX, problems after exiting

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
 
M

Mohamoss

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top