ActiveX Changes for XE
From RAD Studio XE
Go Up to What's New in Delphi and C++Builder XE
- C++Builder Offers Delphi ActiveX library (DAX) Framework for ATL Projects:
- In this release of C++Builder, a different ActiveX framework is supported. DAX is now used as the underlying framework for all your ActiveX and COM applications, both Delphi and C++. For more information, see C++Builder Uses DAX for ActiveX and COM.
- New 'Register for Current User' Command and Current-User Registration Added for Type Libraries:
- On the new Run > ActiveX Server submenu, three commands are available for registering or unregistering type libraries and ActiveX server objects:
- Register (registers for all users)
- Register for Current User (registers for the current user)
- Unregister (unregisters for all users and for the current user at the same time)
- Current-User Registering and Unregistering: You can now register ActiveX objects on a current-user basis. The addition of current-user registration means that your COM servers can be deployed and registered on Vista and Windows 7 machines that have UAC enabled. See Current-User Registration for ActiveX Servers.
- On the new Run > ActiveX Server submenu, three commands are available for registering or unregistering type libraries and ActiveX server objects:
- Open and Import from Registered Type Libraries:
- New buttons on the Registered Type Libraries pane enable you to Open or Import a type library.
- Client Certificate Support for WebServices:
- The SOAPHTTPClient.THTTPRIO component now exposes new properties that allow you to select a Client Certificate at designtime.
- The following table describes the new properties:
| Parent | Property Name | Type | Notes | |
|---|---|---|---|---|
|
SOAPHTTPClient.THTTPRIO.HTTPWebNode |
ClientCertificate |
N/A |
- |
|
|
THTTPRIO.HTTPWebNode.ClientCertificate |
CertName |
string |
Name of Certificate; for informational purposes only. | |
|
THTTPRIO.HTTPWebNode.ClientCertificate |
Issuer |
string |
Organization that issued the certificate; for informational purposes only. | |
|
THTTPRIO.HTTPWebNode.ClientCertificate |
SerialNum |
string |
Identifier of this certificate; this information is used at runtime to select the client certificate from the store* |
*Technically, a Certificate is uniquely identified by the combination of its Serial Number and Issuer. However, for practical purposes, when dealing with one store, relying on the serial number alone is adequate.
Note: The designtime support stores only the Serial Number of the Certificate: not the certificate itself. In other words, if you deploy the application to another machine that does not contain the certificate selected at designtime, at runtime the Certificate cannot be retrieved and sent to the Server.