Click here to Skip to main content
15,793,018 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Binary Edit Source Pin
Yusuf20-Mar-09 17:17
Yusuf20-Mar-09 17:17 
AnswerRe: Binary Edit Source Pin
Michael Schubert21-Mar-09 1:49
Michael Schubert21-Mar-09 1:49 
JokeRe: Binary Edit Source Pin
norish21-Mar-09 2:49
norish21-Mar-09 2:49 
JokeRe: Binary Edit Source Pin
Rajesh R Subramanian21-Mar-09 5:52
professionalRajesh R Subramanian21-Mar-09 5:52 
GeneralRe: Binary Edit Source Pin
Michael Schubert21-Mar-09 9:30
Michael Schubert21-Mar-09 9:30 
QuestionReadString() crashes at the end of file? [modified] Pin
AlanLai20-Mar-09 15:37
AlanLai20-Mar-09 15:37 
AnswerRe: ReadString() crashes at the end of file? Pin
CPallini21-Mar-09 2:13
mveCPallini21-Mar-09 2:13 
GeneralRe: ReadString() crashes at the end of file? Pin
AlanLai23-Mar-09 11:24
AlanLai23-Mar-09 11:24 
Everything is as usual. Here is a fragment of the code. Note that COXCsvFile class is a wrapper from Ultimate Toolbox.

COXCsvFile inFile;
CFileException fe;
int nRow=0;
//
// Open the input file
int nColumns = GetOurApp()->m_MIUtility.GetFileColumnCount(sFile, "\t");
if (!inFile.Open(sFile, CFile::modeRead, &fe))
{
return 1;//no record added
}
TRY
{
//inFile.GetColumns(4);
inFile.GetColumns(nColumns);
inFile.SetFieldDelimiter(_T('\t'));//set delimiter as tab
//
// Read the records in one at a time from the second table.
//
while (inFile.ReadLine())
{

inFile.ReadColumn(0, sSelCell);
inFile.ReadColumn(1, sNbCell);
inFile.ReadColumn(2, sRLAttempts);
inFile.ReadColumn(3, sTimeInActiveSet);


dSCellSCODE.strCell = sNbCell;
dSCellSCODE.strCI = strRowData;

m_aTempData.Add(dSCellSCODE);
nRow++;
}
inFile.Close();
}
CATCH_ALL(e)
{
inFile.Abort();
return 1;
}
END_CATCH_ALL
GeneralRe: ReadString() crashes at the end of file? Pin
CPallini23-Mar-09 11:45
mveCPallini23-Mar-09 11:45 
GeneralRe: ReadString() crashes at the end of file? Pin
AlanLai23-Mar-09 12:45
AlanLai23-Mar-09 12:45 
GeneralRe: ReadString() crashes at the end of file? Pin
AlanLai31-Mar-09 10:00
AlanLai31-Mar-09 10:00 
QuestionRun-time error stops dialog when combo box added: [8002] Window Create, and Create Dialog failure Error code-20 Pin
Goo220-Mar-09 13:00
Goo220-Mar-09 13:00 
AnswerRe: Run-time error stops dialog when combo box added: [8002] Window Create, and Create Dialog failure Error code-20 Pin
norish20-Mar-09 20:48
norish20-Mar-09 20:48 
QuestionWant to stop full screen display when using Windows media player Pin
Keith Worden20-Mar-09 9:43
Keith Worden20-Mar-09 9:43 
AnswerRe: Want to stop full screen display when using Windows media player Pin
V Shah11-Mar-10 7:28
V Shah11-Mar-10 7:28 
GeneralRe: Want to stop full screen display when using Windows media player Pin
Keith Worden11-Mar-10 7:45
Keith Worden11-Mar-10 7:45 
QuestionGetSaveFileName: does not work propoerly when the option "Hide file extension for know file type" is checked Pin
zouzoulikou20-Mar-09 8:49
zouzoulikou20-Mar-09 8:49 
AnswerRe: GetSaveFileName: does not work propoerly when the option "Hide file extension for know file type" is checked Pin
David Crow20-Mar-09 8:57
David Crow20-Mar-09 8:57 
GeneralRe: GetSaveFileName: does not work propoerly when the option "Hide file extension for know file type" is checked Pin
zouzoulikou20-Mar-09 23:48
zouzoulikou20-Mar-09 23:48 
GeneralRe: GetSaveFileName: does not work propoerly when the option "Hide file extension for know file type" is checked Pin
David Crow21-Mar-09 17:11
David Crow21-Mar-09 17:11 
AnswerRe: GetSaveFileName: does not work propoerly when the option "Hide file extension for know file type" is checked Pin
norish21-Mar-09 2:54
norish21-Mar-09 2:54 
Questionhow to use #pragma data_seq() Pin
ernst2002053020-Mar-09 8:48
ernst2002053020-Mar-09 8:48 
AnswerRe: how to use #pragma data_seq() Pin
David Crow20-Mar-09 8:55
David Crow20-Mar-09 8:55 
GeneralRe: how to use #pragma data_seq() Pin
ernst2002053020-Mar-09 9:04
ernst2002053020-Mar-09 9:04 
GeneralRe: how to use #pragma data_seq() Pin
David Crow20-Mar-09 9:09
David Crow20-Mar-09 9:09 

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.