Error using unmanaged C++ OCX in C#.NET

R

Rui Oliveira

I am trying to use an unmanaged C++ OCX in a C#.NET application.

This is generating the following error:
“Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))â€

If I use this same OCX in an unmanaged C++ DLL, and call this DLL from
C#.NET the error does not happen.

How can I avoid this problem?

Thanks.
Rui Oliveira
 

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