createfile
Invalid handle error from ReadFileEx using valid handle from CreateFile
The problem I\'m having: CreateFile returns a handle of 0x194.ReadFileEx is saying that this handle is invalid.(Error 6.)Any ideas?The argument passed in is \"C:\\testfile.txt\", which is a valid text[详细]
2023-04-11 18:15 分类:问答Problems with creating a file in android
i would like to do a simple operation. Create a file in android, but i don\'t know why. android didn\'t create this file. Android stop between debug 2 and debug 3.The folder is not created. I don\'t u[详细]
2023-04-08 18:42 分类:问答Create plist file from string
I have this string: <!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">[详细]
2023-04-03 19:06 分类:问答Windows WriteFile problem when using threads
My company is developing a hardware that needs to communicate with software. To do this, we have made a driver that enables writing to and reading from the hardware. To access the driver, we use the c[详细]
2023-04-01 16:32 分类:问答foreign chars in file name on Android
File outputFile = new File(path, clickedKey+\".txt\"); OutputStream fos = new FileOutputStream(outputFile);[详细]
2023-03-31 04:01 分类:问答Windows CreateFile in C# Returns Invalid Handle
I am trying to invoke the CreateFile method from Kernel32.dll in a C# application, and it is returning an invalid handle everytime. I\'ve looked all over and can\'t find a solution to this problem. He[详细]
2023-03-28 20:50 分类:问答lockfile is not working
i have locked my file from 0 to 5 bytes, and i write some character byte by byte but it does not stop writing even if the file is locked, i dont know what is wrong, i have tried every type of flag in[详细]
2023-03-24 07:37 分类:问答How to FTP constantly incoming files
Ok, here\'s the situation... I have an application that generates about 8 files per second.Each file is 19-24kb.This generates about 10 to 11 MB per minute.This question is not about how to ftp, becau[详细]
2023-03-09 05:39 分类:问答VB6: CreateFile() creates file with garbled name in current working directory
I was troubleshooting a problem where CreateFile couldn\'t open an existing named pipe when I found CreateFile() didn\'t work well with the filename parameter. My code is:[详细]
2023-03-08 05:48 分类:问答Hook CreateFileW
I want to know what are the files opened/access by a process. May i know how to do that? I tried to use Deviare, a free hooking api to help me, but was unable to find any useful information from their[详细]
2023-03-07 16:48 分类:问答