Solved

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

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

914 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

20 Experts available now in Live!

Get 1:1 Help Now