Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2000 23:57:48 -0800
From:      "Marc Wandschneider" <marcw@lanfear.com>
To:        <freebsd-hackers@freebsd.org>
Subject:   Loadable Code Modules?
Message-ID:  <003901bf76c1$302107e0$0300000a@katana>

next in thread | raw e-mail | index | archive | help


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.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003901bf76c1$302107e0$0300000a>