|
-
January 12th, 1999, 06:43 PM
#1
Is there an API function can create new file with any extension and path?
Hi: there
Just a naive question:
Is there an API function can create new file with any extension and path?
thanks
George
-
January 28th, 1999, 04:36 PM
#2
Re: Is there an API function can create new file with any extension and path?
This function should do what you are looking for.
There are several constanst that go with this, you can look them up in the Programmer's Guide to Win32 API.
Public Declare Function CreateFile& Lib "kernel32" Alias "CreateFileA" (ByVal lpFileName As String, ByVal dwDesiredAccess As Long, ByVal dwShareMode As Long, lpSecurityAttributes As SECURITY_ATTRIBUTES, ByVal dwCreationDisposition As Long, ByVal dwFlagsAndAttributes As Long, ByVal hTemplateFile As Long)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|