Hallo.
I have some code that reads:
ffblk ffblk;
if(!findfirst("formatted",&ffblk,FA_DIREC)){
// create & ensure subfolder "formatted" exists
}
The line with findfirst in it is to check that the directory doesn't exist before I try to create it, so that I can perform another action if the folder then can't be created for some reason.
My problem is, the findfirst call, as I understand it, that I have written should only be checking for directories called 'formatted'. I know there is no such folder there, but am not getting to create code in the debugger, and on the one ocasion (I don't know why) when I did, findfirst had read a file.
I am very confused.
Douglas JL
If it don't make you laugh, it ain't true.
I have some code that reads:
ffblk ffblk;
if(!findfirst("formatted",&ffblk,FA_DIREC)){
// create & ensure subfolder "formatted" exists
}
The line with findfirst in it is to check that the directory doesn't exist before I try to create it, so that I can perform another action if the folder then can't be created for some reason.
My problem is, the findfirst call, as I understand it, that I have written should only be checking for directories called 'formatted'. I know there is no such folder there, but am not getting to create code in the debugger, and on the one ocasion (I don't know why) when I did, findfirst had read a file.
I am very confused.
Douglas JL
If it don't make you laugh, it ain't true.