SetFileDate() Question

Just starting out? Need help? Post your questions and find answers here.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

Yes, you've struck upon an interesting point. PureBasic's SetFileDate command works with files but not with folders. This is due to the fact that the SetFileDate_() API needs a valid folder handle to set the creation date and a string isn't going to cut it. Here's how it can be done:

http://www.purebasic.fr/english/viewtop ... 956#202956
BERESHEIT
juser
New User
New User
Posts: 2
Joined: Sun Jul 15, 2007 7:05 pm
Location: Texas

SetFileDate() Question

Post by juser »

Thanks, I am looking at the code trying to figure what you have done.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

That's how I spend much of my time, trying to figure out what the hell I've done. :wink:
BERESHEIT
Post Reply