By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,671 Members | 1,387 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,671 IT Pros & Developers. It's quick & easy.

C# application loading OCX, problems after exiting

P: n/a
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

Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
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

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.