Click here to Skip to main content
15,900,973 members
Home / Discussions / COM
   

COM

 
Generala problem of a ASP component creating process Pin
programmesky25-Feb-03 14:28
programmesky25-Feb-03 14:28 
GeneralRe: a problem of a ASP component creating process Pin
geo_m26-Feb-03 0:13
geo_m26-Feb-03 0:13 
GeneralRe: a problem of a ASP component creating process Pin
programmesky26-Feb-03 13:33
programmesky26-Feb-03 13:33 
GeneralWebBrowser Printing Pin
MoMad24-Feb-03 9:06
MoMad24-Feb-03 9:06 
GeneralRe: WebBrowser Printing Pin
MoMad24-Feb-03 12:11
MoMad24-Feb-03 12:11 
GeneralRe: WebBrowser Printing Pin
Brian Shifrin4-Mar-03 10:30
Brian Shifrin4-Mar-03 10:30 
GeneralRe: WebBrowser Printing Pin
MoMad5-Mar-03 8:36
MoMad5-Mar-03 8:36 
GeneralPointer identities Pin
Jörgen Sigvardsson24-Feb-03 4:58
Jörgen Sigvardsson24-Feb-03 4:58 
Can COM interface pointers be used as reliable identities?

Please consider this out-of-proc scenario:
'VB Code
obj.MethodCall aCOMObject
...
obj.MethodCall aCOMObject 


obj.MethodCall aCOMObject results in a call to my C++ method:
STDMETHODIMP CClass::MethodCall(IInterface* pIf)
{
    ...
}


My question is now; will the pointer pIf always contain the same value in all calls from the client (in this case VB)? Can I use this interface pointer to uniquely identify the object no matter what type of client is calling? Is this perhaps controlled by the MIDL interface attribute pointer_default?

I know it'll work in an in-proc C++ only scenario, but I cannot guarantee that this will always be the case.

--
we dance to the sound of sirens
and we watch genocide to relax
we dance to the sound of sirens
we are the heroes of self-deception

GeneralRe: Pointer identities Pin
geo_m25-Feb-03 23:17
geo_m25-Feb-03 23:17 
GeneralUsing the vTable of an ActiveX DLL with Known Interface and Unknown GUID Pin
RichB21-Feb-03 1:45
RichB21-Feb-03 1:45 
GeneralTracing DLL CreateObject calls Pin
baby.chai20-Feb-03 5:03
baby.chai20-Feb-03 5:03 
GeneralDCOM over COM Pin
Adrian Bacaianu20-Feb-03 4:46
Adrian Bacaianu20-Feb-03 4:46 
GeneralRe: DCOM over COM Pin
13-Mar-03 3:44
suss13-Mar-03 3:44 
GeneralRe: DCOM over COM Pin
Adrian Bacaianu13-Mar-03 3:53
Adrian Bacaianu13-Mar-03 3:53 
GeneralInterface - COM compatible Pin
haranath19-Feb-03 21:00
haranath19-Feb-03 21:00 
QuestionOLECHAR* in c#? Pin
kamosoft519-Feb-03 1:28
kamosoft519-Feb-03 1:28 
AnswerRe: OLECHAR* in c#? Pin
kamosoft519-Feb-03 4:04
kamosoft519-Feb-03 4:04 
GeneralRe: OLECHAR* in c#? Pin
firat kocak20-Feb-03 5:55
firat kocak20-Feb-03 5:55 
GeneralOut-of-proc COM server Pin
Shah Shehpori19-Feb-03 0:50
sussShah Shehpori19-Feb-03 0:50 
GeneralRe: Out-of-proc COM server Pin
Jörgen Sigvardsson24-Feb-03 5:01
Jörgen Sigvardsson24-Feb-03 5:01 
GeneralSecure COM DLL Pin
antoine_boillier18-Feb-03 7:45
antoine_boillier18-Feb-03 7:45 
GeneralRe: Secure COM DLL Pin
geo_m18-Feb-03 12:52
geo_m18-Feb-03 12:52 
GeneralRe: Secure COM DLL Pin
Jörgen Sigvardsson24-Feb-03 5:10
Jörgen Sigvardsson24-Feb-03 5:10 
GeneralCOM stopped working Pin
Kyudos18-Feb-03 2:50
Kyudos18-Feb-03 2:50 
GeneralRe: COM stopped working Pin
Kyudos18-Feb-03 4:34
Kyudos18-Feb-03 4:34 

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.