Home > Archive > SQL Anywhere ultralite > September 2005 > Ultralite/DBProgramming/Codewarrior









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 Ultralite/DBProgramming/Codewarrior
Srini

2005-09-01, 3:23 am

Hello All,

1>Is it a MUST to use .sqc file to generate code for a
static C++ API application.


2> suppose i want to use a different GUI (not the custDB)But
still i want the CUST db Functionality waht should be my
approach.


For practice purposes iam trying to reconstruct the CustDB
application . I have comepleted runing the custdb.sql script
in Interactive SQL.

Iam stuck at the next step.

Pls guide me in this regards.

regards,
Srini
Greg Fenton

2005-09-01, 9:23 am

Srini wrote:
>
> 1>Is it a MUST to use .sqc file to generate code for a
> static C++ API application.
>


No, .sqc files are used by Embedded SQL applications. Recognize that
the static APIs are deprecated in v9.x and are likely to be discontinued
in v10 (Jasper). So I would recommend that any new development move to
one of the other APIs. In the SQLAnywhere 9.0.2 online docs, see:

What's New in SQL Anywhere Studio
What's New in Version 9.0.2
Behavior changes in version 9.0.2
- UltraLite behavior changes

BTW: please always post the version and build number of SQLAnywhere that
you are using (e.g. use the command "dbeng9 -v").


> For practice purposes iam trying to reconstruct the CustDB
> application . I have comepleted runing the custdb.sql script
> in Interactive SQL.
>
> Iam stuck at the next step.



So you know have an ASA database that contains the schema you want to
build your UltraLite application around. The next step depends on which
API you decide to go with (see my above comment). You will use either
the 'ulgen' or the 'ulinit' utilities to build your UL database (or its
schema file) and then write your application to use the generated
functions and/or classes.

Depending on the API you choose and the particular versions of software
you are using (ASA and CW), there may UL plugin for CW that will call
the utility for you.

Hope this helps,
greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
Srini

2005-09-02, 3:24 am

Thanq Greg , I would try it out
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