Solved

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

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

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

785 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