U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ SQL » How to share a schema .sch with multiple header and source files
How to share a schema .sch with multiple header and source files [message #52193] Wed, 07 August 2019 14:54 Go to previous message
MonkeyH is currently offline  MonkeyH
Messages: 3
Registered: August 2019
Junior Member
Hello,
I'm new to U++ and I'm making a generic desktop application wich read and write data to an sqlite database.

Planning for multiple functionalities, I guess the structure of this application could be like this:
Main Application (main window definition and methods) 
    | 
    |   Db schema definition   
    |  
    +------> functionality class 1 (some data manipulation and user interface)
    |
  (...)
    |
    +------> functionality class N (some data manipulation and user interface)

How I can share the database schema with all the header and source files, avoiding multiple definitions and link errors?

Thanks.
 
Read Message
Read Message
Previous Topic: BOOL in SQLite
Next Topic: formatting time to pass to sqlite
Goto Forum:
  


Current Time: Sat Sep 12 23:00:55 GMT+2 2026

Total time taken to generate the page: 0.00624 seconds