Anton,

This is an indirect answer, since I'm not using a nil.  I don't use the
SECURITY_ATTRIBUTES, ahhh, attribute, so it probably looks for all the world
like a nil.  But I set it up as legit as I can:

type SECURITY_ATTRIBUTES
  nLength as integer
  lpSecurityDescriptor as integer
  bInheritHandle as integer
end type

Then have a variable of that type passed to the API.  Ok?  No?


Anton de Gruchy wrote:

> Hi All
>
> I am trying to write a procedure to get a file time stamp.  I am using the
> createFile call.  Yet I hit a problem with the SECURITY_ATTRIBUTE part of
> the call.  I notice that in the Delphi3 source they use a nil in there.  I
> tried the same code that I want in MapBasic in Delphi3 with a nil in that
> part of the call, it worked nicely.
>
> So my question is how to a use a nil in a WinAPI call from MapBasic.  As far
> as I know MapBasic does not have such a thing.
>
> Any help would a appreciated.
>
> Yours
>
> Anton de Gruchy
> ----------------------
> MapIT
> 29 Tecoma Crescent
> Thornton
> Cape Town
> 7460, South Africa
> Tel: 27+21+548998
> email: [EMAIL PROTECTED]
> cell: 082 855 9747
>
> ----------------------------------------------------------------------
> To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

--
Sam Kome
5341 Three Waters Lane
Graham, NC 27253


----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to