Click here to Skip to main content
16,010,334 members
Home / Discussions / COM
   

COM

 
Questionquery interface in VB? Pin
kunja_chan6-Jul-04 11:02
kunja_chan6-Jul-04 11:02 
AnswerRe: query interface in VB? Pin
darkbyte7-Jul-04 14:00
darkbyte7-Jul-04 14:00 
GeneralRe: query interface in VB? Pin
Milton Karimbekallil13-Jul-04 21:31
Milton Karimbekallil13-Jul-04 21:31 
GeneralRe: query interface in VB? Pin
darkbyte14-Jul-04 13:52
darkbyte14-Jul-04 13:52 
GeneralRe: query interface in VB? Pin
Milton Karimbekallil15-Jul-04 2:08
Milton Karimbekallil15-Jul-04 2:08 
GeneralRe: query interface in VB? Pin
darkbyte17-Jul-04 4:44
darkbyte17-Jul-04 4:44 
GeneralRe: query interface in VB? Pin
Milton Karimbekallil18-Jul-04 17:53
Milton Karimbekallil18-Jul-04 17:53 
GeneralRe: query interface in VB? Pin
darkbyte19-Jul-04 0:44
darkbyte19-Jul-04 0:44 
Yup, i think we both understand the same thing regarding coclass uses.

What i'm still not 100% convinced (althought i could do some test and make myself a possibly false opinion) is regarding QueryInterface and/or its use in VB.

Now, with your example for IGeneral and IScientific, if i understand correctly, it doesnt matter how we acquired and interface pointer, if the instance behind the pointer exposes more than 1 interface, it becomes possible to reference that instance under any of its exposed interfaces. Meaning that if i get an IGeneral interface pointer to an IScientific instance, its always possible from code to access its IScientific interface by using QueryInterface(), or using the method shown earlier in VB.

BTW: It's a pleasure talking with someone that has knowledge. I hope i can be of service some day.

DarkByte
GeneralRe: query interface in VB? Pin
Milton Karimbekallil19-Jul-04 19:44
Milton Karimbekallil19-Jul-04 19:44 
GeneralNeed to connect to correct instance of application Pin
Sara Burns5-Jul-04 19:44
Sara Burns5-Jul-04 19:44 
GeneralRe: Need to connect to correct instance of application Pin
darkbyte17-Jul-04 4:48
darkbyte17-Jul-04 4:48 
GeneralRe: Need to connect to correct instance of application Pin
darkbyte30-Jul-04 14:39
darkbyte30-Jul-04 14:39 
GeneralGetting Number of Sub-storage count from a structured storage file Pin
bhave_subodh2-Jul-04 6:39
bhave_subodh2-Jul-04 6:39 
GeneralRe: Getting Number of Sub-storage count from a structured storage file Pin
darkbyte6-Jul-04 1:36
darkbyte6-Jul-04 1:36 
GeneralIOleObject Advise Pin
Anonymous2-Jul-04 6:24
Anonymous2-Jul-04 6:24 
GeneralMakiing Plugin for Windows Media Encoder Pin
Asim Saleh1-Jul-04 7:04
Asim Saleh1-Jul-04 7:04 
GeneralGot “Type mismatch” box when running a default Add-n project I VB 6.0 Pin
anderslundsgard1-Jul-04 4:46
anderslundsgard1-Jul-04 4:46 
QuestionCreating a simple add-in for e.g. MS Outlook… ? Pin
anderslundsgard1-Jul-04 3:00
anderslundsgard1-Jul-04 3:00 
AnswerRe: Creating a simple add-in for e.g. MS Outlook… ? Pin
Jörgen Sigvardsson1-Jul-04 11:35
Jörgen Sigvardsson1-Jul-04 11:35 
GeneralStrange ROT behavior question Pin
vipsy28-Jun-04 5:43
vipsy28-Jun-04 5:43 
GeneralRe: Strange ROT behavior question Pin
Jörgen Sigvardsson1-Jul-04 11:50
Jörgen Sigvardsson1-Jul-04 11:50 
GeneralBig trouble Pin
El'Cachubrey28-Jun-04 3:01
El'Cachubrey28-Jun-04 3:01 
GeneralRe: Big trouble Pin
darkbyte28-Jun-04 7:35
darkbyte28-Jun-04 7:35 
GeneralRe: Big trouble Pin
El'Cachubrey29-Jun-04 1:36
El'Cachubrey29-Jun-04 1:36 
GeneralactiveX in Matlab Pin
ffredoux28-Jun-04 2:32
ffredoux28-Jun-04 2:32 

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.