dear spazzarama, can u give a sample to hook API WriteFile? I hv failed million times!

Feb 21, 2014 at 10:10 AM
environment: vs2010 c#, windows 2008, .Net 4.0, injects x64 applications and seems work normally, but always causes the x86 apps cashed! I have tried several P-Invoke implementations ,never seccessed , hv tried the latest release!

please show me a sample to hook API WriteFile, thx a lot!
Feb 22, 2014 at 8:02 AM
I used the sample that you posted. I placed this within the .\Test\ComplexParameterInject project and it all worked for x86 and x64.