Hi, All!
I've met with a little problem:
Supposing I want 2 versions of my program.
version 2 has a button on the main form, and a popup form with some
functionality show when you press it.
version 1 has none.
Everything else is nearly the same.
I would like to keep it a single project, because most of the code is the
same (so, the bugs too - want to check them once, not twice).
Can I somehow manage it like this

#ifdef VERSION_1
// Make the button invisible and ignore occasional taps????    Or smth else?
#endif

#ifdef VERSION_2
// Process pressing the button, use FrmGotoForm, FrmSetEventHandler,  and so
on
#endif

But if it is comlicated and can lead to unstable program functioning, maybe
it is better to split the project?
What is your opinion?
--
Best regards
Eugene Rokhlin, Software Engineer.
mailto:[EMAIL PROTECTED]
http://www.ectaco.com




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to