How to use an OCX in my application? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


How to use an OCX in my application?


Maybe that's not the right forum for this question, but I have to start somewhere.

I am writing an OCX component with ATL in Visual C++ 6, and in my component, I need to use another OCX.

With that OCX I have a TLB file.

I read that I can do #import to this TLB and then I will be able to access the registered OCX.

Can you explain to me how I can do that? How can I use this OCX component? (It's not a graphics component)

Do I have to create a class that will access the registered OCX, or a class like this is created automatically when I import the TLB?

Any help will be appreciated!


Sign In or Register to comment.