for using CreateFile()

This is a discussion on for using CreateFile() within the Windows Programming forums, part of the Platform Specific Boards category; i am using c++ to wite the createfil() function, what header file should i include??...

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    117

    for using CreateFile()

    i am using c++ to wite the createfil() function, what header file should i include??

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    It is, (albeit indirectly), included within windows.h.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    Registered User
    Join Date
    Nov 2002
    Posts
    117

    i.e......

    i.e.....i just type #include <windows.h>

    and i can use this?
    how about other kind like handle, dim...?

  4. #4
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    Including windows.h adds most of the things you need for basic Win32 programming. There are some things that are more specialised that you need to include seperately, but for beginners, it is good enough.

    The answer to your question is, therefore, yes.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. CreateFile() and CONOUT$
    By cboard_member in forum Windows Programming
    Replies: 1
    Last Post: 06-30-2006, 02:30 PM
  2. CreateFile() giving errors
    By neandrake in forum Windows Programming
    Replies: 2
    Last Post: 09-27-2004, 10:29 PM
  3. Serial comm W32 using CreateFile
    By Foldager in forum Windows Programming
    Replies: 2
    Last Post: 06-30-2003, 01:13 PM
  4. fopen and CreateFile
    By Bajanine in forum Windows Programming
    Replies: 3
    Last Post: 04-03-2003, 06:24 PM
  5. CreateFile and Long Path/Files :: Win32
    By kuphryn in forum Windows Programming
    Replies: 4
    Last Post: 12-27-2002, 09:26 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21