Click to See Complete Forum and Search --> : Out Of Process COM ActiveX Control?
keithfearnley
August 30th, 2001, 08:55 AM
Anyone done anything with out-of-process ActiveX (if there is such a thing)? I and a C++ colleague are trying to get a COM .EXE (in C++) accessible from VB. The activeX test container allows it, but VB doesn't appear to. We need separate thread of execution, hence not a normal OCX/DLL, and need to generate events within VB from the separate "control".
We also want to do this via VBScript on a web page eventually.
Anyone got any ideas?
Keith Fearnley, Trackit Systems Ltd, England
berta
August 30th, 2001, 09:34 AM
U can call an activex exe as a normal dll library.
but ASP / IIS has not prmission to create an out-of-process. U must has a intemediate com DLL running in MTS with permission of some user witch has permission to lanch EXE...
sorry.. can U exaplain your project better...
I have develops some activex.... so i can try to help U...
hi,brt
<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/images/bertaplanet.gif'>
</center>
makai
August 31st, 2001, 12:56 AM
some general info to create a DLL in C that a VB client can use - should be a simple step to compile as EXE instead
http://www.vbexplorer.com/show.asp?id=195
some general info about out of process VB at
http://pages.about.com/vbmakai/minidb3.htm
keithfearnley
September 3rd, 2001, 05:13 AM
Thanks for the replies folks. I parallel-posted onto the C++ forum too, and the final answer came from a combination of a reply there and the information links that 'makai' responded with.
Seems to need to be aggregated within the COM object - ActiveX and COM together. Now have a working C++ test control that can sit in VB or on a web page in its own thread and display a continuously updating counter - not rocket science perhaps, but a step towards what we need!
Thanks again,
Keith
Keith Fearnley, Trackit Systems Ltd, England
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.