Solved

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

Posted on 2011-09-09
4
867 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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:…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

829 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