uxtheme: lots of infrastructure

Alexandre Julliard julliard at winehq.org
Mon Jan 12 23:07:57 CST 2004


Kevin Koltzau <kevin at plop.org> writes:

> I guess I'd probably need to define each string beforehand like
> WCHAR szString[] = {'S','T','R','I','N','G','\0'};
> and use that in the map, but before I undergo that large task I would like to verify thats the best way

Either that, or you can declare a fixed-size array directly in the map
structure and avoid the pointer indirection. It wastes a few bytes for
short strings, but it saves some relocations, so it may be worth it if
the longest string you have to store is not too long.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list