Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: "Cygwin AT Sourceware. Cygnus. Com (E-mail)" 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) Content-Type: text/plain 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