Stop a file read/write operation

Just starting out? Need help? Post your questions and find answers here.
Justin
Addict
Addict
Posts: 958
Joined: Sat Apr 26, 2003 2:49 pm

Stop a file read/write operation

Post by Justin »

How do you stop an active file read or write operation in PB?, i thought to have a separate thread writing and the main thread use closefile(), would this work? , has anyone tried it?, it's safe?

with the API i think is done working in asyncronius mode and using a callback but i prefer not to use this. so wich is the safe way to do it in PB?