This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Exporting/importing static class member net release


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.Kraaijeveld@Askesis.nl
web: www.askesis.nl 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]