|
|
#1 |
|
Junior Member
Join Date: Sep 2010
Posts: 19
|
Hi,
I want to get the size of .png files..... GetFileSize gives the size of .dll,.exe but gives 0 kb for .png files.....plzz help.... thnx in advance..!!! |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,841
|
GetFileSize always gives the file size, no matter what file type it is. If you get zero, then probably the file doesn't exist or it's of zero size. Or maybe it's locked and can't be opened.
|
|
|
|
|
|
#3 | |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,896
|
This works ok, in my XP box:
code: But, I notice when using like this: Returns this: code: Quote:
FileSizeNew wiki. * 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. |
|
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,841
|
Hmm. I use that function with spaces without trouble. Perhaps the accent on imagines is causing the problem? Try the unicode build.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|