HDC hdcPrint;
BOOL sicm = SetICMProfile(hdcPrint, m_icc.GetBuffer(255));
TRACE("SetICMProfile: %d\n",sicm);
{
AfxMessageBox("Error loading ICC/ICM profile: " + m_icc);
}
TRACE("SetICMMode: %d\n",mode);
DWORD dw;
BOOL rt = GetICMProfile(hdcPrint,&dw,lpszFilename);
TRACE("GetICMProfile: %s\n",lpszFilename);
// add after every start page
StartPage(hdcPrint);
TRACE("SetICMMode: %d\n",mode);
int mode = SetICMMode(hdcPrint,ICM_ON);if(!sicm)int mode = SetICMMode(hdcPrint,ICM_ON);char lpszFilename[255] = { '\0' };
No comments:
Post a Comment