Here is my problem :
In my main program i open a sqlite database
How can i do for not reusing this connection in my module without having to reopen the database
Thanks in advance
Database and module
- Fangbeast
- PureBasic Protozoa
- Posts: 4749
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
Re: Database and module
I usually store the handle to the database globally and then refer to it from wherever I need it.loulou2522 wrote:Here is my problem :
In my main program i open a sqlite database
How can i do for not reusing this connection in my module without having to reopen the database
Thanks in advance
Amateur Radio, D-STAR/VK3HAF