Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
December 21, 2002 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 |
December 21, 2002 Re: INVALID_SET_FILE_POINTER | ||||
---|---|---|---|---|
| ||||
Posted in reply to Robert M. Münch | 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 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 > > |
December 22, 2002 Re: INVALID_SET_FILE_POINTER | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Fazekas | 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 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 > 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 > > > > > > |
December 23, 2002 Re: INVALID_SET_FILE_POINTER | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew Wilson | "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? Hi, I don't know. But how about a community driven process? I'm sure quite a lot of us have written/extended the header files. So how could we all merge these together to create a Platform SDK compatible set of headers over time? Any idea? Robert |
December 27, 2002 Re: INVALID_SET_FILE_POINTER | ||||
---|---|---|---|---|
| ||||
Posted in reply to Robert M. Münch | 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 automatically > > extract the DMC-compatible version of Platform SDK contents? > > Hi, I don't know. > > But how about a community driven process? I'm sure quite a lot of us have written/extended the header files. So how could we all merge these together > to create a Platform SDK compatible set of headers over time? Any idea? Robert > > |
December 27, 2002 Re: INVALID_SET_FILE_POINTER | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew Wilson | 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 > automatically >> > extract the DMC-compatible version of Platform SDK contents? >> >> Hi, I don't know. >> >> But how about a community driven process? I'm sure quite a lot of us have written/extended the header files. So how could we all merge these > together >> to create a Platform SDK compatible set of headers over time? Any idea? Robert 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 it to work (the page still needs some work...) bye, Christof -- http://cmeerw.org JID: cmeerw@jabber.at mailto cmeerw at web.de ...and what have you contributed to the Net? |
December 27, 2002 Re: INVALID_SET_FILE_POINTER | ||||
---|---|---|---|---|
| ||||
Posted in reply to Christof Meerwald | "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 it > to work (the page still needs some work...) Hi, seems more like I'm missing something ;-)). I'll try your approach. If this works out than of course we should use the Platform SDK stuff directly provided by MS. Robert |
Copyright © 1999-2021 by the D Language Foundation