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 » U++ Library support » U++ Core » HtmlTable class example request
Re: HtmlTable class example request [message #46116 is a reply to message #46115] Tue, 08 March 2016 22:13 Go to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

forlano wrote on Tue, 08 March 2016 21:50
- Skylark need to be compiled with MT. I suppose I must compile even my program with this flag. Does it mean something in term;
Yes, I think it means the entire program must have MT flag. I tried to to trick it and it actually compiles as far as Core, Sql and Skylark packages have MT flag. The program even runs and works, but ends with segfault at the end of main. On the other hand, MT flag doesn't change much, as long as you don't use threads, so it is probably not a big deal...

forlano wrote on Tue, 08 March 2016 21:50
- Shat that dummy SkylarkApp does? It can interact in some way or stay there as a dead code?
Well, actually you can us this to your advantage. E.g. to set configuration, such as where the templates are stored or whether they should be cached. Example:
	SkylarkApp dummy;
	SkylarkApp::Config().use_caching = false;
	SkylarkApp::Config().path = "/some/path/templates";

But other than this, it is just a lot of dead code wrapping a configuration object.

Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IntStr function returns an empty string
Next Topic: conversion from String to wchar_t
Goto Forum:
  


Current Time: Fri May 10 22:33:14 CEST 2024

Total time taken to generate the page: 0.01975 seconds