Click here to Skip to main content
15,568,809 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: char *> string conversion , env[] Pin
ALLERSLIT26-Oct-10 8:50
ALLERSLIT26-Oct-10 8:50 
QuestionRe: char *> string conversion , env[] Pin
David Crow26-Oct-10 8:53
David Crow26-Oct-10 8:53 
AnswerRe: char *> string conversion , env[] Pin
ALLERSLIT26-Oct-10 9:16
ALLERSLIT26-Oct-10 9:16 
QuestionRe: char *> string conversion , env[] Pin
David Crow26-Oct-10 9:20
David Crow26-Oct-10 9:20 
GeneralRe: char *> string conversion , env[] Pin
CPallini26-Oct-10 10:28
mveCPallini26-Oct-10 10:28 
GeneralRe: char *> string conversion , env[] Pin
CPallini26-Oct-10 8:50
mveCPallini26-Oct-10 8:50 
GeneralRe: char *> string conversion , env[] Pin
Richard MacCutchan26-Oct-10 11:28
mveRichard MacCutchan26-Oct-10 11:28 
QuestionHow to unregister a windows service? Pin
Aseem Sharma26-Oct-10 7:48
Aseem Sharma26-Oct-10 7:48 
I have made a .net application which uses a COM component hosted by a C++ service. The service is a simple C++ service developed using ATL (and not using MFC).

Everything works fine on my dev machine as most of the work is done by VisualStudio itself.

Now I have to make installer of my application (application should be able to get install on XP, VISTA and Windows 7). I am following below steps to register my service:

"C:\Program Files\MyApplication\MyService.exe" -service (For registering the service)
"C:\Program Files\MyApplication\MyService.exe" -Embedding (For registering the COM component hosted by service)

And to unregister my service and COM component hosted by it I am following below step:

"C:\Program Files\MyApplication\MyService.exe" -UnregServer

Q: Please let me know if steps to register and unregister the service and COM component it hosts, are correct or I am doing something wrong. Or I am missing something.

I don't have VISTA and Windows 7 on my machine and have not ever worked on them. So its important to confirm before I release my application.

Thanks in Advance
Regards
Aseem
QuestionCross referencing resource ID between source code and resource file ? Pin
Maximilien26-Oct-10 5:15
Maximilien26-Oct-10 5:15 
AnswerRe: Cross referencing resource ID between source code and resource file ? Pin
David Crow26-Oct-10 5:27
David Crow26-Oct-10 5:27 
AnswerRe: Cross referencing resource ID between source code and resource file ? Pin
Sauro Viti26-Oct-10 5:45
professionalSauro Viti26-Oct-10 5:45 
QuestionC++ parser Pin
Andrea Di Domenico26-Oct-10 4:44
Andrea Di Domenico26-Oct-10 4:44 
AnswerRe: C++ parser Pin
Cedric Moonen26-Oct-10 5:45
Cedric Moonen26-Oct-10 5:45 
GeneralRe: C++ parser Pin
Andrea Di Domenico26-Oct-10 6:27
Andrea Di Domenico26-Oct-10 6:27 
GeneralRe: C++ parser Pin
Cedric Moonen26-Oct-10 8:25
Cedric Moonen26-Oct-10 8:25 
AnswerRe: C++ parser Pin
CPallini26-Oct-10 6:58
mveCPallini26-Oct-10 6:58 
AnswerRe: C++ parser [modified] Pin
Rick York26-Oct-10 9:14
mveRick York26-Oct-10 9:14 
JokeRe: C++ parser Pin
Alain Rist26-Oct-10 11:48
Alain Rist26-Oct-10 11:48 
GeneralRe: C++ parser Pin
Rick York27-Oct-10 11:37
mveRick York27-Oct-10 11:37 
GeneralRe: C++ parser Pin
Alain Rist27-Oct-10 11:59
Alain Rist27-Oct-10 11:59 
GeneralRe: C++ parser Pin
Andrea Di Domenico2-Nov-10 4:47
Andrea Di Domenico2-Nov-10 4:47 
AnswerRe: C++ parser Pin
Alain Rist26-Oct-10 11:44
Alain Rist26-Oct-10 11:44 
QuestionHow to update records on live(remote) database from local machine ... Pin
shiv@nand26-Oct-10 0:58
shiv@nand26-Oct-10 0:58 
QuestionRe: How to update records on live(remote) database from local machine ... Pin
David Crow26-Oct-10 4:42
David Crow26-Oct-10 4:42 
QuestionAbout dialog bar that supports a drop-down for extra controls in it Pin
Nishad S25-Oct-10 20:46
Nishad S25-Oct-10 20:46 

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.