Hi,
I am a newbie in wxWidgets apps and have installed the wxwidgets 3.0.2 and code blocks 13.12 successfully.
I don't know how to setup the wxDatabase library with wxWidgets app.
Please tell me how to install wxDatabase.
Thanks.
How to setup wxDatabase library with wxwidgets app
-
- Earned some good credits
- Posts: 116
- Joined: Fri Sep 25, 2015 2:33 pm
-
- Moderator
- Posts: 19164
- Joined: Fri Apr 21, 2006 8:03 pm
- Location: $FCE2
Re: How to setup wxDatabase library with wxwidgets app
wxWidgets itself has no database component in wx 3.x, do you mean wxDatabaseLayer? Its last supported wxWidgets version is 2.6, so it might require some "fiddling" to make it work under wx 3.x.
Which database do you want to connect to?
https://wiki.wxwidgets.org/WxFAQ#wxODBC ... natives.3F
Which database do you want to connect to?
https://wiki.wxwidgets.org/WxFAQ#wxODBC ... natives.3F
Use the source, Luke!
-
- Earned some good credits
- Posts: 116
- Joined: Fri Sep 25, 2015 2:33 pm
Re: How to setup wxDatabase library with wxwidgets app
I would like to use odbc with sql.
-
- Moderator
- Posts: 19164
- Joined: Fri Apr 21, 2006 8:03 pm
- Location: $FCE2
Re: How to setup wxDatabase library with wxwidgets app
Right now there is no wxWidgets database library that i could recommend. I think you should look into generic, non-wxWidgets libraries which should work well enough with wxWidgets.
Like SOCI or nanodbc, i'm sure there are more.
http://soci.sourceforge.net/index.html
http://lexicalunit.github.io/nanodbc/
Like SOCI or nanodbc, i'm sure there are more.
http://soci.sourceforge.net/index.html
http://lexicalunit.github.io/nanodbc/
Use the source, Luke!
-
- Earned some good credits
- Posts: 116
- Joined: Fri Sep 25, 2015 2:33 pm
Re: How to setup wxDatabase library with wxwidgets app
Like I said I am new to wxwidgets, so I don't know what I should be doing.
I can follow a step by step approach if you can guide me using any database library that I could use with CodeBlocks.
Thanks.
I can follow a step by step approach if you can guide me using any database library that I could use with CodeBlocks.
Thanks.
-
- Moderator
- Posts: 19164
- Joined: Fri Apr 21, 2006 8:03 pm
- Location: $FCE2
Re: How to setup wxDatabase library with wxwidgets app
Sorry, i don't use CodeBlocks and i've never used any of the libraries i mentioned. But this is neither CodeBlocks or wxWidgets specific, try looking for usage instructions of the respective library.
Use the source, Luke!
-
- Earned some good credits
- Posts: 116
- Joined: Fri Sep 25, 2015 2:33 pm
Re: How to setup wxDatabase library with wxwidgets app
Which IDE do I use for wxwidgets then?
Please tell me how to use the database layer in code blocks.
I am able to install CodeBlocks 13.12.
Please tell me how to use the database layer in code blocks.
I am able to install CodeBlocks 13.12.
-
- In need of some credit
- Posts: 3
- Joined: Sat Dec 05, 2015 11:44 pm
Re: How to setup wxDatabase library with wxwidgets app
Here is a detailed instruction on how to compile wxDatabase library using Code::Blocks and MinGW on Windows machine. Check it out: http://appdevcodeblocks.blogspot.com/20 ... mingw.html