> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> I try to divides  the aplication in some 
> modules, but I got the following message "
> Link Error   : CobranzasUI.cpp: Global Object 'PPharm'
> was already declared in File: 'PharmUI.cpp'.
> Link Error   : PedidosUI.cpp: Global Object 'PPharm'
> was already declared in File: 'PharmUI.cpp'.

You defined your global objects in a header file instead of in a .cpp file.
Instead, just _declare_ the globals variables in the header by putting
'extern' on the front, and then _define_ each variable (without extern) just
once in a .cpp file.

-slj-


-- 
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