From owner-freebsd-questions Mon Feb 14 0:11:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by builder.freebsd.org (Postfix) with ESMTP id 56E5F43A8 for ; Mon, 14 Feb 2000 00:11:13 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) id AAA07922; Mon, 14 Feb 2000 00:39:02 -0800 (PST) Date: Mon, 14 Feb 2000 00:39:02 -0800 From: Alfred Perlstein To: Marc Wandschneider Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Loadable Code Modules? Message-ID: <20000214003901.S17536@fw.wintelcom.net> References: <003901bf76c1$302107e0$0300000a@katana> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <003901bf76c1$302107e0$0300000a@katana>; from marcw@lanfear.com on Sun, Feb 13, 2000 at 11:57:48PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Marc Wandschneider [000214 00:25] wrote: > > > howdy! > > i was wondering if FreeBSD had a kind of like DLL capability? > > i'd like to be able to do something as follows: > > // ... construct char *fileName > moduleHandle = loadCodeModule(fileName); > (char *)(*fn char *) myfn; // ii'm pretty sure i screwed that up > myfn = getFunctionAddress(moduleHandle, "doSomethignCool"); > // use fn > releaseModule(moduleHandle); > > > does such a thing exist in FreeBSD? > > If not, where would one start looking to add such functionality? > > thanks. > > marc. moved to -questions. man dlopen. enjoy, -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message