Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4598172
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T23:21:42+00:00 2026-05-21T23:21:42+00:00

I have some issues with the Riched20.dll file which is used by my application,

  • 0

I have some issues with the Riched20.dll file which is used by my application, this problem is fixed applying the KB884047 hotfix, in order to avoid problems with old windows versions, I want to detect when this hotfix is applied in the system, so How i can check if a particular hotfix (windows update) is installed in my system using delphi?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T23:21:43+00:00Added an answer on May 21, 2026 at 11:21 pm

    Some time ago, I blogged about this topic search for installed windows updates using Delphi, WMI and WUA

    The key is use the Windows Update Agent API

    check this sample code.

    //use in this way ISHotFixID_Installed('KB982799')
    function  ISHotFixID_Installed(const HotFixID : string): Boolean;
    var
      updateSession      : OleVariant;
      updateSearcher     : OleVariant;
      updateEntry        : OleVariant;
      updateSearchResult : OleVariant;
      UpdateCollection   : OleVariant;
      oEnum              : IEnumvariant;
      iValue             : LongWord;
    begin
     result:=False;
      updateSession:= CreateOleObject('Microsoft.Update.Session');
      updateSearcher    := updateSession.CreateUpdateSearcher;
      //this line improves the performance , the online porperty indicates whether the UpdateSearcher goes online to search for updates. so how we are looking for already installed updates we can set this value to false
      updateSearcher.online:=False;
      updateSearchResult:= updateSearcher.Search(Format('IsInstalled = 1 and Type=%s',[QuotedStr('Software')]));
      UpdateCollection  := updateSearchResult.Updates;
      oEnum         := IUnknown(UpdateCollection._NewEnum) as IEnumVariant;
      while oEnum.Next(1, updateEntry, iValue) = 0 do
      begin
        Result:=Pos(HotFixID,updateEntry.Title)>0;
        updateEntry:=Unassigned;
        if Result then break;
      end;
    
    end;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a application for which I have some issues with fragments.
I have some issues in setting the classpath for the a project for which
I have some issues with a PHP file that is not working properly. The
Building my first SL MVVM application (Silverlight4 RC) and have some issues i don't
I have some issues with using databinding in silverlight 4 xaml pages, this is
I'm using jQuery UI Select Menu and occasionally have some issues. This is located
I have some issues with this: First I create my object and move it
We have some issues in our application with skype taking over some of our
I am using Symfony 1.2 and I have some issues switching context. This code
I have some issues resolving an algorithm used to find all posible combinations taking

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.