Top "Createfile" questions

The Windows CreateFile API function

How can I create text files with special characters in their filenames

Demonstration of my problem Open a new Excel workbook and save these symbols 設計師協會 to cell [A1] insert the following VBA …

vba excel-2003 createfile
Figuring which printer name corresponds to which device ID

My goal is to open a printer connected via USB using the CreateFile (and then issue some WriteFiles and ReadFiles). …

winapi printing createfile
CreateFile with the FILE_FLAG_DELETE_ON_CLOSE flag

Before I describe my problem, here is a description of the program (IHExplorer.exe) I'm writting: This is a C++ …

c++ filesystems temporary-files createfile
Difference between OPEN_ALWAYS and CREATE_ALWAYS in CreateFile() of Windows API

Can anyone explain what the difference is between the creation dispositions OPEN_ALWAYS and CREATE_ALWAYS of the CreateFile() function …

c windows createfile
Reopening serial port fails if not closed properly with CloseHandle

I am working with USB device on Windows that is seen as a virtual serial port. I can communicate with …

c++ windows serial-port createfile
iOS create file

I am trying to open a file for writing into it. The file may not exist. I found that [NSFileHandle …

ios createfile
Append text at the end of a text file in win32 api

I am trying to open a text file, write some data into it and then append some more data at …

c windows winapi text-files createfile
CreateFile in Kernel32.dll returns an invalid handle

I'm trying to create a safe file handle for "C:" using the CreateFile method of kernel32.dll which always returns …

c# createfile kernel32 safefilehandle
NSFileManager createFileAtPath failing on iPad but works on Simulator

I am trying to write a simple log file for each execution of my app. The logfile name is based …

ios objective-c nsfilemanager createfile
CreateFile error in Windows7

I've noticed that if the path parameter to the CreateFile function targets \Windows\System32\ the call is failing with the …

windows-7 createfile system32