Click here to Skip to main content
15,906,574 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMFC and MySql Pin
Ming Luo9-Sep-05 9:10
Ming Luo9-Sep-05 9:10 
AnswerRe: MFC and MySql Pin
David Crow9-Sep-05 10:03
David Crow9-Sep-05 10:03 
GeneralRe: MFC and MySql Pin
Ming Luo9-Sep-05 10:52
Ming Luo9-Sep-05 10:52 
QuestionCListView SetInfoTip Pin
Stache9-Sep-05 9:08
Stache9-Sep-05 9:08 
AnswerRe: CListView SetInfoTip Pin
Anonymous9-Sep-05 23:38
Anonymous9-Sep-05 23:38 
GeneralRe: CListView SetInfoTip Pin
Stache10-Sep-05 5:40
Stache10-Sep-05 5:40 
Questionreading a .rc file Pin
yyatskar9-Sep-05 8:38
yyatskar9-Sep-05 8:38 
AnswerRe: reading a .rc file Pin
David Crow9-Sep-05 8:48
David Crow9-Sep-05 8:48 
Given the following format:

STRINGTABLE PRELOAD DISCARDABLE 
BEGIN
    ID1     "GymScores"
    ID2     "Ready"
END
 
STRINGTABLE DISCARDABLE 
BEGIN
    ID_INDICATOR_EXT        "EXT"
    ID_INDICATOR_CAPS       "CAP"
    ID_INDICATOR_NUM        "NUM"
    ID_INDICATOR_OVR        "OVR"
    ID_INDICATOR_REC        "REC"
    ID_INDICATOR_ITEMCOUNT  "9,999 items"
END
You would need to read each line of the file until you find a line starting with "STRINGTABLE." Skip the next line that starts with "BEGIN," and process the next N lines until you encounter one that starts with "END." Since there can be multiple STRINGTABLE/BEGIN/END sections, you'll need to do this in a loop. Make sense?


"One must learn from the bite of the fire to leave it alone." - Native American Proverb


QuestionMapViewOfFile with different protection attribute Pin
Chintoo7239-Sep-05 7:42
Chintoo7239-Sep-05 7:42 
AnswerRe: MapViewOfFile with different protection attribute Pin
Chintoo7239-Sep-05 8:29
Chintoo7239-Sep-05 8:29 
QuestionDetecting if an app is closed from with in the view Pin
tcss9-Sep-05 6:18
tcss9-Sep-05 6:18 
AnswerRe: Detecting if an app is closed from with in the view Pin
David Crow9-Sep-05 7:18
David Crow9-Sep-05 7:18 
AnswerRe: Detecting if an app is closed from with in the view Pin
tcss9-Sep-05 9:16
tcss9-Sep-05 9:16 
QuestionHelp need in programing Pin
thunderheart9-Sep-05 6:06
thunderheart9-Sep-05 6:06 
GeneralRe: Help need in programing Pin
Maximilien9-Sep-05 6:47
Maximilien9-Sep-05 6:47 
QuestionHelp!Replace mfc default icon Pin
Laffis9-Sep-05 6:04
Laffis9-Sep-05 6:04 
AnswerRe: Help!Replace mfc default icon Pin
krmed9-Sep-05 6:45
krmed9-Sep-05 6:45 
AnswerRe: Help!Replace mfc default icon Pin
David Crow9-Sep-05 7:13
David Crow9-Sep-05 7:13 
QuestionVC7 compiled projects still work on 98/ME? Pin
RickGavin9-Sep-05 5:48
RickGavin9-Sep-05 5:48 
AnswerRe: VC7 compiled projects still work on 98/ME? Pin
David Crow9-Sep-05 6:00
David Crow9-Sep-05 6:00 
GeneralRe: VC7 compiled projects still work on 98/ME? Pin
RickGavin9-Sep-05 6:20
RickGavin9-Sep-05 6:20 
GeneralRe: VC7 compiled projects still work on 98/ME? Pin
David Crow9-Sep-05 7:10
David Crow9-Sep-05 7:10 
GeneralRe: VC7 compiled projects still work on 98/ME? Pin
RickGavin9-Sep-05 7:14
RickGavin9-Sep-05 7:14 
GeneralRe: VC7 compiled projects still work on 98/ME? Pin
David Crow9-Sep-05 7:21
David Crow9-Sep-05 7:21 
GeneralRe: VC7 compiled projects still work on 98/ME? Pin
RickGavin9-Sep-05 7:36
RickGavin9-Sep-05 7:36 

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.