C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 24th, 2003, 12:30 PM
yedaanna yedaanna is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 7 yedaanna User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
SetFilePointerEx problem

Hi..
I am trying to use SetFilePointerEx on my Windows 2000 machine. I get the error

'SetFilePointerEx' : undeclared identifier
Error executing cl.exe.

I have included Windows.h and Winbase.h file.

What could be the problem ??

Thanks,

- Yeda Anna

Reply With Quote
  #2  
Old June 24th, 2003, 04:35 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,536 Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 6 h 45 m 12 sec
Reputation Power: 876
Since these functions are available for Win2K and greater only, you may need to define a macro (_WIN32_WINNT=0x0500). See:
http://msdn.microsoft.com/library/d...sdk_headers.asp This page also explains why you're getting the "error C2065: undeclared identifier" message.

Also, the SDK that you're using may be out of date (the default SDK that comes with Visual Studio 6 certainly is by now). Microsoft periodically releases new SDKs for use with their products. See:
http://msdn.microsoft.com/library/d...omplete_sdk.asp for how to obtain the SDK and
http://msdn.microsoft.com/library/d...sual_studio.asp for installation instructions.

Please bear in mind that this function only works on Win2k Professional, Win2k Server, XP and Windows Server 2003. Other versions of Windows don't have this function.

Last edited by Scorpions4ever : June 24th, 2003 at 04:38 PM.

Reply With Quote
  #3  
Old June 25th, 2003, 02:09 PM
yedaanna yedaanna is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 7 yedaanna User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks

Thanks a lot !! It worked perfectly

- Yeda Anna

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > SetFilePointerEx problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway