Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » Schema utilities
Re: Schema utilities [message #20674 is a reply to message #20668] Tue, 31 March 2009 13:03 Go to previous messageGo to previous message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
I think it's pretty simple. Ignore .sch files which already exist in that example. In OpenDB() comment everything which is after //schema line (only return true should stay there). Somewhere in your program use
SaveFile("filename", ExportSch(m_session, "test"));
// or
SaveFile("filename", ExportSch("test"));
// you may also assign content returned by ExportSch to a Upp control

Second version use global SQL session.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to set compiler options to a package
Next Topic: libclang/asist++ crashes theide when source contains language feature...
Goto Forum:
  


Current Time: Tue Jul 15 16:13:13 CEST 2025

Total time taken to generate the page: 0.03465 seconds