SaveFile("filename", ExportSch(m_session, "test")); // or SaveFile("filename", ExportSch("test")); // you may also assign content returned by ExportSch to a Upp control
rtmex wrote |
I think I have to add an include file but I don't know wich one, I added the Sql and PostgreSQL packages to my program. I had to put an empty database.sch file because if I didn't, I got an error saying the file does not exist. I'm also getting this messages when I compile the program CtrlLib: circular 'uses' chain CtrlLib: circular 'uses' chain |
// line 5 void SchExport() { SaveFile("estructura.sch", ExportSch(SQL.GetSession(), "")); } void SQLApp::MainMenu(Bar& bar) { bar.Add("ExportSch", callback(SchExport)); // ... }