|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++.windows.32-bits - INVALID_SET_FILE_POINTER
Hi, does someone know where to find this constant? The MSDN docs state that it should be defined in windows.h, which isn't the case for DMC. I can find the SetFilePointer function but not the return code. -- Robert M. Münch IT & Management Freelancer Mobile: +49 (0)177 2452 802 Fax : +49 (0)721 8408 9112 Web : http://www.robertmuench.de Dec 21 2002
It is defined as follows in winbase.h. That is, in the Platform SDK, and not DM's winbase.h which lacks this definition. #define INVALID_SET_FILE_POINTER ((DWORD)-1) Rest assured, this isn't the only time you'll find a definition missing from the headers supplied with dm. :) You always should have a copy of the Platform SDK handy and just copy the appropriate definition from there. -- Daniel "Robert M. Münch" <robert.muench robertmuench.de> wrote in message news:au1pmb$2fr3$1 digitaldaemon.com...Hi, does someone know where to find this constant? The MSDN docs state Dec 21 2002
I don't suppose Walter, or anyone else, has a tool that can automatically extract the DMC-compatible version of Platform SDK contents? "Daniel Fazekas" <fds mailbox.hu> wrote in message news:au26eg$2o9j$1 digitaldaemon.com...It is defined as follows in winbase.h. That is, in the Platform SDK, and Dec 22 2002
"Matthew Wilson" <dmd synesis.com.au> schrieb im Newsbeitrag news:au5a4v$1q4c$1 digitaldaemon.com...I don't suppose Walter, or anyone else, has a tool that can automatically extract the DMC-compatible version of Platform SDK contents? Dec 23 2002
I'd be interested in this, but workload won't permit any input from me until perhaps March! Sorry. "Robert M. Münch" <robert.muench robertmuench.de> wrote in message news:au6tos$2v3r$1 digitaldaemon.com..."Matthew Wilson" <dmd synesis.com.au> schrieb im Newsbeitrag news:au5a4v$1q4c$1 digitaldaemon.com...I don't suppose Walter, or anyone else, has a tool that can Dec 27 2002
On Fri, 27 Dec 2002 22:26:54 +1100, Matthew Wilson wrote:I'd be interested in this, but workload won't permit any input from me until perhaps March! Sorry. "Robert M. Münch" <robert.muench robertmuench.de> wrote in message news:au6tos$2v3r$1 digitaldaemon.com..."Matthew Wilson" <dmd synesis.com.au> schrieb im Newsbeitrag news:au5a4v$1q4c$1 digitaldaemon.com...I don't suppose Walter, or anyone else, has a tool that can Dec 27 2002
"Christof Meerwald" <cmeerw web.de> schrieb im Newsbeitrag news:aui4gr$1os1$1 digitaldaemon.com...Maybe I am missing something here, but what's the problem with just using the Platform SDK? (AFAIK the most difficult part is deleting the old SDK headers included in DMC). See http://cmeerw.org/prog/dm/ms_sdk.html for a description of how I got Dec 27 2002
|