Jump to content
Tuts 4 You

Writefile


5k3l3t0r

Recommended Posts

hi all,

i have a prob...

i need to write a text line to an existing .txt

i try WriteFile but nothing...

i think my prob is geting the handle of the .txt file

can someone help me?

by all

5k3l3t0r

Link to comment

tkx, but i solved my prob... i try to send you a message but i get this error:

-You are not allowed to use the messenger feature on this board-

do you know why???

bye

5k3l3t0r

Link to comment

probably you are on trial, and not yet full member

example what for? wanna know what api does? www.msdn.com

invoke CreateFile,o file_name,GENERIC_WRITE,0,0,OPEN_EXISTING,FILE_ATTRIBUTE_ARCHIVE,0

mov file_handle,eax

invoke WriteFile,file_handle,eax,ecx,o buff,0

invoke CloseHandle,file_handle

Link to comment

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
×
×
  • Create New...