Among them, the static CInitGDIPlus gidPlus; Statement is unusual, has failed to into CInitGDIPlus constructor; The following is a function of CInitGDIPlus, CImage class, in the line 100
Private: ULONG_PTR m_dwToken; CRITICAL_SECTION m_sect; LONG m_nCImageObjects; DWORD m_dwLastError; };
I'm trying to keep static gdiPlus into non-static CInitGDIPlus gdiPlus, no problem. Use the static int I; No problems with the tests, But with more static, given the strength of my questions, don't trust to Apes and old to want to seek advice, what's the solution?
Additional: this DLL, OCX in call, then call OCX, IE CImage also can appear this problem, the key only XP SP2/3 system, other systems is to use the
CodePudding user response:
Whether the XP GDIPlus. DLL missing or version does not match?