Jump to content
Tuts 4 You
GautamGreat

Load DLL From Memory not working on Win8 and Win10

Recommended Posts

GautamGreat
Posted (edited)

Hi,

I'm trying to load a dll from a memory section in a compiled program. I written a MultiASM Assembly (Which works pretty well on Window 7), Everything seems Ok on windows 7, but it does not work on win8 and win10. Since I don't know what is wrong, could someone tell what is wrong? 

Spoiler

Solved :)

Here is my ugly assembly, but it works :D

 

Edit (13 July 2018)

I managed to fix the error, Thanks you guys :) 

Edited by GautamGreat (see edit history)

Share this post


Link to post
Share on other sites
evlncrn8

no error checking, no real comment, no using structs..

"but it works" - doesnt in win 10 now does it?

i would help but in seeing the code, i am beginning to question the reason of coding such a thing.. 

Share this post


Link to post
Share on other sites
GautamGreat
35 minutes ago, evlncrn8 said:

no error checking, no real comment, no using structs..

"but it works" - doesnt in win 10 now does it?

i would help but in seeing the code, i am beginning to question the reason of coding such a thing.. 

I agree, It is junk of codes [ non commented, not understandable ]. It is copied from a pascal source for a specific program.

http://www.delphibasics.info/home/delphibasicssnippets/udllfrommem-loadadllfrommemory

Can you tell me why this code does not work on window 8 or windows 10?

Share this post


Link to post
Share on other sites
evlncrn8

cant really, as the code is pretty horrible, i can see you're processing the imports and so on but theres so much potential for error its just a mess

what happens with it on win 8 / 10 ? silent exit ? crash ? exception ? (if so, what is the exception code).. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×