LoadString(ghInstanceResources, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
LoadString(ghInstanceApp, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
int main(int argc, char *argv[]){    printf("You are embedded, man!\n\n");    printf("******************************************************************\n");    printf("*                                                                *\n");    printf("*  IMPORTANT NOTE:                                               *\n");    printf("*                                                                *\n");    printf("*  WinEmbed is not supported!!! Do not raise bugs on it unless   *\n");    printf("*  it is badly broken (e.g. crash on start/exit, build errors)   *\n");    printf("*  or you have the patch to make it better! MFCEmbed is now our  *\n");    printf("*  embedding test application on Win32 and all testing should    *\n");    printf("*  be done on that.                                              *\n");    printf("*                                                                *\n");    printf("******************************************************************\n");    printf("\n\n");        // Sophisticated command-line parsing in action#ifdef MINIMO    char *szFirstURL = "http://www.mozilla.org/projects/embedding";#else    char *szFirstURL = "http://www.mozilla.org/projects/minimo";#endif	int argn;    for (argn = 1; argn < argc; argn++)    {		szFirstURL = argv[argn];    }    strncpy(gFirstURL, szFirstURL, sizeof(gFirstURL) - 1);    ghInstanceApp = GetModuleHandle(NULL);    ghInstanceResources = GetModuleHandle(NULL);    // Initialize global strings    TCHAR szTitle[MAX_LOADSTRING];    LoadString(ghInstanceResources, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);    MyRegisterClass(ghInstanceApp);    // Init Embedding APIs    NS_InitEmbedding(nsnull, nsnull, kPStaticModules, kStaticModuleCount);    // Choose the new profile    if (NS_FAILED(StartupProfile()))    {        NS_TermEmbedding();        return 1;    }    WPARAM rv;    {   		InitializeWindowCreator();        // Open the initial browser window        OpenWebPage(gFirstURL);        // Main message loop.        // NOTE: We use a fake event and a timeout in order to process idle stuff for        //       Mozilla every 1/10th of a second.        PRBool runCondition = PR_TRUE;        rv = AppCallbacks::RunEventLoop(runCondition);    }    // Close down Embedding APIs    NS_TermEmbedding();    return rv;}