You'd have to change the code a bit, but why not just change it to an array of strings instead of a single string? Just append them at runtime, or use in array form. Is there some reason it has to be a single long string?
-- Nathan
------------------------------------------------------------
Nathan Neulinger EMail: nneul@xxxxxxx
University of Missouri - Rolla Phone: (573) 341-4841
Computing Services Fax: (573) 341-4216
> -----Original Message-----
> From: Joerg Mayer [mailto:jmayer@xxxxxxxxx]
> Sent: Monday, February 24, 2003 3:30 PM
> To: Ulf Lamping
> Cc: Ethereal
> Subject: Re: [Ethereal-dev] Problems compiling latest CVS
> with VisualC (again, FAQ.include)
>
>
> On Mon, Feb 24, 2003 at 06:52:56PM +0100, Ulf Lamping wrote:
> > Again, I have problems with FAQ.include!
> > Visual C is telling me:
> > ../FAQ.include(1452) : fatal error C1091:
> Compiler-Beschränkung: Die Zeichenfolge überschreitet die
> Länge um 65535 Bytes
> > If I cut the length of FAQ.include down to a much smaller
> size, I have no problems compiling at all.
> > So I think, the constant String in FAQ.include is too long
> for the Visual C compiler :-(
> > I think Guy mentioned earlier, the clean way would be to
> read the FAQ out of a file, coming with the packaging,
> > instead of compiling it into the program.
>
> Sigh. The FAQ is currently not installed when you do a simple
> make install. It's only included in thepackaging process.
> I currently have no idea how to impelment the file reading at
> runtime because the file isn't always there (make install)
> and might be in a completely different place in case Ethereal
> has been installed as part of a package.
>
> Does anyone have a solution or should I just remove the FAQ
> from the help menu again?
>
> Ciao
> Jörg
>
> --
> Joerg Mayer
> <jmayer@xxxxxxxxx>
> I found out that "pro" means "instead of" (as in proconsul).
> Now I know
> what proactive means.
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>