www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | =?utf-8?b?SsO4cmdlbg==?= Steensgaard-Madsen <jsm AT steensgaard DOT org> |
Subject: | Re: Initialisation with data from dll-libraries |
Date: | Sun, 2 Apr 2006 20:00:58 +0000 (UTC) |
Lines: | 23 |
Message-ID: | <loom.20060402T215306-271@post.gmane.org> |
References: | <loom DOT 20060401T110030-920 AT post DOT gmane DOT org> <442FF2BB DOT 10307 AT cygwin DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Larry Hall (Cygwin <reply-to-list-only-lh <at> cygwin.com> writes: > > Jørgen Steensgaard-Madsen wrote: > > Asking for help. > > You haven't said where the dispatch table is or how it is supposed to filled > in. First of all, thanks for reacting so promptly. The dispatch table is an array of pointers in a C-program file to be linked against the libraries. Initialised is expressed as a usual array declaration initialised with individual entries given as &some_function where some_function is declared as extern in the same file. This methods works nicely with static linkage, and also with dynamic linkage on a Linux box. Jørgen -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |