Click here to Skip to main content
15,914,488 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SetDefaultCommConfig does not control / save DTR / RTS parameters - why ? Pin
Vaclav_23-Nov-11 3:49
Vaclav_23-Nov-11 3:49 
Questionstring operation Pin
robin70022-Nov-11 9:40
robin70022-Nov-11 9:40 
AnswerRe: string operation Pin
Richard MacCutchan22-Nov-11 9:59
mveRichard MacCutchan22-Nov-11 9:59 
GeneralRe: string operation Pin
robin70022-Nov-11 10:13
robin70022-Nov-11 10:13 
GeneralRe: string operation Pin
Richard MacCutchan22-Nov-11 10:22
mveRichard MacCutchan22-Nov-11 10:22 
GeneralRe: string operation Pin
CPallini22-Nov-11 21:45
mveCPallini22-Nov-11 21:45 
GeneralRe: Here is simple loop to collect all the names Pin
Software_Developer22-Nov-11 22:09
Software_Developer22-Nov-11 22:09 
QuestionHow to grant access rights Pin
William Engberts22-Nov-11 2:07
William Engberts22-Nov-11 2:07 
Hi all,

I have a program that runs as a service somewhere on a server. It communicates with a console-type program (possibly on another machine within the network) by means of a messages file. The file is created by the service (because there may be multiple console programs running) However, the service is started by an administrator. Due to this, the console programs do not have access rights to the messages file. It works fine if I create the file manually (the service only creates if it does not exist) but if the file for some reason gets deleted, the consoles are no longer able to add their messages into the file.
Is there a way in which I can grant full control rights to all users from the service program after creating the file?
Anyone? Please?

Thanks in advance,
William
AnswerRe: How to grant access rights Pin
Chris Meech22-Nov-11 3:02
Chris Meech22-Nov-11 3:02 
GeneralRe: How to grant access rights Pin
William Engberts22-Nov-11 3:09
William Engberts22-Nov-11 3:09 
GeneralRe: How to grant access rights Pin
Chris Meech22-Nov-11 3:13
Chris Meech22-Nov-11 3:13 
QuestionHow to create 2 tree view in one window Pin
akash chourasia22-Nov-11 1:15
akash chourasia22-Nov-11 1:15 
AnswerRe: How to create 2 tree view in one window Pin
_AnsHUMAN_ 22-Nov-11 1:40
_AnsHUMAN_ 22-Nov-11 1:40 
GeneralRe: How to create 2 tree view in one window Pin
akash chourasia22-Nov-11 17:54
akash chourasia22-Nov-11 17:54 
AnswerRe: How to create 2 tree view in one window Pin
Roger Allen22-Nov-11 2:10
Roger Allen22-Nov-11 2:10 
QuestionClose documents problem Pin
_Flaviu22-Nov-11 0:30
_Flaviu22-Nov-11 0:30 
AnswerRe: Close documents problem Pin
Roger Allen22-Nov-11 2:14
Roger Allen22-Nov-11 2:14 
GeneralRe: Close documents problem Pin
_Flaviu22-Nov-11 2:43
_Flaviu22-Nov-11 2:43 
AnswerRe: Close documents problem Pin
Stefan_Lang22-Nov-11 3:50
Stefan_Lang22-Nov-11 3:50 
GeneralRe: Close documents problem Pin
_Flaviu22-Nov-11 9:17
_Flaviu22-Nov-11 9:17 
GeneralRe: Close documents problem Pin
_Flaviu22-Nov-11 9:24
_Flaviu22-Nov-11 9:24 
GeneralRe: Close documents problem Pin
Stefan_Lang22-Nov-11 21:59
Stefan_Lang22-Nov-11 21:59 
GeneralRe: Close documents problem Pin
_Flaviu23-Nov-11 2:46
_Flaviu23-Nov-11 2:46 
GeneralRe: Close documents problem Pin
_Flaviu23-Nov-11 20:25
_Flaviu23-Nov-11 20:25 
QuestionMainWindow of dll how to launch from client exe Pin
appollosputnik21-Nov-11 16:06
appollosputnik21-Nov-11 16:06 

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.