|
|
#1 |
|
Junior Member
Join Date: May 2004
Location: Leusden, The Netherlands
Posts: 5
|
Possible bug in GetFullPathname
Hi all,
I seem to have a problem on win98 with the function GetFullpathname. If i add a filename that does not exist, it returns an empty string. This is different than what is mentioned in the help: Assign to the user variable $x, the full path of the file specified. If the path portion of the parameter is not found, the error flag will be set and $x will be empty. If /SHORT is specified, the path is converted to the short filename form. |
|
|
|
|
|
#2 | |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
As you quoted yourself:
Quote:
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
|
#3 | |
|
Junior Member
Join Date: May 2004
Location: Leusden, The Netherlands
Posts: 5
|
Quote:
Thanks for the quick reply! |
|
|
|
|
|
|
#4 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,896
|
Well, maybe this is not your awnser, but the GetFullPathName is the same as msdn's.
You'll need some files installed, they call them Microsoft Layer for Unicode on Windows 95/98/Me Systems. * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4. |
|
|
|
|
|
#5 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
I'll try to find out what the documentation is referring to.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#6 | |
|
Major Dude
|
Quote:
"C:\PROGRA~1\COMMON~1" Will return "C:\PROGRA~1\Common Files" And the Windows original GetFullPathName does return the correct folder name. The bug is in front of you now, kichik. Just say when it's fixed. |
|
|
|
|
|
|
#7 | |
|
Junior Member
Join Date: May 2004
Location: Leusden, The Netherlands
Posts: 5
|
Quote:
Maybe it won't be a bad idea at all to include links to the MSDN pages in the helpdocs if those functions are used (on the other side, who wants to write docs at all... If i suggest this, i probably would get 50 invitations to help write the docs ).
|
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|