Mail Archives: djgpp/1997/09/30/14:19:52
>At 15:39 30/09/97 +0200, Eli Zaretskii wrote:
>>program using that long name. The funny thing is, this also happens for
>>native Win32 programs (so I am told). Looks like somebody at Microsoft
>>got lazy and didn't want to differentiate between DOS and Win32 programs.
>>
Yes !. MSVC 5 fails to print the long name. Borland and Watcom print
argv[0] correctly.
On Tue, 30 Sep 1997, Cesar Scarpini Rabak wrote:
>Humm, your observation if correct, may mean that there is hope: if native
>Win32 programs also have this problem, but aplications like Explorer,
>Notepad, etc., are able to show in their file menus the longfilenames,
then
>there should be a documented way of doing it!
There is a Win32 API function that return the long file name. I do not know
why
it is not used also for argv[0] -- strange.
Eyal.
- Raw text -