Click here to Skip to main content
15,912,400 members
Home / Discussions / COM
   

COM

 
AnswerRe: Urgent : Regarding the delete w.r.t COM Pin
janadhana16-Oct-06 22:24
janadhana16-Oct-06 22:24 
AnswerRe: Urgent : Regarding the delete w.r.t COM Pin
prasad_som16-Oct-06 22:36
prasad_som16-Oct-06 22:36 
GeneralRe: Urgent : Regarding the delete w.r.t COM [modified] Pin
Jörgen Sigvardsson18-Oct-06 9:07
Jörgen Sigvardsson18-Oct-06 9:07 
GeneralRe: Urgent : Regarding the delete w.r.t COM Pin
janadhana23-Oct-06 1:38
janadhana23-Oct-06 1:38 
AnswerRe: Urgent : Regarding the delete w.r.t COM Pin
User 21559716-Oct-06 23:10
User 21559716-Oct-06 23:10 
GeneralRe: Urgent : Regarding the delete w.r.t COM Pin
janadhana23-Oct-06 1:40
janadhana23-Oct-06 1:40 
QuestionConverting exe to com Pin
ashokvishnu16-Oct-06 17:59
ashokvishnu16-Oct-06 17:59 
AnswerRe: Converting exe to com Pin
Mike Dimmick17-Oct-06 0:09
Mike Dimmick17-Oct-06 0:09 
I have to ask why you want a 'COM application'. Generally the only reasons for exposing existing code as COM objects are to support OLE linking and embedding, or to offer an automation interface to allow your program (and its data) to be manipulated by another application.

If you simply want to write some COM objects which run in another process context, with no user interface, you generally don't start from an existing program. If I were starting from scratch in C++ I would use the ATL AppWizard to generate a new EXE project.

The easiest way to support the first two requirements - OLE and/or Automation - will depend on the language and libraries you have used to produce your application. If you're already using MFC, you will probably want to use MFC's OLE support, which is based around the CDocument class. See the Servers: Implementing a Server[^] topic in MSDN Library.

If you're using C++ but not MFC you may find ATL helpful. However, it's pretty complex for a beginner.

Stability. What an interesting concept. -- Chris Maunder

GeneralRe: Converting exe to com Pin
ashokvishnu17-Oct-06 0:58
ashokvishnu17-Oct-06 0:58 
GeneralRe: Converting exe to com Pin
mpk197917-Oct-06 21:22
mpk197917-Oct-06 21:22 
GeneralRe: Converting exe to com Pin
Mike Dimmick18-Oct-06 0:42
Mike Dimmick18-Oct-06 0:42 
GeneralRe: Converting exe to com Pin
mpk197918-Oct-06 20:17
mpk197918-Oct-06 20:17 
GeneralRe: Converting exe to com Pin
Mike Dimmick18-Oct-06 1:02
Mike Dimmick18-Oct-06 1:02 
GeneralRe: Converting exe to com Pin
ashokvishnu18-Oct-06 18:06
ashokvishnu18-Oct-06 18:06 
GeneralRe: Converting exe to com Pin
mpk197922-Oct-06 18:55
mpk197922-Oct-06 18:55 
Questionaccess controls Pin
vtalau16-Oct-06 17:51
vtalau16-Oct-06 17:51 
QuestionHandling events from COM without TypeLIB in C#.NET Pin
Aleksey.Andreev16-Oct-06 4:52
Aleksey.Andreev16-Oct-06 4:52 
GeneralRe: Handling events from COM without TypeLIB in C#.NET Pin
prasad_som16-Oct-06 21:23
prasad_som16-Oct-06 21:23 
QuestionVC++ app crashes unusally when COM functions called Pin
dharani16-Oct-06 3:16
dharani16-Oct-06 3:16 
QuestionRe: VC++ app crashes unusally when COM functions called Pin
prasad_som16-Oct-06 4:48
prasad_som16-Oct-06 4:48 
AnswerRe: VC++ app crashes unusally when COM functions called Pin
Hamid_RT18-Oct-06 19:27
Hamid_RT18-Oct-06 19:27 
QuestionCOM+ Pin
AnhTin13-Oct-06 23:15
AnhTin13-Oct-06 23:15 
AnswerRe: COM+ Pin
Steve S16-Oct-06 21:35
Steve S16-Oct-06 21:35 
QuestionMFC ActiveX Control Errors Pin
Stober13-Oct-06 9:48
Stober13-Oct-06 9:48 
AnswerRe: MFC ActiveX Control Errors Pin
Stober13-Oct-06 11:51
Stober13-Oct-06 11:51 

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.