{2E461895-1B42-4214-8B09-704509A6CDB7} Is the
GUID to your added sheet? Please check if it's properly registered (search the registry for it). Can you open the normal propsheet?
Why not try to first call the normal propsheet?:
Delphi-Quellcode:
sheethost := TPropSheetHost.Create(hInstance(Self), Self.Handle);
// Hold a reference count for the CPropSheetHost object.
sheethost.AddRef;
sheethost.SetObject('
LDAP://CN=SomeUser,DC=Domain,DC=Local');
sheethost.Run;
{
Release the CPropSheetHost object. Other components may still hold a
reference to the object, so this cannot just be deleted here. Let
the object delete itself when all references are released.
}
sheethost.Release;