Tag: COM
-
Hosting Preview Handlers in Delphi VCL Applications
Read the article: Hosting Preview Handlers in Delphi VCL ApplicationsIn this post i will show you, how you can host an existing Preview Handler in your Delphi VCL App. Preview handlers are a lightweight and read-only preview of a…
-
Exploring Delphi XE3 – WinApi Additions – Winapi.Functiondiscovery Part 3
Read the article: Exploring Delphi XE3 – WinApi Additions – Winapi.Functiondiscovery Part 3This is the part 3 of the Exploring Delphi XE3 – WinApi Additions – Winapi.Functiondiscovery Article. The Function Discovery API can be used not just for enumerate devices also you…
-
Exploring Delphi XE3 – WinApi Additions – Winapi.Functiondiscovery Part 2
Read the article: Exploring Delphi XE3 – WinApi Additions – Winapi.Functiondiscovery Part 2This is the part 2 of the Exploring Delphi XE3 – WinApi Additions – Winapi.Functiondiscovery Article One of the nice features of the Function Discovery API is the posibility of…
-
Exploring Delphi XE3 – WinApi Additions – Winapi.Functiondiscovery Part 1
Read the article: Exploring Delphi XE3 – WinApi Additions – Winapi.Functiondiscovery Part 1Starting with Windows Vista The SetupDi and the WMI are not longer the only APIs to enumerate devices and receive notifications about hardware changes, with the introduction of the Function…
-
Exploring Delphi XE3 – WinApi Additions – Winapi.Wbem
Read the article: Exploring Delphi XE3 – WinApi Additions – Winapi.WbemDelphi XE3 introduces a lot of new WinApi headers translations, between them is the Winapi.Wbem unit which is the Delphi (object pascal) translation for the wbemidl.h file which contains the…
-
Implementing a Delphi for..in loop on COM collections and Variant Arrays
Read the article: Implementing a Delphi for..in loop on COM collections and Variant ArraysEnumerating a collection of Variants Many times when you are working with COM objects you need iterate over a collection, and usually the way to do this is using the…
-
Using Delphi and ADSI to enumerate local and remote shared resources
Read the article: Using Delphi and ADSI to enumerate local and remote shared resourcesOne of the most rich Directory Access Technologies of Microsoft is the Active Directory Service Interfaces (ADSI) which is a set of interfaces designed to access the features of directory services…
-
Accesing the WMI from Delphi and Free Pascal via COM (without late binding or WbemScripting_TLB)
Read the article: Accesing the WMI from Delphi and Free Pascal via COM (without late binding or WbemScripting_TLB)A fellow Delphi programmer, ask me how they can access the WMI using the COM API for WMI , so I decide write this article to show how. First you…
-
Be careful when you import the Microsoft WMIScripting Library
Read the article: Be careful when you import the Microsoft WMIScripting LibraryCommonly when we need use the WMI, we import the Microsoft WMIScripting Library from delphi using the Import Component Wizard, but depending on the version of windows that we use…
