Click here to Skip to main content
15,924,581 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCInternetSession Assertion Failure Pin
İsmail Durmaz22-Dec-07 7:37
İsmail Durmaz22-Dec-07 7:37 
GeneralRe: CInternetSession Assertion Failure Pin
Mark Salsbery22-Dec-07 8:22
Mark Salsbery22-Dec-07 8:22 
QuestionRe: CInternetSession Assertion Failure Pin
İsmail Durmaz22-Dec-07 9:26
İsmail Durmaz22-Dec-07 9:26 
GeneralRe: CInternetSession Assertion Failure Pin
David Crow23-Dec-07 3:04
David Crow23-Dec-07 3:04 
GeneralRe: CInternetSession Assertion Failure Pin
Mark Salsbery23-Dec-07 6:40
Mark Salsbery23-Dec-07 6:40 
GeneralWhen opening a file, the window becomes smaller [modified] Pin
followait22-Dec-07 6:22
followait22-Dec-07 6:22 
GeneralDeclaring a constant or variable in a windows form Pin
Manfr3d22-Dec-07 4:42
Manfr3d22-Dec-07 4:42 
GeneralRe: Declaring a constant or variable in a windows form Pin
CPallini22-Dec-07 5:26
mveCPallini22-Dec-07 5:26 
QuestionDeploying an application with Private assemblies Pin
ComplexLifeForm22-Dec-07 2:59
ComplexLifeForm22-Dec-07 2:59 
GeneralChanging colors of edit control Pin
HenriH22-Dec-07 1:07
HenriH22-Dec-07 1:07 
GeneralRe: Changing colors of edit control Pin
Hamid_RT22-Dec-07 1:17
Hamid_RT22-Dec-07 1:17 
GeneralRe: Changing colors of edit control Pin
HenriH22-Dec-07 1:49
HenriH22-Dec-07 1:49 
GeneralRe: Changing colors of edit control Pin
Hamid_RT22-Dec-07 2:13
Hamid_RT22-Dec-07 2:13 
GeneralRunTime Error in MFC Pin
saravana00121-Dec-07 22:20
saravana00121-Dec-07 22:20 
GeneralRe: RunTime Error in MFC Pin
Hamid_RT22-Dec-07 1:14
Hamid_RT22-Dec-07 1:14 
GeneralDocKable toobar Pin
johnalek21-Dec-07 21:48
johnalek21-Dec-07 21:48 
GeneralRe: DocKable toobar Pin
ritz123421-Dec-07 23:09
ritz123421-Dec-07 23:09 
GeneralPrinting problem.. Pin
panthal21-Dec-07 21:07
panthal21-Dec-07 21:07 
QuestionRe: Printing problem.. Pin
David Crow22-Dec-07 4:34
David Crow22-Dec-07 4:34 
GeneralRe: Printing problem.. Pin
panthal22-Dec-07 17:04
panthal22-Dec-07 17:04 
QuestionRe: Printing problem.. Pin
David Crow23-Dec-07 2:57
David Crow23-Dec-07 2:57 
Generaliostream file content modification questions Pin
Maxwell Chen21-Dec-07 20:15
Maxwell Chen21-Dec-07 20:15 
QuestionRe: iostream file content modification questions Pin
CPallini22-Dec-07 0:37
mveCPallini22-Dec-07 0:37 
GeneralRe: iostream file content modification questions Pin
Maxwell Chen22-Dec-07 2:58
Maxwell Chen22-Dec-07 2:58 
CPallini wrote:
Why do you want to use iostream when GetPrivateProfileString will make your task so much easier?


My target is oem*.inf in C:\Windows\inf. GetPrivateProfileString is for .ini files. It looks like also working for .inf files. I will try it on Monday. Thanks! Big Grin | :-D

By the way if the target is gereral article content, what would be a better way (efficient) to modify and to delete substrings in the file?

For example (below paragraph), to delete "will", and locate the next word "make" and append an "s" to form "makes".
Why do you want to use iostream when GetPrivateProfileString will make your task so much easier?


Maxwell Chen

GeneralRe: iostream file content modification questions Pin
CPallini22-Dec-07 3:24
mveCPallini22-Dec-07 3:24 

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.