This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: static array of strings?
- From: "John (Eljay) Love-Jensen" <eljay at adobe dot com>
- To: Sean Draine <seandr at millisecond dot com>, GCC-help <gcc-help at gcc dot gnu dot org>
- Date: Fri, 22 May 2009 04:20:09 -0700
- Subject: Re: static array of strings?
Hi Sean,
Did not work on my machine, because LPCTSTR was not specified.
At the beginning, I added a:
typedef wchar_t const* LPCTSTR;
Then it worked.
Note: beware the bad Hungarian, since on Windows (Win32, Win64, and on Mac32
and Mac64) the pointer is not a "LP".
> Is there a specific issue with the syntax, the macro, or are static arrays
> of strings simply not supported by gcc?
I think there may be a specific issue with the definition of LPCTSTR
missing.
HTH,
--Eljay