File properties?

Blitz3D Forums/Blitz3D Programming/File properties?

vivaigiochi(Posted 2011) [#1]
Like Date. How can find this related one file?


Kryzon(Posted 2011) [#2]
I think you'd need to create a DECLS and a code file with banks to interface with the FileTime structures of Windows. More info here: http://msdn.microsoft.com/en-us/library/ms724290(v=vs.85).aspx

You need to understand the way memory and banks work so you can create an interfaceable bank structure to receive the information returned by Kernel32's GetSystemTimeAsFileTime.
Two banks will be needed: one FILETIME structure and one SYSTEMTIME from where you'd read the data you want to know.

EDIT: Also take a look at GetFileVersionInfo as it returns the Comments, Copyright, Author etc. data from the file.

Last edited 2011


_PJ_(Posted 2011) [#3]
This will help, I'm sure:

http://blitzbasic.com/codearcs/codearcs.php?code=1442


vivaigiochi(Posted 2011) [#4]
Thank you Malice. I need this it's very usefull.