[Lazarus] Different packages for different usage

aradeonas aradeonas at operamail.com
Fri Jun 19 12:53:10 CEST 2015


Beautiful! Thank you Graeme and Mattias and also Juha.

So summery is when I have 2 package named clientpkg and serverpkg with
shared unit but fist one with graphical dependencies so when I make an
server app I should declare for example -ThisIsServer and for client
nothing and in code use compiler condition so when ThisIsServer declared
I exclude graphical code.

Correct and this is the best way?

Also I want to ask how can I find out my app is running in non graphical
OS?with compiler condition?

Regards,
Ara


-- 
http://www.fastmail.com - The way an email service should be





More information about the Lazarus mailing list