Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Feb 2000 00:39:02 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Marc Wandschneider <marcw@lanfear.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Loadable Code Modules?
Message-ID:  <20000214003901.S17536@fw.wintelcom.net>
In-Reply-To: <003901bf76c1$302107e0$0300000a@katana>; from marcw@lanfear.com on Sun, Feb 13, 2000 at 11:57:48PM -0800
References:  <003901bf76c1$302107e0$0300000a@katana>

next in thread | previous in thread | raw e-mail | index | archive | help
* Marc Wandschneider <marcw@lanfear.com> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000214003901.S17536>