Click here to Skip to main content
15,921,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCWinthread Pin
LCI5-Mar-08 12:35
LCI5-Mar-08 12:35 
GeneralRe: CWinthread Pin
LCI5-Mar-08 12:38
LCI5-Mar-08 12:38 
GeneralRe: CWinthread Pin
Mark Salsbery5-Mar-08 13:40
Mark Salsbery5-Mar-08 13:40 
GeneralRe: CWinthread Pin
LCI6-Mar-08 1:20
LCI6-Mar-08 1:20 
GeneralRe: CWinthread Pin
LCI6-Mar-08 1:33
LCI6-Mar-08 1:33 
GeneralRe: CWinthread Pin
Mark Salsbery6-Mar-08 5:10
Mark Salsbery6-Mar-08 5:10 
GeneralRe: CWinthread Pin
Mark Salsbery6-Mar-08 5:14
Mark Salsbery6-Mar-08 5:14 
GeneralService or Singleton COM exe or DLL Pin
act_x5-Mar-08 11:13
act_x5-Mar-08 11:13 
Hi ,
I have a requirement , where I want one entity to be persistent in the computer.
I am struggling to decide on what this entity will be .

My model is such that I want to be able to intercept USB device notifications utilizing the WM_DEVICE_CHANGE messages by creating a hidden window in this entity and then update the elements of a system tray icon ( which exposes a Menu ) .

So my requirement does not fit the Client Server model , yet I am leaning towards COM to provide one EXE that does it all . So in other words , this entity will not provide any APIs for other clients to use . Am I unnecessarily using COM ?

So finally I need to finalize the form that this need to take .

Service - actually the Visual Studio 6 gives the option to create a COM Object as a Service.

COM DLL

COM EXE

Standalone EXE ?

Your inputs are really appreciated

Engineering is the effort !

GeneralRe: Service or Singleton COM exe or DLL Pin
Matthew Faithfull5-Mar-08 12:23
Matthew Faithfull5-Mar-08 12:23 
Generalusing New Opperator for object pointers ( Polymorphism ) Pin
ScotDolan5-Mar-08 10:07
ScotDolan5-Mar-08 10:07 
GeneralRe: using New Opperator for object pointers ( Polymorphism ) Pin
led mike5-Mar-08 11:34
led mike5-Mar-08 11:34 
GeneralRe: using New Opperator for object pointers ( Polymorphism ) Pin
ScotDolan5-Mar-08 12:18
ScotDolan5-Mar-08 12:18 
GeneralRe: using New Opperator for object pointers ( Polymorphism ) Pin
Randor 5-Mar-08 13:06
professional Randor 5-Mar-08 13:06 
GeneralRe: using New Opperator for object pointers ( Polymorphism ) Pin
Mark Salsbery5-Mar-08 14:16
Mark Salsbery5-Mar-08 14:16 
GeneralRe: using New Opperator for object pointers ( Polymorphism ) Pin
led mike6-Mar-08 6:09
led mike6-Mar-08 6:09 
GeneralRe: using New Opperator for object pointers ( Polymorphism ) Pin
Mark Salsbery6-Mar-08 6:12
Mark Salsbery6-Mar-08 6:12 
GeneralRe: using New Opperator for object pointers ( Polymorphism ) Pin
led mike6-Mar-08 6:31
led mike6-Mar-08 6:31 
GeneralKnowing if the Application is already beeing executed (Previnstance) Pin
marcio kovags5-Mar-08 7:44
marcio kovags5-Mar-08 7:44 
GeneralRe: Knowing if the Application is already beeing executed (Previnstance) Pin
Randor 5-Mar-08 7:57
professional Randor 5-Mar-08 7:57 
GeneralRe: Knowing if the Application is already beeing executed (Previnstance) Pin
Joan M5-Mar-08 7:59
professionalJoan M5-Mar-08 7:59 
GeneralRe: Knowing if the Application is already beeing executed (Previnstance) Pin
CPallini5-Mar-08 8:04
mveCPallini5-Mar-08 8:04 
AnswerRe: Knowing if the Application is already beeing executed (Previnstance) Pin
Roger Stoltz5-Mar-08 21:12
Roger Stoltz5-Mar-08 21:12 
GeneralWindows Service Pin
act_x5-Mar-08 6:59
act_x5-Mar-08 6:59 
GeneralRe: Windows Service Pin
Joan M5-Mar-08 7:19
professionalJoan M5-Mar-08 7:19 
GeneralRe: Windows Service Pin
Mark Salsbery5-Mar-08 11:53
Mark Salsbery5-Mar-08 11:53 

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.