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

C / C++ / MFC

 
AnswerRe: timer start problem Pin
«_Superman_»29-Jun-09 0:35
professional«_Superman_»29-Jun-09 0:35 
GeneralRe: timer start problem Pin
susanne129-Jun-09 0:57
susanne129-Jun-09 0:57 
AnswerRe: timer start problem Pin
Stuart Dootson29-Jun-09 0:39
professionalStuart Dootson29-Jun-09 0:39 
GeneralRe: timer start problem Pin
susanne129-Jun-09 1:15
susanne129-Jun-09 1:15 
GeneralRe: timer start problem Pin
Chandrasekharan P29-Jun-09 1:57
Chandrasekharan P29-Jun-09 1:57 
GeneralRe: timer start problem Pin
Stuart Dootson29-Jun-09 2:39
professionalStuart Dootson29-Jun-09 2:39 
QuestionCreateFile related Pin
ashish8patil29-Jun-09 0:07
ashish8patil29-Jun-09 0:07 
AnswerRe: CreateFile related Pin
Cedric Moonen29-Jun-09 0:16
Cedric Moonen29-Jun-09 0:16 
ashish8patil wrote:
means i am reading and on some condition i have to Use WrteFile()
i try using SetFilePointer But i was not able to do that ,,how to go back in file.


Don't do this. A much better (and probably easier) way is to write the full file once again. The problem is that when writing you are not able to insert new characters. Which means that if your entry was 9 (1 character) before and has to be overwritten by 10 (2 characters), this is not possible.

So, when open the file for reading, specifying that the contents should be cleared and then write your full structure again.

Cédric Moonen
Software developer

Charting control [v2.0]
OpenGL game tutorial in C++

GeneralRe: CreateFile related Pin
ashish8patil29-Jun-09 0:23
ashish8patil29-Jun-09 0:23 
AnswerRe: CreateFile related Pin
«_Superman_»29-Jun-09 0:18
professional«_Superman_»29-Jun-09 0:18 
GeneralRe: CreateFile related Pin
ashish8patil29-Jun-09 0:28
ashish8patil29-Jun-09 0:28 
GeneralRe: CreateFile related Pin
«_Superman_»29-Jun-09 0:31
professional«_Superman_»29-Jun-09 0:31 
GeneralRe: CreateFile related Pin
ashish8patil29-Jun-09 0:36
ashish8patil29-Jun-09 0:36 
AnswerRe: CreateFile related Pin
Luc Pattyn29-Jun-09 0:20
sitebuilderLuc Pattyn29-Jun-09 0:20 
AnswerRe: CreateFile related Pin
Stuart Dootson29-Jun-09 0:32
professionalStuart Dootson29-Jun-09 0:32 
QuestionCDockablePane Autohide issue Pin
Harsh Shankar28-Jun-09 23:39
Harsh Shankar28-Jun-09 23:39 
Questionlist and ip control in mfc Pin
rahuljin28-Jun-09 23:37
rahuljin28-Jun-09 23:37 
AnswerRe: list and ip control in mfc Pin
«_Superman_»28-Jun-09 23:48
professional«_Superman_»28-Jun-09 23:48 
GeneralRe: list and ip control in mfc Pin
rahuljin28-Jun-09 23:54
rahuljin28-Jun-09 23:54 
GeneralRe: list and ip control in mfc Pin
«_Superman_»28-Jun-09 23:57
professional«_Superman_»28-Jun-09 23:57 
QuestionSHFileOperation and Vista64 Pin
khb28-Jun-09 21:51
khb28-Jun-09 21:51 
AnswerRe: SHFileOperation and Vista64 Pin
«_Superman_»28-Jun-09 22:25
professional«_Superman_»28-Jun-09 22:25 
GeneralRe: SHFileOperation and Vista64 Pin
khb28-Jun-09 22:38
khb28-Jun-09 22:38 
GeneralRe: SHFileOperation and Vista64 Pin
«_Superman_»28-Jun-09 22:39
professional«_Superman_»28-Jun-09 22:39 
GeneralRe: SHFileOperation and Vista64 Pin
khb28-Jun-09 22:48
khb28-Jun-09 22:48 

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.