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


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to