Could someone test this code? (Regard this as some kind of poll)
I have changed the thread name to trigger fresh interest if possible
Rather than continue posting to this thread I thought I'd start a new one. I have tried this code for setting a time stamp to a directory. However, the line with the "CreateFile" statement is giving me error code -1 = "invalid handle value". Would anyone try and see if it works for him/her?
Last edited by krtxmrtz; May 15th, 2006 at 08:22 AM.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
I tested it on windows 2000 and it works. You need to press the choose folder button first before you click on apply to folder, otherwise it will produce an error (the handle to the folder is not correct).
I tested it on windows 2000 and it works. You need to press the choose folder button first before you click on apply to folder, otherwise it will produce an error (the handle to the folder is not correct).
Thank you Frans.
Well, it seems that the FILE_FLAG_BACKUP_SEMANTICS flag is only valid on Windows NT/2000/XP and I was trying to run this demo on Win98. I thought it wouldn't work on WinXP because I tried SIMILAR code and it failed, but I still haven't tried this exact code. Hopefully this evening I'll have a chance to try it.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
I tested it on windows 2000 and it works. You need to press the choose folder button first before you click on apply to folder, otherwise it will produce an error (the handle to the folder is not correct).
Now I've tested it on WinXP and it's still giving an error at the CreateFile statement. I really don't know why this happens as the API functions are some kind of blackboxes to me.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
I tested it on windows 2000 and it works. You need to press the choose folder button first before you click on apply to folder, otherwise it will produce an error (the handle to the folder is not correct).
Would someone try that code in Windows XP? I'd like to know if it works at all or just in W2000.
Last edited by krtxmrtz; May 8th, 2006 at 10:54 AM.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
Would someone try that code in Windows XP? I'd like to know if it works at all or just in W2000.
All right, I think PlanetSourceCode' codes may not be accessible to everybody, so I've attached the project I'd like you guys to test in Windows XP.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
Re: Could someone test this code? (Regrd this as some kind of poll)
bump anew
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)