(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-16-24 11:29 PM
Acmlm's Board - I3 Archive - - Posts by niteice
Pages: 1 2 3
User Post
niteice

Gator


 





Since: 08-15-06
From: Connecticut

Last post: 6297 days
Last view: 6297 days
Posted on 01-31-07 04:26 AM, in Funniest pic you ever saw on the internet Link
niteice

Gator


 





Since: 08-15-06
From: Connecticut

Last post: 6297 days
Last view: 6297 days
Posted on 02-08-07 12:42 AM, in Programming on a mac and I need some help! Link
Register with ADC (for free) and download Xcode.
niteice

Gator


 





Since: 08-15-06
From: Connecticut

Last post: 6297 days
Last view: 6297 days
Posted on 02-10-07 03:16 AM, in Plugin? Link
Yes. You just need to recompile the plugins and write a new loader for each operating system that the host program runs on. Nearly trivial.
niteice

Gator


 





Since: 08-15-06
From: Connecticut

Last post: 6297 days
Last view: 6297 days
Posted on 02-10-07 03:36 AM, in Plugin? Link
Oh...silly me...

On Windows, you have LoadLibrary, GetProcAddress, and FreeLibrary. On pretty much everything else (I assume you'd only be interested in Linux/BSD and OS X), you have dlopen, dlsym, and dlclose. They all work pretty much the same way:

Windows:

HMODULE lib;
void *func; // you might want to typedef this to the specific function call you're making to the dll

lib = LoadLibrary("plugin.dll");
func = GetProcAddress(lib, "someFunction");
FreeLibrary(lib);


Unix:

void *lib
void *func; // you might want to typedef this to the specific function call you're making to the dll

lib = dlopen("plugin.so", RTLD_NOW);
func = dlsym(lib, "someFunction");
dlclose(lib);



(edited by niteice on 02-09-07 09:38 PM)
niteice

Gator


 





Since: 08-15-06
From: Connecticut

Last post: 6297 days
Last view: 6297 days
Posted on 02-18-07 07:46 PM, in free operating systems other than linux & BSD Link
If you feel masochistic, there's Darwin.
Pages: 1 2 3
Acmlm's Board - I3 Archive - - Posts by niteice


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.007 seconds; used 353.84 kB (max 418.02 kB)