Article View: borland.public.cppbuilder.nativeapi
Article #2276Re: NetRemoteTOD to Get Server Time
From: Dan
Date: Mon, 19 Mar 2007 19:25
Date: Mon, 19 Mar 2007 19:25
16 lines
1587 bytes
1587 bytes
Bob Gonder wrote: > D Ray wrote: > >> This gets close, but doesn't really deal with DST. > > Which part doesn't? > > I was wondering how to do this awhile back; didn't know such a function existed. thanks.. Now the stupid question; how can I get it to work? I made a simple VCL application with a button that should show me the time of day returned by NetReportTOD, and I get an error "Multiple declaration for NET_API_STATUS" when I include <lmremutl.h> but then an error that NetRemoteTOD doesn't exist if I don't.. what file should I be including?
Technical Details
Message-ID:
<45fee40d@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<45fc2a82@newsgroups.borland.com> <esiov2t822j0k56pg1ke5ekulrcl3tiqfv@4ax.com> <45feb217@newsgroups.borland.com> <98gtv2p5l749u2k4vd19ta7k0snnlu2ub3@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9a57de6d3de75d9f X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 19 Mar 2007 14:25:36 -0500 From: Dan <Dan@do.not.spam> User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: NetRemoteTOD to Get Server Time References: <45fc2a82@newsgroups.borland.com> <esiov2t822j0k56pg1ke5ekulrcl3tiqfv@4ax.com> <45feb217@newsgroups.borland.com> <98gtv2p5l749u2k4vd19ta7k0snnlu2ub3@4ax.com> In-Reply-To: <98gtv2p5l749u2k4vd19ta7k0snnlu2ub3@4ax.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 216.174.165.174 Message-ID: <45fee40d@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1174332429 216.174.165.174 (19 Mar 2007 12:27:09 -0800) Lines: 16 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail