hey, could someone take a look at this post and explain what the call to LoadLibraryA is for, iv a pretty good idea, but i need an explanation
MSDN
dose this mean i can load/use a dll in AMS that i wouldent usally be able to use with a ams dll call, im a little confused, the way i read it i can attach the dll to the ams app and call its functions, but when the function returns/finishes the dll is still attached to the ams app
or do i need to come back to planet earth and stop dreaming.
MSDN
If the specified module is a DLL that is not already loaded for the calling process, the system calls the DLL's DllMain function with the DLL_PROCESS_ATTACH value. If DllMain returns TRUE, LoadLibrary returns a handle to the module. If DllMain returns FALSE, the system unloads the DLL from the process address space and LoadLibrary returns NULL. It is not safe to call LoadLibrary from DllMain. For more information, see the Remarks section in DllMain.
or do i need to come back to planet earth and stop dreaming.
Comment