Windows update agent topic
- Introduction to COM - What It Is and How to Use It.
- example on stackoverlow:Windows Update Agent pure win32 APIs
- Windows Update Agent API
- E1097: unknown attribute "no_init_all" in WinNT.h in Windows SDK 10.0.18362.0
- An Advanced Windows Hotfix Manager
- A GUI Front-End for Microsoft's Hotfix Checker Utility
- ClipSpy
- Sending and posting CString to windows via PostMessage, SendMessage Matt Gullett
- Using the Windows Update Agent API
- Improvements in version 7.6.7600.256 of Windows Update Agent
- DavidXanatos / wumgr
- Windows Update MiniTool 07.01.2020
- Windows Update Agent pure win32 APIs
- Windows Update Agent API
- wuapi.h header
COM basics
when I compiled the example on stackoverflow, I got this error message:
Error (active) E1097 unknown attribute "no_init_all"
solution is to add the following code into stdAfx.h file:
#if (_MSC_VER >= 1915)
#define no_init_all deprecated
#endif
There is a bug in WinNT.h in the latest Windows SDK (10.0.18362.0).
There is the following code in WinNT.h to disable this warning:
#if (_MSC_VER >= 1915)
#pragma warning(disable:4845) // __declspec(no_init_all) used but d1initall not set
#endif
However, in the latest Windows SDK, this is no longer warning 4845, but is instead error 1097 (E1097: unknown attribute “no_init_all”).
As a result this error now leaks out into the rest of the project.
No comments:
Post a Comment