Is anyone aware as to whether we can use Visual basic as a development tool
in lieu of C++?
----- Original Message -----
From: Chris Faherty <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 21, 1999 9:35 PM
Subject: GCC code and data resources question
> I just used pilot-file to look at my PRC file and I realized that GCC puts
> literal constants into the code resource. Such that a line like this will
> take up code space for the literal string:
>
> ShowErrorMsg("missing required rfc822 fields.");
>
> Whereas this will not:
>
> char message[]="missing required rfc822 fields.";
> ShowErrorMsg(message);
>
> Is this normal? And I suppose I should get rid of all of my literals and
> make them into globals so that I won't run out of 32K code space. But
then
> won't the globals eat into my ~60K dynamic heap?
>
> What is the best way to store strings like that?
>
> /* Chris Faherty <[EMAIL PROTECTED]>, finger for PGP */
>
>