Quote:
Originally Posted by mendoza090
Someone Scan It Please!!

|
It's clean, its written in MASM though.
What he does is basically the same thing as Ive explained in my tutorial.
I still think its better to use inline-asm with a c++ compiler.
That way you dont have to worry about not closing the handles properly.
ASM is, in a way, faster than c++.
But since all you do is load a dll in memory, return the offset+5 of the function you want to use and manually execute the 5 bytes youve just skipped you will not really experience any difference in speed at all.
Its a matter of nanoseconds, not seconds.
Also, writing a full program in ASM is much more complicated than writing a program in c++.
It just gives another approach and another example of what Ive already explained.
Nice work though, its a good contribution!