Re: static array of strings?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux