On Sunday 26 October 2008 00:35:14, Eric House wrote: > On Sat, Oct 25, 2008 at 11:45:18PM +0100, Pedro Alves wrote: > > On Saturday 25 October 2008 18:13:00, Eric House wrote: > > > > > If there's a bug it's that the headers reference W and A versions and > > > turn SHGetSpecialFolderPath into one of them. > > > > Are you defining _WIN32_IE for some reason? If for no good reason, > > don't do it. Also, include shellapi.h to pick the correct declaration. > > My app doesn't compile without _WIN32_IE defined. I'm using > TBBUTTONINFO structs and the TB_GETBUTTONINFO message to manipulate > the soft keys on Smartphone. The struct is only available if > _WIN32_IE is defined.
That is a bug then. Relying on _WIN32_IE on Windows CE is nonsense. > > Adding shellapi.h does not fix things as long as _WIN32_IE is defined. > Unless I #undef SHGetSpecialFolderPath the linker looks for, and does > not find, SHGetSpecialFolderPathW. > > --Eric -- Pedro Alves ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel