Compiler Issue in Windows 7: A generic error occurred in GDI+

后端 未结 6 1347
一个人的身影
一个人的身影 2021-01-16 04:10

We have an application that we need to begin testing and developing in Windows 7 environment. It works fine compiling under WinXP in VS2008, no problems. However when I went

6条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-16 04:48

    Do you use TIFF images in your app?

    Some time ago, I also had a problem with TIFF images as part of reports that wouldn't compile under Win7 x64 although it compiled like a charm under Vista x86. The error message also involved GDI+. I saved the images under a different format (PNG) and the problem vanished.

    At the time (around March 2011), I first ensured that my Windows was up-to-date but it didn't solve the problem. So maybe there is such an update as mentionned by Erik but it didn't come through Windows Update back then (Maybe it's newer).

提交回复
热议问题