• Welcome to Valhalla Legends Archive.
 

[C++] Can you use VB ActiveXs and DLLs...

Started by Sorc_Polgara, May 20, 2004, 08:03 PM

Previous topic - Next topic

Sorc_Polgara

Question, can you use ActiveXs and DLLs that are for VB in a C++ program also? For example .ocx files.

If so, how would you do it?

Mephisto

I don't think you can use an .ocx for other languages other than VB because of the nature of how they are created.  As far as I know, a .dll can be used with any language if you properly use it.

Eibro

Quote from: Mephisto on May 20, 2004, 08:12 PM
I don't think you can use an .ocx for other languages other than VB because of the nature of how they are created.  As far as I know, a .dll can be used with any language if you properly use it.
ocx files are dll files.
Eibro of Yeti Lovers.

Maddox

Yes, they should be able to be used in any application supporting COM.
asdf.

Mephisto

Quote from: Eibro[yL] on May 20, 2004, 09:19 PM
Quote from: Mephisto on May 20, 2004, 08:12 PM
I don't think you can use an .ocx for other languages other than VB because of the nature of how they are created.  As far as I know, a .dll can be used with any language if you properly use it.
ocx files are dll files.

I never knew that.  I always assumed .ocx files were specific .dll-like files designed and engineered for the Visual Basic development environment.