Click here to Skip to main content
15,888,340 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Do not surrender Pin
hrishiS20-Dec-09 21:45
hrishiS20-Dec-09 21:45 
AnswerRe: Over Writing in File System... Pin
Richard MacCutchan20-Dec-09 21:27
mveRichard MacCutchan20-Dec-09 21:27 
GeneralRe: Over Writing in File System... Pin
hrishiS20-Dec-09 21:31
hrishiS20-Dec-09 21:31 
AnswerRe: Over Writing in File System... Pin
Code-o-mat20-Dec-09 22:24
Code-o-mat20-Dec-09 22:24 
QuestionIcons In VC++ Pin
jannathali20-Dec-09 19:52
jannathali20-Dec-09 19:52 
AnswerRe: Icons In VC++ Pin
KingsGambit20-Dec-09 20:25
KingsGambit20-Dec-09 20:25 
AnswerRe: Icons In VC++ Pin
Code-o-mat20-Dec-09 20:48
Code-o-mat20-Dec-09 20:48 
QuestionRunning a windows service in Windows7 Pin
beko20-Dec-09 19:48
beko20-Dec-09 19:48 
I do not know if this is the right place to ask this question but,

I have written a windows service which polls serial port for serial activity and an input device writes out the port with some time interval. In other words, whenever a write occurs, the service reads and process that and make available to another program.

Since it would be a waste of time and resource to poll the port all the time, i was starting the service when the main application is running and stopping it when the program exits. However, this scenario does not work for Windows7 and i could not test it but probably for vista as well.

I used OpenSCManager with CONNECT but cannot open the service with SERVICE_START or SERVICE_STOP privilege.

any idea, how can this be solved? (I am currently reading some UAC stuff but have not found something yet)

Best Regards
QuestionSetWindowPos : Debug assertion Pin
Anu_Bala20-Dec-09 19:33
Anu_Bala20-Dec-09 19:33 
AnswerRe: SetWindowPos : Debug assertion Pin
KingsGambit20-Dec-09 20:21
KingsGambit20-Dec-09 20:21 
GeneralRe: SetWindowPos : Debug assertion Pin
Anu_Bala20-Dec-09 20:29
Anu_Bala20-Dec-09 20:29 
GeneralRe: SetWindowPos : Debug assertion Pin
KingsGambit20-Dec-09 20:30
KingsGambit20-Dec-09 20:30 
GeneralRe: SetWindowPos : Debug assertion Pin
Anu_Bala20-Dec-09 21:31
Anu_Bala20-Dec-09 21:31 
QuestionRe: SetWindowPos : Debug assertion Pin
CPallini20-Dec-09 22:11
mveCPallini20-Dec-09 22:11 
AnswerRe: SetWindowPos : Debug assertion Pin
Anu_Bala20-Dec-09 22:21
Anu_Bala20-Dec-09 22:21 
QuestionRe: SetWindowPos : Debug assertion Pin
CPallini20-Dec-09 22:25
mveCPallini20-Dec-09 22:25 
AnswerRe: SetWindowPos : Debug assertion Pin
Anu_Bala20-Dec-09 22:31
Anu_Bala20-Dec-09 22:31 
QuestionRe: SetWindowPos : Debug assertion Pin
CPallini20-Dec-09 22:39
mveCPallini20-Dec-09 22:39 
AnswerRe: SetWindowPos : Debug assertion [modified] Pin
Tim Craig21-Dec-09 12:36
Tim Craig21-Dec-09 12:36 
GeneralRe: SetWindowPos : Debug assertion Pin
CPallini21-Dec-09 20:34
mveCPallini21-Dec-09 20:34 
GeneralRe: SetWindowPos : Debug assertion Pin
Tim Craig21-Dec-09 21:18
Tim Craig21-Dec-09 21:18 
AnswerRe: SetWindowPos : Debug assertion Pin
Anu_Bala21-Dec-09 16:27
Anu_Bala21-Dec-09 16:27 
QuestionRe: SetWindowPos : Debug assertion Pin
CPallini21-Dec-09 20:32
mveCPallini21-Dec-09 20:32 
AnswerRe: SetWindowPos : Debug assertion Pin
Anu_Bala21-Dec-09 21:45
Anu_Bala21-Dec-09 21:45 
GeneralRe: SetWindowPos : Debug assertion Pin
CPallini21-Dec-09 21:49
mveCPallini21-Dec-09 21:49 

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.