I currently develope an application for a member card system. This is not a new aplication but continously updraded for years. The application working very well before on any Windows from version 95 up to 7 untill this error suddenlly appeared when I tried to install this application on an XP. The error does not appear in Windows 7, so I failed to notice this error during development.
After about 10 hours of working time then I detected that it's caused by the defination for IDR_MANIFEST was accidentally removed from "resource.h" which caused the application to be built without manifest information. This application works well in Windows 7 but failed in XP. This problem are very difficult to detect because the compiler does not notify any error or warning.
SOLUTION: Never delete IDR_MANIFEST definition in resource.h even it was marked as unused.
leave a comment