odbc

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
massimopasquali
Earned a small fee
Earned a small fee
Posts: 16
Joined: Mon Sep 11, 2006 7:40 am
Location: lastra a signa (FI) - Italy
Contact:

odbc

Post by massimopasquali » Mon Oct 23, 2006 9:01 pm

hello someone can helpme on odbc connection?

thanks

Cursor
Earned some good credits
Earned some good credits
Posts: 120
Joined: Sun Aug 29, 2004 3:09 pm
Location: Grenoble, France
Contact:

Post by Cursor » Tue Oct 24, 2006 7:37 am

Can you be more precise ?
What do you search ? doc about database/odbc ?

If it is only about using wx with databse/odbc, you can see :
http://www.wxwidgets.org/manuals/2.6.3/ ... bcoverview
http://www.wxwidgets.org/wiki/index.php/ODBC
What is little and green, witch go up and down ??
Yoda playing with the force.

massimopasquali
Earned a small fee
Earned a small fee
Posts: 16
Joined: Mon Sep 11, 2006 7:40 am
Location: lastra a signa (FI) - Italy
Contact:

Post by massimopasquali » Wed Oct 25, 2006 8:19 am

Thanks

I must to developer an application that must to use a connection odbc, but i haven't documentation and sample

my databse is mysql

Cursor
Earned some good credits
Earned some good credits
Posts: 120
Joined: Sun Aug 29, 2004 3:09 pm
Location: Grenoble, France
Contact:

Post by Cursor » Wed Oct 25, 2006 9:07 am

If it is a sample you are looking for, the ODBC overview [1] is a good start page, in particular the ODBC sample code [2].

Note that the goal of ODBC is to hide all specific functions from your database, so, using mysql or oracle (or other) is the same way.

[1] : http://www.wxwidgets.org/manuals/2.6.3/ ... bcoverview
[2] : http://www.wxwidgets.org/manuals/2.6.3/ ... amplecode1
What is little and green, witch go up and down ??
Yoda playing with the force.

massimopasquali
Earned a small fee
Earned a small fee
Posts: 16
Joined: Mon Sep 11, 2006 7:40 am
Location: lastra a signa (FI) - Italy
Contact:

Post by massimopasquali » Thu Oct 26, 2006 11:01 am

thanks is a good sample

so i have another question, what is this error

cannot find -lobjc
ld returned 1 exit status
D:\Progetti-Programmi\esercizi\Odbc\Makefile.win [Build Error] [odbc.exe] Error 1

:shock:

Cursor
Earned some good credits
Earned some good credits
Posts: 120
Joined: Sun Aug 29, 2004 3:09 pm
Location: Grenoble, France
Contact:

Post by Cursor » Thu Oct 26, 2006 11:11 am

cannot find -lobjc
ld returned 1 exit status
D:\Progetti-Programmi\esercizi\Odbc\Makefile.win [Build Error] [odbc.exe] Error 1
The linker is looking for a library called "objc" and it is not found.
What is little and green, witch go up and down ??
Yoda playing with the force.

massimopasquali
Earned a small fee
Earned a small fee
Posts: 16
Joined: Mon Sep 11, 2006 7:40 am
Location: lastra a signa (FI) - Italy
Contact:

Post by massimopasquali » Thu Oct 26, 2006 9:36 pm

thanks now my application is ok no to make error,also whether no write in db. but for you why i have must upgrade my wxWidgets witdh library gcc-odjc? odjc is not a library for java? how can verify if is realy connect at my db by odbc? :cry:

Cursor
Earned some good credits
Earned some good credits
Posts: 120
Joined: Sun Aug 29, 2004 3:09 pm
Location: Grenoble, France
Contact:

Post by Cursor » Fri Oct 27, 2006 6:14 am

I really dont know.
odjc is not a library for java?
Looks like an objective-c library. Gcc-objc is the objective-c compiler from gcc.
What is little and green, witch go up and down ??
Yoda playing with the force.

Post Reply