Solved

how do i use the sync center API for windows vista and above

Posted on 2011-09-09
4
859 Views
Last Modified: 2013-12-17
Hey guys, I'm trying to develop an application that will serve as a wrapper for window's sync center or more appropiately im trying to capture events, errors etc and send an email to someone else when that happens..

However, I'm not very good at COM yet and this api is driving me crazy. I'm following the link
here http://msdn.microsoft.com/en-us/library/bb760982(VS.85).aspx and I'm just unable to find the Clsid for this (i have its IID) to be able to implement it...

P.S. I can however implement the interfaces ISyncMgrSessionCreator and ISyncMgrControl but that's cause im following syncmgr.idl which is in the sdk that shows me their coclasses...

Would appreciate any help!
0
Comment
Question by:ramywatts
  • 2
  • 2
4 Comments
 
LVL 8

Expert Comment

by:jagrut_patel
ID: 36509195
Can you try searching the registry?


If you are running on 64-bit you can see the registry keys of 32-bit apps like this.
0
 

Author Comment

by:ramywatts
ID: 36509436
Hey jagrut, thanks for the reply
Yeah I did, when i look at the specified interface for example "04EC2E43-AC77-49F9-9B98-0307EF7A72A2" it finds it under hkey_classes_root\clsid\interface

but not in clsid so when i try to make a class out of it, it gives me an error that no such class is registered (and it's correct) so then i try looking for its co-class or the like and the only thing i see is that the IID(interface) above, is proxystub for actxprxy.dll ...... and there is where i start going Ape :P
0
 
LVL 8

Accepted Solution

by:
jagrut_patel earned 500 total points
ID: 36509844
Can you check source code of the project at http://sync.codeplex.com/?

On Home page it is mentioned

"Note: Vista ISyncMgrHandler Interface [4] are not in working state."
0
 

Author Comment

by:ramywatts
ID: 36510170
I saw that link before, didn't pay much attention to it.. but now that you write it like that, maybe microsoft just didn't implement the interface properly, from what I saw, there's basically nearly no source code except that one for windows XP...

I wanted to avoid using legacy code, but im guessing by the time my customer will move on to the next OS, it'll be someone's else problem :) Thanks!
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now