Home > Archive > SQL Anywhere ultralite > December 2005 > Can Ultralite udb file be moved from device to Windows and opened









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Can Ultralite udb file be moved from device to Windows and opened
Timothy Dean

2005-12-08, 8:24 pm

Ultralite C++ component api

We have an application that runs on PocketPC and Windows. When we try to
move a udb file that was created on the device to Windows and try to open
it, it doesn't work. Should this be possible? Thanks.

Timothy Dean


David Fishburn

2005-12-08, 8:24 pm

"Timothy Dean" <tim. dean@mobiledataforce
.com> wrote in news:4398a438$1
@forums-2-dub
of sybase.public.sqlanywhere.ultralite:

TD> Ultralite C++ component api
TD>
TD> We have an application that runs on PocketPC and Windows. When we try
to
TD> move a udb file that was created on the device to Windows and try to
open
TD> it, it doesn't work. Should this be possible? Thanks.

Please ALWAYS include version and MORE importantly BUILD number
with EACH post (dbeng9 -v).

I believe in our next release, Jasper, this will be possible.
I will correct this post if it is not, or someone else will :-)

But for 9.x and below, PocketPC stores everything as Unicode, whereas on
Win32 it is not.

--
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
[url]http://ianywhere.codexchange.sybase.com/servlets/ ProjectDocumentList[
/url]

David Fishburn

2005-12-08, 8:24 pm

"Timothy Dean" <tim. dean@mobiledataforce
.com> wrote in news:4398a438$1
@forums-2-dub
of sybase.public.sqlanywhere.ultralite:

TD> Ultralite C++ component api
TD>
TD> We have an application that runs on PocketPC and Windows. When we try
to
TD> move a udb file that was created on the device to Windows and try to
open
TD> it, it doesn't work. Should this be possible? Thanks.

Minor update.

Even with 9.x if you wrote a C++ component API _unicode_ application on
Win32, then it _can_ open an UL database created on the PocketPC, since
all PocketPC apps are Unicode applications.

You just have to be consistent.

--
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
[url]http://ianywhere.codexchange.sybase.com/servlets/ ProjectDocumentList[
/url]

Liam Cavanagh

2005-12-08, 8:24 pm

I believe for Jasper that what Dave says is correct, however I expect you
will need to reset the remote_id (new MobiLink feature that uniquely
identifies a remote database). Otherwise the two databases will be
idenitified by MobiLink server as the same database.

--
Liam Cavanagh
Sr. Product Manager
Certified ASA Developer Version 8
iAnywhere

--
Liam Cavanagh
Sr. Product Manager
Certified ASA Developer Version 8
iAnywhere
"David Fishburn" <fishburn_spam@off.ianywhere.com> wrote in message
news:Xns9726AAA73BAA
Efishburnsybasecom@1
27.0.0.1...
> "Timothy Dean" <tim. dean@mobiledataforce
.com> wrote in news:4398a438$1
> @forums-2-dub
> of sybase.public.sqlanywhere.ultralite:
>
> TD> Ultralite C++ component api
> TD>
> TD> We have an application that runs on PocketPC and Windows. When we try
> to
> TD> move a udb file that was created on the device to Windows and try to
> open
> TD> it, it doesn't work. Should this be possible? Thanks.
>
> Please ALWAYS include version and MORE importantly BUILD number
> with EACH post (dbeng9 -v).
>
> I believe in our next release, Jasper, this will be possible.
> I will correct this post if it is not, or someone else will :-)
>
> But for 9.x and below, PocketPC stores everything as Unicode, whereas on
> Win32 it is not.
>
> --
> 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
> [url]http://ianywhere.codexchange.sybase.com/servlets/ ProjectDocumentList[
/url]
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com