Re: GetActiveObject Fails.
- From: "Volker Hilsheimer" <unwatched@xxxxxxx>
- Date: Thu, 12 May 2005 12:04:02 +0200
Is Powerpoint.Application in the ROT? Note that it probably isn't if you
just start it up - you probably have to send some sort of message to it
first (at least that's how it works with Excel).
Volker
"JoDeGr8" <JoDeGr8@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6151419B-9D67-4E7A-A68A-1AB6707966BD@xxxxxxxxxxxxxxxx
> I tried to get arunning instance of a powerpoint using GetActiveObject
> CLSIDFromProgID(L"Powerpoint.Application",&clsid);
> hr=GetActiveObject(clsid,NULL,&pUnk);
>
> But this call(to GetActiveObject())crashes the program.
>
> I am using this code from a mfc dll.This mfc dll will be loaded by
another
> mfc dll at run-time(using Loadlibrary()).
> First DLL->SecondDLL->GetActiveObject().
>
> What should be the possible problem.
>
> --
> I don hav a signature..Unfortunately!
.
- References:
- GetActiveObject Fails.
- From: JoDeGr8
- GetActiveObject Fails.
- Prev by Date: Re: VARIANT and multithreading
- Next by Date: Re: Registering in ROT with ROTFLAGS_ALLOWANYCLIENT
- Previous by thread: GetActiveObject Fails.
- Index(es):
Relevant Pages
|