Click here to Skip to main content
16,007,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Full Screen Dialog Bug Pin
#realJSOP9-Dec-02 5:14
professional#realJSOP9-Dec-02 5:14 
GeneralRe: Full Screen Dialog Bug Pin
Scott H. Settlemier9-Dec-02 5:24
Scott H. Settlemier9-Dec-02 5:24 
GeneralRe: Full Screen Dialog Bug Pin
mediamaster409-Dec-02 6:15
mediamaster409-Dec-02 6:15 
GeneralRe: Full Screen Dialog Bug Pin
Joan M9-Dec-02 20:23
professionalJoan M9-Dec-02 20:23 
GeneralRe: Full Screen Dialog Bug Pin
Scott H. Settlemier10-Dec-02 4:01
Scott H. Settlemier10-Dec-02 4:01 
GeneralRe: Full Screen Dialog Bug Pin
mediamaster4010-Dec-02 4:23
mediamaster4010-Dec-02 4:23 
GeneralRe: Full Screen Dialog Bug Pin
Scott H. Settlemier10-Dec-02 6:41
Scott H. Settlemier10-Dec-02 6:41 
Generalfopen and CStringArray Pin
Anonymous9-Dec-02 3:09
Anonymous9-Dec-02 3:09 
I am opening a text file with fopen. I can read in text strings and assign them to a CString. I am trying to set the CString in a CStringArray for later use but the computer doesn't like it.


CString s;
FILE *pSkinfile = fopen ((LPCTSTR) lpFileName2, "rt");
if (!pSkinfile)
{
return false;
}

do
{
fgets (szLine, 256, pSkinfile);
for(zero = 0; zero < numSurf; zero++)
{
match = strncmp (szLine, stringArraySurfaces.GetAt(ij), n_lengthArray[ij]);
if(match == 0)
{
sscanf (szLine, "%s", S1);
->This line screws it up stringArrayPath.SetAt(ij,S1);
}
ij++;
}
ij = 0;

}while(feof(pSkinfile) == 0);

fclose (pSkinfile);


Is this because I'm reading in a stream and can't output to a variable?
GeneralRe: fopen and CStringArray Pin
Gary Kirkham9-Dec-02 3:25
Gary Kirkham9-Dec-02 3:25 
GeneralRe: fopen and CStringArray Pin
Nitron9-Dec-02 4:10
Nitron9-Dec-02 4:10 
GeneralRe: fopen and CStringArray Pin
Christian Graus9-Dec-02 8:59
protectorChristian Graus9-Dec-02 8:59 
GeneralRe: fopen and CStringArray Pin
Joe Woodbury9-Dec-02 19:18
professionalJoe Woodbury9-Dec-02 19:18 
Generalerror 1063 in StartServiceCtrlDispatcher Pin
maloo9-Dec-02 2:26
maloo9-Dec-02 2:26 
GeneralRe: error 1063 in StartServiceCtrlDispatcher Pin
Debs9-Dec-02 23:38
Debs9-Dec-02 23:38 
GeneralCTreeCtrl::OnLButtonUp doesn't get called Pin
Arjan Schouten9-Dec-02 2:22
Arjan Schouten9-Dec-02 2:22 
GeneralRe: CTreeCtrl::OnLButtonUp doesn't get called Pin
Tibor Blazko9-Dec-02 3:13
Tibor Blazko9-Dec-02 3:13 
GeneralRe: CTreeCtrl::OnLButtonUp doesn't get called Pin
Arjan Schouten9-Dec-02 3:30
Arjan Schouten9-Dec-02 3:30 
GeneralRe: CTreeCtrl::OnLButtonUp doesn't get called Pin
Tibor Blazko9-Dec-02 3:32
Tibor Blazko9-Dec-02 3:32 
GeneralTranslate Pin
hest9-Dec-02 1:43
hest9-Dec-02 1:43 
GeneralRe: Translate Pin
xi9049-Dec-02 1:51
xi9049-Dec-02 1:51 
GeneralRe: Translate Pin
jhwurmbach9-Dec-02 1:54
jhwurmbach9-Dec-02 1:54 
GeneralUsing IDL defined enums Pin
Martijn9-Dec-02 1:40
Martijn9-Dec-02 1:40 
GeneralGetClientSite returns NULL Pin
hdi99kf@syd.kth.se9-Dec-02 0:18
hdi99kf@syd.kth.se9-Dec-02 0:18 
QuestionCHtmlView ? Pin
Henrik_O9-Dec-02 0:09
Henrik_O9-Dec-02 0:09 
AnswerRe: CHtmlView ? Pin
Shaun Wilde9-Dec-02 0:34
Shaun Wilde9-Dec-02 0:34 

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.