Hello. I developed a COM object in Windows Vista Beta 5207 release which registered with Sync Center. I used as a model the sample code from Windows Vista SDK. It all worked fine until I installed the new 5308 release of Windows Vista. Now, the code fails when trying to register the dll.
This is the sample code that fails:
hr = CoCreateInstance (CLSID_SyncMgr,NULL,CLSCTX_SERVER,IID_ISyncMgrRegister,(LPVOID *) &lpSyncMgrRegister); if (SUCCEEDED(hr)) { hr = lpSyncMgrRegister->RegisterSyncMgrHandler(CLSID_SyncMgrHandler, wszCLSIDDescription,0 /* dwSyncMgrRegisterFlags */);
AssertSz(SUCCEEDED(hr),"Registration Failed"); hr = lpSyncMgrRegister->Release();
}
The call on lpSyncMgrRegister->RegisterSyncMgrHandler returns E_ACCESSDENIED. Can anyone give me a clue about what's happening here. I tried the sample code provided with the Windows Platform SDK and it works just the same.
I even tried to use hr = CoInitializeSecurity(NULL, -1, NULL, NULL,RPC_C_AUTHN_LEVEL_NONE, RPC_C_IMP_LEVEL_IMPERSONATE, NULL,EOAC_NONE, NULL); before the code section specified above, but has no effect.
Thanks and the best regards,
Paul Chis.

Problems with COM security in the Vista 5308 build
Windows Vista
User login
Related topics
- Video Card/Aero Glass
- After 2 1/2 HOURS to install - I CANT DO ANYTHING!
- Tascam 1082 Firewire Audio Interface
- help - bcdedit hosed me
- Compatibility Mode!
- vista don't recongize 4 gigs of system memory
- USB drives and mapped drive letter conflicts
- No image file
- second install beta 2
- WinFX Beta 2 in Vista 5308
- Random comments - new to this
- send to desktop, create shortcut??
- Got Linksys wireless USB to work
- Making a partition and easy install
- This won't improve until around B2
- Network messages
- any way to remove build info on desktop?
- Modems/Internet
- Slide show in media center
- Problem reporting tool is broken
- Mouse failed to install
- Unable to Join Windows 2000 Domain
- Paging Mark D Vanderburg
- Thanks to Jerry for Administrator Account Logon
- Flashing and weird graphics issues
- Booting Vista from an external drive with a laptop
- Change default boot?
- Don`t uninstall windows xp?
- A POSSIBLE solution to correct SEVERE problems after install
- Forcing windows xp compatibility on windows installer
- Vista and XP
- Auto Logon
- feature request
- Installing/Running Windows XP games in Vista Beta2
- Black/stand by screen when trying to boot
- PROCESSOR
- Missing driver for Mass Storage controller & PCI Simple Comm
- validation
- Unable to Boot / Beta Client Busted