delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/16/02:34:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 16 Jul 2002 10:31:37 +0400
From: egor duda <deo AT logos-m DOT ru>
Reply-To: egor duda <cygwin AT cygwin DOT com>
Organization: deo
X-Priority: 3 (Normal)
Message-ID: <161269976.20020716103137@logos-m.ru>
To: "Jonathan E. Brickman" <jonathan DOT brickman AT gmx DOT net>
CC: cygwin AT cygwin DOT com
Subject: Re: Cannot #include <lm.h> -- compilation errors
In-Reply-To: <142458519.20020715174949@gmx.net>
References: <142458519 DOT 20020715174949 AT gmx DOT net>
MIME-Version: 1.0

Hi!

Tuesday, 16 July, 2002 Jonathan E. Brickman jonathan DOT brickman AT gmx DOT net wrote:

JEB> Downloaded the latest standard cygwin two days ago.  Whenever I
JEB> #include <lm.h> or #include <lmaccess.h>, a slew of errors like the
JEB> following occur:

JEB> /usr/include/w32api/lmstats.h:110: parse error before `NetStatisticsGet'
JEB> /usr/include/w32api/lmstats.h:110: parse error before `DWORD'
JEB> /usr/include/w32api/lmstats.h:110: warning: data definition has no type or stora
JEB> ge class

JEB> Obviously, when I #include <lmaccess.h>, the reported errors are in
JEB> lmaccess.h. #including <lm.h> results in several files' errors. What
JEB> am I doing wrong?

Use #include <windows.h>, and then (if needed) #include <lm.h>

Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019