Project JEDI - Issue Tracker - JEDI VCL
Viewing Issue Advanced Details
5698 00 JVCL Components tweak always 2011-11-01 11:47 2012-09-10 14:15
Nazgul  
AHUser  
normal  
resolved 3.40  
fixed  
none    
none 3.46  
0005698: JvThemes fails to compile if {$APPTYPE CONSOLE} is defined
A console application uses units which link to Jvcl units, which in turn link to JvThemes. JvThemes, however, fails to compile as JvclThemesEnabled is not set.

OK, I know console app shouldn't link to Visual units, but I can't rewrite all of them.
Solution: Make JvThemes compile even if it's linked from a console app. If it's not possible/feasible, display compiler error "Error: JvThemes can not be used in console application" or something like this, so the user could know what he's doing wrong.
Issue History
2011-11-01 11:47 Nazgul New Issue
2011-11-02 21:09 AHUser Note Added: 0019078
2011-11-02 21:09 AHUser Assigned To => AHUser
2011-11-02 21:09 AHUser Status new => feedback
2011-11-03 11:57 Nazgul Note Added: 0019080
2011-11-03 17:40 AHUser Note Added: 0019081
2011-11-03 17:40 AHUser Status feedback => resolved
2011-11-03 17:40 AHUser Fixed in Version => Daily / SVN
2011-11-03 17:40 AHUser Resolution open => fixed
2012-09-10 14:15 obones Fixed in Version Daily / SVN => 3.46

Notes
(0019078)
AHUser   
2011-11-02 21:09   
What Delphi version are you using?
(0019080)
Nazgul   
2011-11-03 11:57   
Oh, I thought I filled it in. I am using Delphi XE on Windows Vista.
(0019081)
AHUser   
2011-11-03 17:40   
Fixed in svn revision 13146.

This was caused by a remnant of the VisualCLX support that undefined JVCLThemesEnabled if it was not a "VCL" application.