Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
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!
0 · ·