This is REALLY strange. It's working backwards.
I did as you suggested.
It sort of worked but here is the strange part.
The code has the following.
#ifdef REGISTERED
HideObject(MainUnregisteredLabel);
#endif
The registered.prc target has the Us.Registered.Prefix.h
The unregistered.prc has the original Us.Prefix.h
When compiled
the unregistered.prc version hides the "UNREGISTERED" label
the registered.prc version does not hide the label.
if I change the code to
#ifndef REGISTERED
HideObject(MainUnregisteredLabel);
#endif
it works but I don't understand it......
Ron
-----Original Message-----
From: Chris Antos [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 14, 1999 11:07 PM
To: [EMAIL PROTECTED]
Subject: Re: Unregistered/registered Versions
1. create a second target
2. in the second target, instead of pointing it to Us.Prefix.h as the prefix
header file (somewhere in the target settings pane, i forget where), point
it at some Us.Registered.Prefix.h file.
3. the Us.Registered.Prefix.h file can simply contain the following:
#define REGISTERED
#include <us.prefix.h>
----- Original Message -----
From: Ronald Gouldner Jr <[EMAIL PROTECTED]>
To: Palm-Dev-Forum <[EMAIL PROTECTED]>
Sent: Wednesday, July 14, 1999 7:30 PM
Subject: Unregistered/registered Versions
> How can I build two .prc files one registered and one unregistered version
> in Metrowerks ?
>
> I have done this in gcc with a makefile that has two targets on having a
> REGISTERED define and one that does not. But how can defines be passed
into
> Metrowerks ? I can't fine a setting on the main target that builds the
prc
> file.
>
> Ron
>
>