From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17065 invoked from network); 6 Jul 2000 11:08:35 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Jul 2000 11:08:35 -0000 Received: (qmail 27944 invoked by alias); 6 Jul 2000 11:08:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12180 Received: (qmail 27936 invoked from network); 6 Jul 2000 11:08:29 -0000 Date: Thu, 06 Jul 2000 12:07:59 +0100 From: Peter Stephenson Subject: Re: Getting dynamic loading to work on cygwin In-reply-to: "Your message of Thu, 06 Jul 2000 14:15:28 +0400." <000701bfe733$1bdc6440$21c9ca95@mow.siemens.ru> To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Message-id: <0FX900MMQW9ABR@la-la.cambridgesiliconradio.com> Content-transfer-encoding: 7BIT > I did define variable with __declspec(dllexport) but it did not help. I replied to this at the time. __attribute__((dllimport)) (presumably equivalent to __declspec) does get the value correctly imported with dlopen. (At least, check the archive and see if I did something different, but I think it's the same that you're talking about.) -- Peter Stephenson Cambridge Silicon Radio, Unit 300, Science Park, Milton Road, Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070