Click here to Skip to main content
15,908,013 members
Home / Discussions / COM
   

COM

 
GeneralOutlook Addin Pin
chakkaradeepcc19-Feb-04 23:56
chakkaradeepcc19-Feb-04 23:56 
GeneralBSTR * parameter Pin
dzsigit19-Feb-04 0:26
dzsigit19-Feb-04 0:26 
GeneralRe: BSTR * parameter Pin
Steve S19-Feb-04 1:06
Steve S19-Feb-04 1:06 
GeneralRe: BSTR * parameter Pin
dzsigit19-Feb-04 3:52
dzsigit19-Feb-04 3:52 
GeneralRe: BSTR * parameter Pin
Vi219-Feb-04 18:58
Vi219-Feb-04 18:58 
GeneralRe: BSTR * parameter Pin
Steve S19-Feb-04 22:50
Steve S19-Feb-04 22:50 
GeneralRe: BSTR * parameter Pin
dzsigit19-Feb-04 23:01
dzsigit19-Feb-04 23:01 
GeneralRe: BSTR * parameter Pin
Vi220-Feb-04 0:29
Vi220-Feb-04 0:29 
dzsigit wrote:
long llngReturn;
...
hr = pDispatch->Invoke(..., &DispatchParams, (VARIANT*)&llngReturn, ...);

I think that it's a bad practice to make the ambiguous casting to avoid the compiler error.

In any case the E_NOINTERFACE can be a valid HRESULT which can mean that there is no such Document as you specify.

With best wishes,
Vita
GeneralRe: BSTR * parameter Pin
dzsigit20-Feb-04 2:38
dzsigit20-Feb-04 2:38 
GeneralRe: BSTR * parameter Pin
Steve S22-Feb-04 22:19
Steve S22-Feb-04 22:19 
GeneralRe: BSTR * parameter Pin
dzsigit23-Feb-04 1:05
dzsigit23-Feb-04 1:05 
GeneralRe: BSTR * parameter Pin
Steve S23-Feb-04 2:08
Steve S23-Feb-04 2:08 
GeneralRe: BSTR * parameter Pin
dzsigit23-Feb-04 2:34
dzsigit23-Feb-04 2:34 
GeneralGet Parent window form ActiveX control Pin
TrungHuynh18-Feb-04 19:10
TrungHuynh18-Feb-04 19:10 
GeneralRegistering DLL and OCX Pin
alex120518-Feb-04 15:08
alex120518-Feb-04 15:08 
GeneralRe: Registering DLL and OCX Pin
Gasanov Tagir18-Feb-04 20:01
Gasanov Tagir18-Feb-04 20:01 
GeneralRe: Registering DLL and OCX Pin
alex120518-Feb-04 20:28
alex120518-Feb-04 20:28 
GeneralCreateFromFile() ,CreateFromClipboard(),CreateFromData() Pin
anshumanshinde18-Feb-04 1:06
anshumanshinde18-Feb-04 1:06 
GeneralNo such interface supported Pin
dzsigit17-Feb-04 23:46
dzsigit17-Feb-04 23:46 
GeneralRe: No such interface supported Pin
Stephane Rodriguez.18-Feb-04 0:10
Stephane Rodriguez.18-Feb-04 0:10 
GeneralRe: No such interface supported Pin
dzsigit18-Feb-04 1:54
dzsigit18-Feb-04 1:54 
GeneralRe: No such interface supported Pin
Stephane Rodriguez.18-Feb-04 3:06
Stephane Rodriguez.18-Feb-04 3:06 
GeneralRe: No such interface supported Pin
dzsigit18-Feb-04 4:13
dzsigit18-Feb-04 4:13 
GeneralConvert Image to flash Pin
TrungHuynh17-Feb-04 21:32
TrungHuynh17-Feb-04 21:32 
Generalcalling remote component on Win98 Pin
Hesham Amin17-Feb-04 3:21
Hesham Amin17-Feb-04 3:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.