delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/14/08:00:31

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <1F8B49DD9100D31195FC00A0C94989FE0E19@obelix>
From: Joost Kraaijeveld <J DOT Kraaijeveld AT Askesis DOT nl>
To: "Cygwin AT Sourceware. Cygnus. Com (E-mail)"
<cygwin AT sourceware DOT cygnus DOT com>
Subject: Exporting/importing static class member net release
Date: Sun, 14 May 2000 15:01:54 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.1960.3)

I try to access a public static class member of a class I have exported
and imported with __declspec (dllexport) (when creating the dll)
__declspec (dllimport)(when using in the exe). I get the error
"undefined reference to `AServer::startListeningSemaphore'" where
AServer::startListeningSemaphore is a public static variable.

Obviousely I missed something. What should I do to get it right? How
does one import and/or export a static class memeber variable?

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
email: J DOT Kraaijeveld AT Askesis DOT nl
web: www.askesis.nl 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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