Re: Making an ActiveX control out of an executable
- From: Thore Karlsen <sid@xxxxxxxx>
- Date: Tue, 12 Jul 2005 12:36:01 -0500
On Tue, 12 Jul 2005 10:03:23 -0700, "Alexander Nickolov"
<agnickolov@xxxxxxxx> wrote:
>No, you are on the wrong path. ActiveX Controls cannot
>be implemented in executables - only in DLLs. Instead,
>consider an ActiveX Document server. It is usually in an
>executable, it requires a host, but since it's an executable
>it can also contain bundling for a regular application, and
>it can only be viewed as the entire client space of IE. If
>you are interested in ActiveX Documents, you need to
>learn all the nitty gritty details about OLE first, then expand
>into ActiveX Documents. For the former you can read
>"Inside OLE" by Kraig Brockschmidt (you can find in the
>Books section of MSDN Library shipping with VC 6).
>For the latter I only know the MSDN Library docs. Look
>for the IOleDocument interface and friends.
Thanks for the tips. Would this mean I would have to have a separate
executable than the one I have now, or could I have all this in one
single executable? If not, I'm fine with just creating a separate DLL
with basically the same code as the executable.
Do you know the technical reasons why an ActiveX control can't be
embedded in an executable? I thought it would just be a matter of
exporting DllRegisterServer() and friends. LoadLibrary() seems to be
able to map an executable into another process' address space. I haven't
played with anything like this before, though, so I don't really know
much about the differences between DLLs and executables.
--
Be seeing you.
.
- Follow-Ups:
- Re: Making an ActiveX control out of an executable
- From: Alexander Nickolov
- Re: Making an ActiveX control out of an executable
- References:
- Making an ActiveX control out of an executable
- From: Thore Karlsen [MVP DX]
- Re: Making an ActiveX control out of an executable
- From: Alexander Nickolov
- Making an ActiveX control out of an executable
- Prev by Date: Re: IResponse (web server) type lib
- Next by Date: Re: Making an ActiveX control out of an executable
- Previous by thread: Re: Making an ActiveX control out of an executable
- Next by thread: Re: Making an ActiveX control out of an executable
- Index(es):
Relevant Pages
|