Click here to Skip to main content
15,920,438 members
Home / Discussions / COM
   

COM

 
QuestionHow to convert from .DOC to .PDF, please help me .......... Pin
Atif Bashir16-Aug-03 1:59
Atif Bashir16-Aug-03 1:59 
AnswerRe: How to convert from .DOC to .PDF, please help me .......... Pin
Stephane Rodriguez.16-Aug-03 2:46
Stephane Rodriguez.16-Aug-03 2:46 
GeneralLurning COM Pin
Carlos Mariano14-Aug-03 5:06
Carlos Mariano14-Aug-03 5:06 
GeneralRe: Lurning COM Pin
valikac17-Aug-03 5:39
valikac17-Aug-03 5:39 
GeneralRe: Lurning COM Pin
Carlos Mariano1-Sep-03 0:20
Carlos Mariano1-Sep-03 0:20 
GeneralRe: Lurning COM Pin
Stefan Pedersen25-Aug-03 2:16
Stefan Pedersen25-Aug-03 2:16 
GeneralRe: Lurning COM Pin
Carlos Mariano1-Sep-03 0:15
Carlos Mariano1-Sep-03 0:15 
GeneralDump questio once again Pin
El'Cachubrey14-Aug-03 2:51
El'Cachubrey14-Aug-03 2:51 
Unsure | :~ Hi all
Recent time ago i ask this question on other forum but don’t get explicit decision.
Matter of question is can I pass some pointers on COM object through another method of other COM object.

I.e.
Suppose I have

CoObjectInner – internal object which will be created another object , for handle CoObjectOuter.

CoObjectOuter, which have interface IObjectOuter and this interface has GetInnerObject([out,retval]CoObjectInner** pVal) method which retrieved pointer on internal object.

Formerly on this question I get suggestion that this not way of COM passed pointers on object through methods of an interfaces, and this may raised a lot of trouble, but when I use code like this fashion in my application all work fine. Moreover in any Microsoft Office applications (for instance Word) object model used methods what make same things. And if not use this way in COM then we can’t use hierarchy model, i.e. we can’t
pass internal object through outer, of cause it is possible expose a pointers to a interface of inner object but if inner object contained outbound interfaces then how we can use it in Visual Basic ???
So that VB can catch some events of an COM object necessary defined one with WithEvents word. Although we can declare COM object with WithEvents specification
But we can’t create its object because of this is internal object (we cant create it use new keyword) and also we cant create it within object library and expose one to client. Ultimately we can create outbound interface for outer object and charge to raise all events from internal object through one.
But its more complicated. Where is escape here???

Thought above actually regardless in order to typed so much , but major thing it is –“ why I can’t do this, although other do this???”


And more utilized question on this time.
I create ATL composed control in Visual C++ 6
All work fine but when I placed one on my MFC dialog box (in design mode) then this control appear not properly – simple grew rectangle, but when I run my application when this control view properly.



Thanks if you read this rave from the end.
And maybe some one give to me explicit decision of this trouble??

Sorry for bad eanglish.


GeneralWierd problem with DLL!!! Pin
Brigg Thorp14-Aug-03 2:10
Brigg Thorp14-Aug-03 2:10 
GeneralInterface problem with MF Dialog app. + COM object Pin
Brian van der Beek13-Aug-03 8:36
Brian van der Beek13-Aug-03 8:36 
GeneralRe: Interface problem with MF Dialog app. + COM object Pin
Stephane Rodriguez.13-Aug-03 23:13
Stephane Rodriguez.13-Aug-03 23:13 
Generalhelp for directx Pin
includeh1013-Aug-03 7:51
includeh1013-Aug-03 7:51 
Generalprogramming autocad : GetAttributes Pin
JP GOBLET12-Aug-03 6:29
JP GOBLET12-Aug-03 6:29 
GeneralRe: programming autocad : GetAttributes Pin
Steve S12-Aug-03 22:11
Steve S12-Aug-03 22:11 
GeneralRe: programming autocad : GetAttributes Pin
JP GOBLET12-Aug-03 22:52
JP GOBLET12-Aug-03 22:52 
GeneralRe: programming autocad : GetAttributes Pin
Steve S12-Aug-03 23:38
Steve S12-Aug-03 23:38 
GeneralRe: programming autocad : GetAttributes Pin
JP GOBLET13-Aug-03 0:28
JP GOBLET13-Aug-03 0:28 
GeneralRe: programming autocad : GetAttributes Pin
Steve S13-Aug-03 0:40
Steve S13-Aug-03 0:40 
GeneralRe: programming autocad : GetAttributes Pin
JP GOBLET13-Aug-03 1:15
JP GOBLET13-Aug-03 1:15 
GeneralRe: programming autocad : GetAttributes Pin
JP GOBLET18-Aug-03 6:17
JP GOBLET18-Aug-03 6:17 
GeneralRe: programming autocad : GetAttributes Pin
JP GOBLET18-Aug-03 6:46
JP GOBLET18-Aug-03 6:46 
GeneralRe: programming autocad : GetAttributes Pin
JP GOBLET18-Aug-03 21:23
JP GOBLET18-Aug-03 21:23 
GeneralRe: programming autocad : GetAttributes Pin
Steve S18-Aug-03 22:09
Steve S18-Aug-03 22:09 
GeneralRe: programming autocad : GetAttributes Pin
JP GOBLET19-Aug-03 0:25
JP GOBLET19-Aug-03 0:25 
GeneralRe: programming autocad : GetAttributes Pin
Steve S19-Aug-03 0:38
Steve S19-Aug-03 0: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.