Re: GetShortPathName broken

2004-01-17 Thread Stefan Leichter
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

Re: GetShortPathName broken

2004-01-17 Thread 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 ma

Re: GetShortPathName broken

2004-01-17 Thread Stefan Leichter
Am Samstag, 17. Januar 2004 18:40 schrieb Eric Pouech: > Stefan Leichter a écrit : > > Hello, > > > > The function GetShortPathName is broken in current cvs. This short > > program exhibits the problem: > > > > #include > > #include > > #include > > > > int m

Re: GetShortPathName broken

2004-01-17 Thread Eric Pouech
Stefan Leichter a écrit : Hello, The function GetShortPathName is broken in current cvs. This short program exhibits the problem: #include #include #include int main(int argc,char **argv[]) { char buffer[0x104] =""; DWORD retval; retval = GetShortPath

GetShortPathName broken

2004-01-17 Thread Stefan Leichter
Hello, The function GetShortPathName is broken in current cvs. This short program exhibits the problem: #include #include #include int main(int argc,char **argv[]) { char buffer[0x104] =""; DWORD retval; retval = GetShortPathName("C:\\Program Files",