Click here to Skip to main content
15,923,376 members
Home / Discussions / COM
   

COM

 
AnswerRe: Activating IE proxy settings...? Pin
Tommy Svensson14-Aug-02 21:59
Tommy Svensson14-Aug-02 21:59 
QuestionHow can I pass a string from ActiveX to Javascript Pin
codeminder13-Aug-02 4:13
codeminder13-Aug-02 4:13 
AnswerRe: How can I pass a string from ActiveX to Javascript Pin
Ernest Laurentin13-Aug-02 16:31
Ernest Laurentin13-Aug-02 16:31 
GeneralRe: How can I pass a string from ActiveX to Javascript Pin
codeminder13-Aug-02 20:11
codeminder13-Aug-02 20:11 
QuestionAnybody has any example of automating folders/contacts in outlook??? Pin
LukeV13-Aug-02 2:20
LukeV13-Aug-02 2:20 
AnswerRe: Anybody has any example of automating folders/contacts in outlook??? Pin
LukeV13-Aug-02 2:58
LukeV13-Aug-02 2:58 
QuestionCOM API ???? Pin
Ayyaz10-Aug-02 0:48
Ayyaz10-Aug-02 0:48 
AnswerRe: COM API ???? Pin
Giles10-Aug-02 2:03
Giles10-Aug-02 2:03 
COM without ATL, can be done in any of the projects using pure C++. e.g. an in process dll server is the easiset as long as you include the right headers - <windows.h>

If you need to host it remotely at a later date, or just out of proccess on the same machine you can use DllHost.exe or even MTS or COM+

I would recommend going for an empty dll project, and start from there, but do use MIDL if you want your COM components to be used outside of C++, as it will create the type library that will be needed by other langauges e.g. VB.

The onbe thing to watch out for here is that you will have to implement your own DllRegServer and DllUnRegisterServer, which ATL would handle for you. DllCanUnloadNow, and DllGetClassObject as well thinking about it, but they are much less messy.

And you will need to implement IUnknown, and IClassFactory yourself too, but thats quite straight forward.

Does this make sense or have I missed the point? Thinking about it, you save you have implemented it, but you wnat to put it in a new project? Sounds like the easy bit.
AnswerRe: COM API ???? Pin
Anonymous14-Aug-02 7:32
Anonymous14-Aug-02 7:32 
Generalvector of smart pointers Pin
Jeremy Pullicino8-Aug-02 21:48
Jeremy Pullicino8-Aug-02 21:48 
GeneralRe: vector of smart pointers Pin
NormDroid10-Aug-02 0:56
professionalNormDroid10-Aug-02 0:56 
GeneralRe: vector of smart pointers Pin
Paul M Watt15-Aug-02 20:11
mentorPaul M Watt15-Aug-02 20:11 
GeneralIShellView without creating a namespace Pin
Jonatan Dahl8-Aug-02 15:24
Jonatan Dahl8-Aug-02 15:24 
Generaltype mismatch Pin
Lily188-Aug-02 4:06
Lily188-Aug-02 4:06 
GeneralRe: type mismatch Pin
Anonymous15-Aug-02 17:02
Anonymous15-Aug-02 17:02 
GeneralIContextMenu copy in app to Explorer Pin
Null_Vector7-Aug-02 14:26
Null_Vector7-Aug-02 14:26 
GeneralRe: IContextMenu copy in app to Explorer Pin
Null_Vector9-Aug-02 0:24
Null_Vector9-Aug-02 0:24 
Generalneed help for CoInitializeEx(..) Pin
Jawid7-Aug-02 5:23
Jawid7-Aug-02 5:23 
GeneralRe: need help for CoInitializeEx(..) Pin
Mark Janveaux7-Aug-02 13:03
Mark Janveaux7-Aug-02 13:03 
GeneralPassing an interface through an ATL interface Pin
HawkSoftware6-Aug-02 10:36
HawkSoftware6-Aug-02 10:36 
GeneralRe: Passing an interface through an ATL interface Pin
Mark Janveaux6-Aug-02 13:01
Mark Janveaux6-Aug-02 13:01 
GeneralRe: Passing an interface through an ATL interface Pin
HawkSoftware6-Aug-02 15:46
HawkSoftware6-Aug-02 15:46 
GeneralRe: Passing an interface through an ATL interface Pin
Mark Janveaux6-Aug-02 17:45
Mark Janveaux6-Aug-02 17:45 
GeneralAdding MFC to existing COM Server DLL Pin
b_p_smith6-Aug-02 4:23
b_p_smith6-Aug-02 4:23 
GeneralRe: Adding MFC to existing COM Server DLL Pin
Anonymous7-Aug-02 23:59
Anonymous7-Aug-02 23:59 

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.