NS_ColorNameToRGB(NS_ConvertASCIItoUCS2("white"), &white);
NS_ColorNameToRGB(NS_LITERAL_STRING("white"), &white);
MyLoadImage(char *aFileName){    char fileURL[256];    char *str;    MyInterrupt();    MyReleaseImages();    if (gImageGroup == NULL) {        nsIDeviceContext *deviceCtx = gWindow->GetDeviceContext();        if (NS_NewImageGroup(&gImageGroup) != NS_OK ||            gImageGroup->Init(deviceCtx, nsnull) != NS_OK)        {                ::MessageBox(NULL, "Couldn't create image group",                             class1Name, MB_OK);                NS_RELEASE(deviceCtx);                return;            }        NS_RELEASE(deviceCtx);    }    strcpy(fileURL, FILE_URL_PREFIX);    strcpy(fileURL + strlen(FILE_URL_PREFIX), aFileName);    str = fileURL;    while ((str = strchr(str, '\\')) != NULL)        *str = '/';    nscolor white;    MyObserver *observer = new MyObserver();                NS_ColorNameToRGB(NS_ConvertASCIItoUCS2("white"), &white);    gImageReq = gImageGroup->GetImage(fileURL,                                      observer,                                      &white, 0, 0, 0);    if (gImageReq == NULL) {      ::MessageBox(NULL, "Couldn't create image request",                   class1Name, MB_OK);    }}