Look in the Delphi help for DateTimeToSystemTime. And no, you wont be able
to use the INT 21 method for 32-bit apps (well, there is a way, but it
involves DPMI and DLLs...).
  Andrew.

> -----Original Message-----
> From: Coulter, Jeremy [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, June 04, 1999 2:48 PM
> To:   Multiple recipients of list delphi
> Subject:      RE: [DUG]:  Progmatically changing Computers Date
> 
> had a look,, BUT could not work out the SYSTEMTIME structrue. Do you have
> an
> example of how this works ???
> 
> 
> 
> Jeremy Coulter 
> Application Developer
> 
> Application Development Centre
> Compaq Computer New Zealand Ltd.
> 
> Phone:                64 3 371 5724 (DD)
> Fax:                  64 3 371 5744
> Cell:                    021 2150435
> E-mail:                    [EMAIL PROTECTED]
> Private E-Mail:  [EMAIL PROTECTED]
> 
> 
> -----Original Message-----
> From: Cooke, Andrew [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 04, 1999 14:31
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: Progmatically changing Computers Date
> 
> 
> Try SetSystemTime (API function). You'll need the right privileges on NT.
> -   Andrew Cooke.
> 
> > -----Original Message-----
> > From:       Coulter, Jeremy [SMTP:[EMAIL PROTECTED]]
> > Sent:       Friday, June 04, 1999 2:20 PM
> > To: Multiple recipients of list delphi
> > Subject:    [DUG]:  Progmatically changing Computers Date
> > 
> > Hi all can someone remind me how to Progmatically changing Computers
> Date
> > ??
> > 
> > I have some ASM code, but it nearly killed my machine when I ran
> > it.....The
> > code is :-
>       [snip]  
> --------------------------------------------------------------------------
> -
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
>  << File: Jeremy Coulter.vcf >> 
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to