Hello Alvaro,
You can check the SMySQL_Test program (which unfortunately is=20
Foundation only, so need to be able to compile the "SMySQL" target=20
which in turns is a bit more complicated to get runing than the=20
"SMySQL_fully_embeded" for it to run).
This is a very (very) simple program and has more or less what you ask=20=
for.
Another resource you might have missed (I hope, as I cannot provide so=20=
many), is the documentation of the framework. You can access it from=20
the web page of the project:
http://mysql-cocoa.sf.net/ (very top link, should go to something like:=20=
http://mysql-cocoa.sf.net/SMySQL_doc).
I'll still have to check (in the coming day) that this documentation is=20=
up to date (let you know otherwise through the user mailing list).
Last, but not least, you can be interested to ask the question to the=20
user list (and I'm asking the question). There is a few user registered=20=
and maybe some one can help you (at least that's what the list is here=20=
for).
Serge.
PS: I'm still hoping to have enough time to make a small example for=20
Bertrand, but I'm afraid this again falls in the "too complicated"=20
examples.
Le lundi, 24 f=E9v 2003, =E0 20:37 Europe/Amsterdam, Alvaro Muir a =E9crit=
:
> Serge,
> Great framework, but I am a newbie to cocoa and C programming and=20=
> I was
> hoping u could pass on some example source to me? All I want to do is
> connect to a specific database.. Most of the examples I see prompt for=20=
> user
> information. I want to embed that stuff in a plist..
>
> Example,
>
> Username =3D anonymous
> Password =3D
> Host =3D localhost
> Db =3D localdb
>
> Then I would like the app to display only the sql queries I program.=20=
> Again,
> all of the code if find allow for too much user interaction...If you=20=
> have
> the time or could point me in the correct direction, Id really=20
> appreciate
> it.
>
> --=20
>
> :// alvaro
>
>
>
----------------------------------------------------
Serge Cohen
GPG Key ID: Non-Available for the moment.
----------------------------------------------------
|