Eric Pouech pouech-eric@wanadoo.fr writes:
gives "len is 4/4" on W2K, while we get "len is 3/3" on wine when the buffer is too small, GetModuleFileName doesn't put the terminating '\0' to the string, while wine does (and my patch didn't) (and yes I do have a test sample, but that I haven't finished it yet)
Actually it does get null terminated, but one character too far... I guess we should add that bug too <g>