Hello. I developed a COM object in Windows Vista Beta 5270 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.

COM Security Problems in Vista Beta 5308 release
Windows Vista
User login
Related topics
- Dell D600 WiFi drivers
- Eve Online and ATI beta driver from ATI web site
- CoX and X550 in Beta 2
- Vista locks itself...?
- Microsoft investigating fake WinLogon patch
- No Line-In?
- My Vista Experience is good!
- Vista Beta 2 64-bit on laptop does not return from hibernati
- InSpeak Communicator Problem !
- Beta 2 Intall Dies After Entering Product Key
- Quake 4
- Missing Windows Image
- Silent failure installing VS2005 on 64bit 5308
- Vista Beta 2 hangs - Shuttle barebone (ATI IXP150 chipset)
- network driver
- Direct download links
- Vista 5384 networking/DNS problems
- X86 or X64
- cant pass th elast step of the intallation
- booting into Xp from dual boot screen
- Warcraft III
- Multible Graphics cards (Vista disables the secondary card)
- Default Mail Handler
- Problems with ATI Radeon X800
- Views Bar in Windows Mail
- Akamai STINKS!
- ok to post images of bugs here?
- I want to defuilt to xp on dual boot
- Compadibility Questions..
- WinFS
- Block Sender from newsgroups
- Hourglass throughout setup
- How do I uninstall IE7 beta2 that came with Vista beta2?
- Windows Update Error Code 8024001F
- WLMD Headers not updating