Re: [GD-Windows] loading a dll from memory
Brought to you by:
vexxed72
From: Brian H. <bri...@py...> - 2002-01-20 23:08:32
|
Off the top of my head I'm not sure of a way, but you might want to look at GetModuleHandleEx(), which accepts the GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS flag which, from what I can read, lets you get a module handle from a memory address you pass in lieu of a module name. From the module handle you can call GetProcAddress(), etc. Brian At 11:55 PM 1/20/2002 +0100, Gabor Simko wrote: >Hi, > >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 > > > > > >_______________________________________________ >Gamedevlists-windows mailing list >Gam...@li... >https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows |