Solved

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

Posted on 2011-09-09
4
869 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
transition to visual .net from vb6 5 62
WPF Select Items 3 25
Selenium and Xpath 4 30
Using sample Autorize.net c# simple example 1 26
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

749 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