Stockpor not syncing. I am so close yet...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to get the Activesync Stockpor to work. This is what I have

1. The stsync.dll is in my ActiveSync intall directory on the PC
2. The devsync.dll is on the Windows directory on the Device
3. I see a register entry for the above dll on the device under Windows CE Services/Synchronization/ObjectsStockPo

4. I see no entries on ActiveSync on the PC for StockPor, I have other entries like Calendar, Tasks and Favorites etc..
5. I have not done any specific registry changes on the PC. Is anythign needed? The readme file does not seem to indicate that you need to. Is just adding the .dll to the ActiveSync directory enough. That seems odd (ie. to easy)

6. I run the desktop app and the device app. They both run great. The PC app has a bunch of stocks listed the device app has none. But nothing synchronizes
7. I add a stock and click Synchronized on the PC app. Nothing happends

Any ideas

All I want is to know how to "register" and application so that it gets called when a connection is detected. I really do not care about the rest. Will this sample show me what I am looking for? Notice that I don't want to have to run the application and press a button in order to Synchronize, I want it to be running on the background somehow and get called automatically when a connection is detected. No need for any user action at all. Just like Avantgo, Calendar and Outlook works

Any help with the StockPor example will be greatly appreciated I am so close, yet so far away

Thank you
 
Ok, I got it to work ! I realized that the dll on the PC had to be register somehow so I just tried regsrv32, that seem to do the trick and add the necesary registry entries to the PC side. Was that the right hting to do

The question that remains is. Can I use this sample to simply detect when the device is connected to the PC and then run some code (as a method or as a separate app)? Essentially this code would go out to the web and download some files. That's all. The Sample seems to have a lot of complicated things that allows you to properly sync-up files. I don't need all of that
Is there a better example on how to do what I am suggesting
Please notice that I want this "program" running on the device, to automatically update (run some code to download files) when the connection to ActiveSync is detected. No user interaction required

Thanks for any info anyone can offer
Note the more of this that can be done in C# and .net the less pain I will have to suffer...
 
Question about ActiveSync.
I am trying to get notified when a connection to a PC is detected. I thought that implementing "ReportStatus" and catching RSC_CONNECTION_CHG would surely do the trick but unless I am doing something wrong this case is not being thrown as I expected, when a connection is first started. I can successfully capture RSC_BEGIN_SYNC but unfortunately this event only gets thrown when pressing the "Sync" button on ActiveSync but not on the first automatic Synchronization done when the device is cradled. What am I missing here? How can I notified when a connection to the PC is detected

Thank you.
 
Back
Top