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

C / C++ / MFC

 
GeneralRe: Is there any tools or add-ins to help refactor the codes in vc6? Pin
fantasy12153-Aug-08 17:00
fantasy12153-Aug-08 17:00 
QuestionCreating a dos driver? [modified] Pin
Sauce!3-Aug-08 12:57
Sauce!3-Aug-08 12:57 
AnswerRe: Creating a dos driver? Pin
Sauce!5-Aug-08 20:59
Sauce!5-Aug-08 20:59 
QuestionStarting Windows mobile C++ Development Pin
Jamie Nordmeyer3-Aug-08 12:49
Jamie Nordmeyer3-Aug-08 12:49 
AnswerRe: Starting Windows mobile C++ Development Pin
Garth J Lancaster3-Aug-08 20:05
professionalGarth J Lancaster3-Aug-08 20:05 
QuestionProgress indicator in dialog title Pin
philrk3-Aug-08 11:00
philrk3-Aug-08 11:00 
AnswerRe: Progress indicator in dialog title Pin
Mark Salsbery4-Aug-08 7:51
Mark Salsbery4-Aug-08 7:51 
QuestionCreatefile in Vista Pin
RaymondM3-Aug-08 2:32
RaymondM3-Aug-08 2:32 
I want to install the file data.bmp in system32:

hFile = CreateFile((L"c:\\windows\\system32\\data.bmp"), GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, CREATE_ALWAYS, 0, NULL);

When I run this hFile is given a value, so I write to the file, and close it. Why doesn't it appear in system 32 ?

I have no trouble writing to other folders, but not to Windows, or even to C:.

The problem seems to be pecular to Vista, and certainly doesn't arise on XP.

Raymond Mercier
AnswerRe: Createfile in Vista Pin
Perspx3-Aug-08 2:55
Perspx3-Aug-08 2:55 
GeneralRe: Createfile in Vista Pin
RaymondM3-Aug-08 5:03
RaymondM3-Aug-08 5:03 
GeneralRe: Createfile in Vista Pin
Perspx3-Aug-08 5:26
Perspx3-Aug-08 5:26 
GeneralRe: Createfile in Vista Pin
RaymondM3-Aug-08 20:08
RaymondM3-Aug-08 20:08 
GeneralRe: Createfile in Vista Pin
nisha000003-Aug-08 23:45
nisha000003-Aug-08 23:45 
Questionenum problems with C++ Pin
quilkin3-Aug-08 1:47
quilkin3-Aug-08 1:47 
AnswerRe: enum problems with C++ Pin
Saurabh.Garg3-Aug-08 5:32
Saurabh.Garg3-Aug-08 5:32 
Question(Default) Key duplicated in the registry Pin
hariakuthota3-Aug-08 1:46
hariakuthota3-Aug-08 1:46 
AnswerRe: (Default) Key duplicated in the registry Pin
ThatsAlok3-Aug-08 21:43
ThatsAlok3-Aug-08 21:43 
QuestionRe: (Default) Key duplicated in the registry Pin
David Crow4-Aug-08 3:22
David Crow4-Aug-08 3:22 
QuestionHow to split the monitor into different views(Screens)??? Pin
Super Hornet3-Aug-08 0:19
Super Hornet3-Aug-08 0:19 
AnswerRe: How to split the monitor into different views(Screens)??? Pin
Ștefan-Mihai MOGA3-Aug-08 2:17
professionalȘtefan-Mihai MOGA3-Aug-08 2:17 
QuestionRe: How to split the monitor into different views(Screens)??? Pin
David Crow4-Aug-08 3:33
David Crow4-Aug-08 3:33 
Questionsimple SMTP client ?? Pin
shrims4u2-Aug-08 22:33
shrims4u2-Aug-08 22:33 
AnswerRe: simple SMTP client ?? Pin
Ștefan-Mihai MOGA3-Aug-08 2:12
professionalȘtefan-Mihai MOGA3-Aug-08 2:12 
AnswerRe: simple SMTP client ?? Pin
Varghese Paul M3-Aug-08 2:23
Varghese Paul M3-Aug-08 2:23 
AnswerRe: simple SMTP client ?? Pin
ThatsAlok3-Aug-08 21:33
ThatsAlok3-Aug-08 21:33 

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.