I just want to realize the function like this:when it activates the USB, the pc will detect it ,and put a file on the MemoryStick, and then disconnect it. After the disconnection, the function will read the file.
But when open it, the handle is always invalid.
I have checked that the file is correct. if I restart the program,the file can be read correctly.
So what the problem is?THANKS!