|
-
Aug 2nd, 2002, 12:26 PM
#1
Thread Starter
New Member
CreateFile API function
Did Anybody use API function CreateFile in VB ?
I have problem with SECURITY_ATTRIBUTES parameter. I don't know what send in this function instead of that structure.
fHandle = CreateFile( FileName, GENERIC_READ, FILE_SHARE_READ, ByVal CLng(0), OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0)
Like this don't work, return fHandle = -1
Please help with example.
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
|