Ask a Question related to Windows Vista, Design and Development.
-
Paul Chis #1
Problems with COM security in the Vista 5308 build
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_ISyncMgrRegi ster,(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.
Paul Chis Guest
-
Windows Vista Build 5308 Upgrade Install Successful!
Windows Vista Build 5308 Upgrade Install Successful! Kevin John Panzke (547667) -
Catalyst Beta Driver for Windows Vista Build 5308
Feedback: ATI Usability Feedback: This is your opportunity to provide us with feedback that will help improve software and driver usability ... -
Vista build 5308.60
Is there any truth in the stories circulating that there was a newer "trunk build 60" released to beta testers to fix major memory leak issues with... -
IIS7, WAS, Vista 5308
Has anyone been able to get IIS working in Vista build 5308? I've been able to install IIS and whatnot through the command line in the Release... -
Vista 5308 Released
Do you know if this will be on the MSDN subscriber downloads today, or are we still talking about a couple days later as it usually has been? Pat...



Reply With Quote

