Hoop
2007-01-12 21:08:43 UTC
Hi,
I have an MFC app that I have inherited for doing routine
maintenance/upgrades on.
There is a strange portion of code in App::InitInstance() that has me
somewhat confused,
specifically the 4 \ characters. This program compiles and runs fine. I
do not see what those \
are achieving, or why it compiles with those. If I comment one out will
have 100+ compile errors.
Anyone know what is going here?
Portion of InitInstance() below.
Thanks
Jeff
BOOL CCZDApp::InitInstance()
{
{ // BLOCK: doc template registration
// Register the document template. Document templates serve
// as the connection between documents, frame windows and views.
// Attach this form to another document or frame window by changing
// the document or frame class in the constructor below.
}
// CG: The following block was added by the Splash Screen component.
\
{
\
CCommandLineInfo cmdInfo;
\
ParseCommandLine(cmdInfo);
\
\
}
AfxEnableControlContainer();
I have an MFC app that I have inherited for doing routine
maintenance/upgrades on.
There is a strange portion of code in App::InitInstance() that has me
somewhat confused,
specifically the 4 \ characters. This program compiles and runs fine. I
do not see what those \
are achieving, or why it compiles with those. If I comment one out will
have 100+ compile errors.
Anyone know what is going here?
Portion of InitInstance() below.
Thanks
Jeff
BOOL CCZDApp::InitInstance()
{
{ // BLOCK: doc template registration
// Register the document template. Document templates serve
// as the connection between documents, frame windows and views.
// Attach this form to another document or frame window by changing
// the document or frame class in the constructor below.
}
// CG: The following block was added by the Splash Screen component.
\
{
\
CCommandLineInfo cmdInfo;
\
ParseCommandLine(cmdInfo);
\
\
}
AfxEnableControlContainer();