Thread: Undeclared Identifier Error for SetFilePointerEx

  1. #1
    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
    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, 09: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, 09:23 PM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  5. Problem with Visual C++ Object-Oriented Programming Book.
    By GameGenie in forum C++ Programming
    Replies: 9
    Last Post: 08-29-2005, 11:21 PM