Use an ActiveX DLL in a console app?

Started by Art Araya, June 09, 2005, 02:43:29 PM

Previous topic - Next topic

Art Araya

Is it possible to use an ActiveX DLL in a FF console application?  

I have used one in a normal FF project.  But the way I did this was to use the OCX/ActiveX control in the FF toolbox.  And of course, this is not available in a Console project.

Is there some other way to do this?  Probably pure PB with no assistance from FF?

TIA,
Art

Jose Roca

Non visual ActiveX DLLs such ADO can be used; visual ActiveX don't.

Art Araya

Thanks Jose.

The ActiveX DLL I need to use is non-visual.  How do I use this in FF?

Art

Jose Roca

As any other component. SET objvar = NEW DISPATCH IN ProgID$, etc.