If it's a module that is already loaded in memory, you can use
GetModuleHandle to just re-get the same copy (no disk access
needed).
If it's a module you just created yourself, you probably know where
the functions live, and you can just set up function pointers
straight into it to call it. Make sure it's already properly
relocated at that time, and don't forget to map the memory as
executable :-)
Cheers,
/ h+
PS: is there anyone more than me who thinks it's a real shame that
GetModuleEx isn't available until with Windows XP ?
> -----Original Message-----
> From: gda...@li...
> [mailto:gda...@li...]On Behalf Of Gabor
> Simko
> Sent: Sunday, January 20, 2002 1:02 PM
> To: 3dgamedev
> Subject: [Algorithms] OT: windows specific question
>
>
> Sorry for being offtopic but I can't manage to find the windows
> programmers list after my system's reinstallation (I even don't know
> where gdalgorithms homepage is, they are all lost)
>
> Is there a way to load a dynamic library from the memory instead of
> a file? I have the dynamic library in the memory and I don't want to
> write it to the winchester and use LoadLibrary() if it isn't necessery...
>
> Thanks for any replies!
> Gabor Simko
>
>
>
> _______________________________________________
> GDAlgorithms-list mailing list
> GDA...@li...
> https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list
>
>
|