Jump to content
Sign in to follow this  

How read a hexadecimal file

Recommended Posts

Hi all,

I do some search but find nothing...

Today I need a script witch read file in HEXA mode. I used before the "binary.dll" 'plugins" which be used like this :

$resr = DllCall(@ScriptDir & "\binary.dll", "int", "FileReadBinary", "str", "binary.", "int", 100, "int", 200, "str", "")
MsgBox (0, "Return code = " & $resr[0], "Readed 200 bytes at offset 100:" & @CR & @CR & $resr[4])

But this example script doesn't work anymore, do you have a solution ?

in fact i need to read a file at a specific hexa adress

thk for help ! and sorry if my english is not pretty good

Edited by pinkfoyd

Share this post

Link to post
Share on other sites

yes i know this, but we can't go directly to a know offset... and we can't read the hexa string directly ( or i am very stupid ^^ )

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...