![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello. My application is built in Pocketbuilder 2.0.3 using an ul-database. I would like to synchronize it via ActiveSync. Is there any example of what I have to do in my application, in activesync, on the server? Thanks. -- Rolf Knaden conject GmbH, c/o Business-Contor Philosophenweg 31-33, 47051 Duisburg Fon: +49 (0203) 9414.138 Fax: +49 (0203) 9414.555 Rolf.Knaden (AT) conject (DOT) com www.conject.com konsequent conject. |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
"Rolf Knaden" <rolf.knaden (AT) conject (DOT) com> wrote in news:43f2daad$1@forums-2-dub of sybase.public.sqlanywhere.mobilink: RK> My application is built in Pocketbuilder 2.0.3 using an ul-database. RK> I would like to synchronize it via ActiveSync. RK> Is there any example of what I have to do in my application, in RK> activesync, on the server? Please ALWAYS include version and MORE importantly BUILD number with EACH post (dbeng9 -v). There are a few references in the 902 Help file for this: MobiLink Clients UltraLite Clients Synchronizing UltraLite databases on Windows CE Registering applications for use with ActiveSync UltraLite C/C++ User's Guide Developing UltraLite Applications for Windows CE Synchronization on Windows CE Adding ActiveSync synchronization to your application I suspect the first one might be closer to what you are looking for. Then again a different approach (you can post to sybase.public.pocketpowerbuilder) would be to tie this into PB. Let PB be told the application is ActiveSyncing and let your PB code initiate the sync. Not sure if that would work, but you can ask on the PocketBuilder forum. -- David Fishburn Certified ASA Developer Version 8 iAnywhere Solutions - Sybase Professional Services Please only post to the newsgroup Please ALWAYS include version and MORE importantly BUILD number with EACH post (dbeng9 -v). EBFs and Maintenance Releases http://downloads.sybase.com/swx/sdmain.stm Developer Community / Whitepapers http://www.ianywhere.com/developer CaseXpress - to report bugs http://casexpress.sybase.com CodeXchange - Free samples http://ianywhere.codexchange.sybase....ctDocumentList |
#5
| |||
| |||
|
#6
| |||
| |||
|
#7
| |||
| |||
|
|
"Rolf Knaden" <rolf.knaden (AT) conject (DOT) com> wrote in news:43f5bb74$1@forums-2- dub: RK> My product version shows "9.0.1 (1922)". RK RK> My Problem is, up to now I don't have very little knowlegde concerning RK> synchronisation matters. RK> My Application already existed and uses a ul-database, which is not RK> synchronized up to now. RK> Now I want to synchronize it! RK> I read the 901 help and succeeded in registrating a service in activesync, RK> which is acitvated each time, I connect my PPC. RK> The properties are: RK> name: Inventar RK> Class Name: Dialog (???) RK> File Location: \Programme\Conject\Inventar\bsypdaobj.exe RK> Arguments: <empty RK> But nothing happens. I don't know, what I have to do further on and whether RK> those things, I did, are right. From the help I don't understand, whether I RK> have to code something in my PPC-application or elsewhere. RK> So, if someone had an example, that would be very helpfull. Hi Rolf, I am not very familiar with Pocketbuilder, I have an example written in MFC that I could make available if that would help. In brief, in order to use the Activesync provider for MobiLink your application needs to have a custom "window class" and needs to trap a custom "window message". When ActiveSync begins synchronizing and it launches the provider for MobiLink, the provider will send a specific window message to your application. It looks for you application using the window class and will launch your application if it does not find it. Your application needs to trap the window message and initiate MobiLink synchronization. During this synchronization the synchronization protocol (or stream type) needs to be set to "ActiveSync" rather than tcp or http. I have no idea how to accomplish the above in PocketBuilder so I am cross-posting to the appropriate group. PS: sorry for the delay in responding but I am on vacation right now. Shuchit Velkar Professional Services iAnywhere Solutions |
![]() |
| Thread Tools | |
| Display Modes | |
| |