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

COM

 
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 
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 
OK, next question. You have tstrDocID and tintFlags as [in,out]. Does that mean you could pass in both of these and pass back different ones and that's what your COMponent is expecting to deal with?

Typically, you would see this written as

[id(0x6002001a)]
HRESULT SelectDoc([in,out]BSTR* tstrDocID, [in,out]long* tintFlags, [in] long tintWindow, [out,retval]long* pResult);

This makes it easy to return failures, via an unsuccessful HRESULT (top bit set),
and a return value flagged in this way is accessible by conventional assignment in environments such as VB.

Steve S
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 
QuestionHow to make COM+ event class and ... Pin
Gasanov Tagir17-Feb-04 3:10
Gasanov Tagir17-Feb-04 3:10 
GeneralGetting information about remote COM client Pin
Bash17-Feb-04 1:37
Bash17-Feb-04 1:37 
GeneralRe: Getting information about remote COM client Pin
Anonymous19-Feb-04 12:59
Anonymous19-Feb-04 12:59 
Questionhow to automate internet explorer ? Pin
name_or_alias16-Feb-04 10:38
name_or_alias16-Feb-04 10:38 

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.