Undeclared Identifier Error for SetFilePointerEx

This is a discussion on Undeclared Identifier Error for SetFilePointerEx within the C++ Programming forums, part of the General Programming Boards category; Hi !! I am trying to use SetFilePointerEx function, I have included Windows.h . My compiler is VC++ 6.0 , ...

  1. #1
    Kan
    Kan is offline
    Registered User
    Join Date
    May 2003
    Posts
    2

    Undeclared Identifier Error for SetFilePointerEx

    Hi !!
    I am trying to use SetFilePointerEx function, I have included
    Windows.h . My compiler is VC++ 6.0 , I have Windows Xp. According to the msdn documentation all I have to do is include Windows.h file. I am doing an MFC app, and I am not using any precompiled headers.

    What could be the problem, SetFilePointer works Properly,

    Thanks,

    - KaN

  2. #2
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    msdn provides this bit of info:

    Windows NT/2000 or later: Requires Windows 2000 or later.
    Windows 95/98/Me: Unsupported.
    Header: Declared in Winbase.h; include Windows.h.
    Library: Use Kernel32.lib.

    which should tell you enough. You have to set the windows version to 2000 if you wish to support it but it means that you are a win2000 only app.

    0x0500 or something
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  3. #3
    Kan
    Kan is offline
    Registered User
    Join Date
    May 2003
    Posts
    2

    Still Doesnt work !!

    Originally posted by FillYourBrain
    msdn provides this bit of info:

    Windows NT/2000 or later: Requires Windows 2000 or later.
    Windows 95/98/Me: Unsupported.
    Header: Declared in Winbase.h; include Windows.h.
    Library: Use Kernel32.lib.

    which should tell you enough. You have to set the windows version to 2000 if you wish to support it but it means that you are a win2000 only app.

    0x0500 or something
    As I said I read the msdn documentation, i have windows XP and I have included windows.h as said by msdn. Still no result !!
    What do you mean set the windows version to 2000 ??

    Thanks,

    KaN

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. An error is driving me nuts!
    By ulillillia in forum C Programming
    Replies: 5
    Last Post: 04-04-2009, 10:15 PM
  2. Game Pointer Trouble?
    By Drahcir in forum C Programming
    Replies: 8
    Last Post: 02-04-2006, 02:53 AM
  3. Why wont my function exit correctly?
    By LightsOut06 in forum C Programming
    Replies: 2
    Last Post: 10-09-2005, 10:23 PM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 07:39 AM
  5. Problem with Visual C++ Object-Oriented Programming Book.
    By GameGenie in forum C++ Programming
    Replies: 9
    Last Post: 08-30-2005, 12:21 AM

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