Am Samstag, 17. Januar 2004 22:31 schrieb Eric Pouech:
Thanks Eric,
this was the right tip. My Problem is that i have two directories. The first one is "C:\Program Files" but the second one is C:\Programme. After i renamed (first character) the second one the test program works for me too. So what changed is the behavoir if two directories will match the short path.
So, this shouldn't impact GetShortPathName. The short name should be unique (as the long path). So, your test should work even with your two directories. Something is wrong somewhere.
This patch should help ?
Yes, thanks it works fine here
Thanks Stefan