Article View: borland.public.cppbuilder.nativeapi
Article #2287Re: NetRemoteTOD to Get Server Time
From: Bob Gonder
Date: Wed, 21 Mar 2007 02:10
Date: Wed, 21 Mar 2007 02:10
19 lines
2111 bytes
2111 bytes
Dan wrote: >complie as shown above, yields: >[C++ Error] lmremutl.H(61): E2238 Multiple declaration for 'NET_API_STATUS' >[C++ Error] lmremutl.H(55): E2344 Earlier declaration of 'NET_API_STATUS' Those aren't declaration lines. These are usage lines. That means they weren't expected. First thing to try when that happens is moving the header to where it belongs. In this case, probably immediately after #pragma hdrdstop. If not there, then before #include <vcl> IMO all system headers belong before any application headers. If that still doesn't work, check the header includes LMCONS.H You didn't say what version you were using, but 5 and 2006 both have slightly different line numbers from what you show. If your version of lmremutil doesn't include lmcons, then include it yourself
Technical Details
Message-ID:
<ah31039gbc66faj0ufb6oquaggakg7u2ba@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.albasani.net!feeder06.uucp-net.de!reader.uucp.at!feeder08.uucp.at!feeder10.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mailReferences:
<45fc2a82@newsgroups.borland.com> <esiov2t822j0k56pg1ke5ekulrcl3tiqfv@4ax.com> <45feb217@newsgroups.borland.com> <98gtv2p5l749u2k4vd19ta7k0snnlu2ub3@4ax.com> <45fee40d@newsgroups.borland.com> <d9juv2l837qjqg5h6hlqouhocronuqj4ju@4ax.com> <46005688@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9a57de6d3de75d9f X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: NetRemoteTOD to Get Server Time Date: Tue, 20 Mar 2007 19:10:15 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <ah31039gbc66faj0ufb6oquaggakg7u2ba@4ax.com> References: <45fc2a82@newsgroups.borland.com> <esiov2t822j0k56pg1ke5ekulrcl3tiqfv@4ax.com> <45feb217@newsgroups.borland.com> <98gtv2p5l749u2k4vd19ta7k0snnlu2ub3@4ax.com> <45fee40d@newsgroups.borland.com> <d9juv2l837qjqg5h6hlqouhocronuqj4ju@4ax.com> <46005688@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.77.145.18 X-Trace: newsgroups.borland.com 1174443014 67.77.145.18 (20 Mar 2007 19:10:14 -0800) Lines: 21 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.albasani.net!feeder06.uucp-net.de!reader.uucp.at!feeder08.uucp.at!feeder10.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail