<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>29 Nov 2015 10:55:00 Z</lastBuildDate><pubDate>26 Nov 2015 11:03:00 Z</pubDate><description>I'm making a framework for me and some programmers. In framework i want to use classes, of course.&#13;
&#13;
But some classes use objects of other classes. For example, cSQL class will use cErrorLog class - but not always. Some applications will NOT use cErrorLog class at all - no instances, no declarations, no class description.&#13;
&#13;
So, in this application, i have to use other set of class variables. In all other languages i can use a simple #ifdef structure (or other structure like this) in any places, and in class declaration also. In c++ my problem solved by 2 lines of code:&#13;
&#13;
#ifdef cErrorLog&#13;
dErrorLog is cErrorLog&#13;
#endif&#13;
&#13;
Is it possible to make the same in WX?&#13;
&#13;
I don't want:&#13;
- use ExecuteCode(), because result will be not supportable&#13;
- use multiple inherited classes, because is most classes i have moth then 2 other classes that can be not used&#13;
&#13;
I'm using WX 20.</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55149-how-make-conditional-compilation/read.awp</link><title>How to make conditional compilation?</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55149-how-make-conditional-compilation-55202/read.awp</comments><pubDate>29 Nov 2015 10:55:00 Z</pubDate><description>Hi Alexander,&#13;
&#13;
I know it doesn't help you out right now, but there is a conditional compilation feature in WX21.&#13;
It concerns …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55149-how-make-conditional-compilation-55202/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55149-how-make-conditional-compilation-55202/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55149-how-make-conditional-compilation/read.awp">How to make conditional compilation?</source><title>Re: How to make conditional compilation?</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55149-how-make-conditional-compilation-55150/read.awp</comments><pubDate>26 Nov 2015 12:12:00 Z</pubDate><description>See this one in the help, don't know if it's still available&#13;
&#13;
Regards,&#13;
Bart</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55149-how-make-conditional-compilation-55150/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55149-how-make-conditional-compilation-55150/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55149-how-make-conditional-compilation/read.awp">How to make conditional compilation?</source><title>Re: How to make conditional compilation?</title></item></channel></rss>
