Wednesday, November 4, 2020

Windows update agent topic

Windows update agent topic

    COM basics

  1. Introduction to COM - What It Is and How to Use It.

  2. example on stackoverlow:Windows Update Agent pure win32 APIs
  3. Windows Update Agent API
  4. E1097: unknown attribute "no_init_all" in WinNT.h in Windows SDK 10.0.18362.0
  5. when I compiled the example on stackoverflow, I got this error message:

    Error (active) E1097 unknown attribute "no_init_all"

    E1097: unknown attribute "no_init_all" in WinNT.h in Windows SDK 10.0.18362.0

    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.

  6. An Advanced Windows Hotfix Manager
  7. A GUI Front-End for Microsoft's Hotfix Checker Utility
  8. ClipSpy
  9. Sending and posting CString to windows via PostMessage, SendMessage Matt Gullett
  10. Using the Windows Update Agent API
  11. Improvements in version 7.6.7600.256 of Windows Update Agent
  12. DavidXanatos / wumgr
  13. Windows Update MiniTool 07.01.2020
  14. Windows Update Agent pure win32 APIs
  15. Windows Update Agent API
  16. wuapi.h header

No comments:

Post a Comment