Delphi OCX events in C#

N

NameQest

I use a Delphi OCX from a small vendor in CA, and have used it
successfully in Visual Studio 6 (VB, C++, etc.), without any problems.
In my apps, I create instances of the control dynamically (as needed,
i.e., non-visual environment. However, I am now finding that in C#, I
ca ony hook to a single OCX event, in my app. I understand that Delphi
expects every event to have its own eventsink, whereas C# uses a single
sink (or, at least I think that's how it works), but I am stuck. I
need to hook to multiple OCX events in my C# app. Is there a way to do
it? Do I contact the OCX developers and tell they *they* need to do
something to fix the problem in the OCX? Do I look for another
(similar) OCX control? Do I abandon C# at this point?

Any help/suggestions would be greatly appreciated at this point.

CN
 

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