It is currently Tue Apr 07, 2020 9:05 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Return from DllEntryPoint and return value
PostPosted: Tue Mar 13, 2012 5:18 pm 
Offline
Addict
Addict
User avatar

Joined: Sun Nov 05, 2006 11:42 pm
Posts: 4662
Location: Lyon - France
Hello at all

There are numerous day, i need a code for forcing a DLL to exit.
FREAK give to me this cool code, for put it in the AtachProcess, like this i can control a password for all the DLL
If the password not good, i use this code and VB6 cannot found the DLL 8)
Code:
!ADD esp, 8     ; remove Instance variable and return address from stack
!MOV eax, 0     ; set returnvalue to 0
!RET 12         ; return from DllEntryPoint
That's works great, but is it possible to return a value in the same time ??
The problem is that VB6 not do the difference between this code ASM and really not found the DLL :(

It's the reason why, i say to me : Is it possible to return an integer value ?
Like this i can detect if the return come of the ASM code, or just VB6 really not found the DLL

Thanks and good day

_________________
ImageThe happiness is a road...
Not a destination


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye