Jump to content
Sign in to follow this  
Mast3rpyr0

Why is this broken?

Recommended Posts

Mast3rpyr0

$File1 = FileOpen("test.gif", 16)

$File2 = FileRead($File1)

MsgBox(0, "test", $File2)

FileClose($File1)

This causes 99% of my CPU to be used lol. whats wrong with it and why doesnt it output what i want?

Edited by Mast3rpyr0

Share this post


Link to post
Share on other sites
Jos

$File1 = FileOpen("test.gif", 16)

$File2 = FileRead($File1)

MsgBox(0, "test", $File2)

FileClose($File1)

This causes 99% of my CPU to be used lol. whats wrong with it and why doesnt it output what i want?

so you weant to see what ? Test.gif as picture or as Data ?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Mast3rpyr0

i wanna see the binary data so i can take part out and basically have a broken file that i can put back together kinda like winrar and creating .part0 files

Edited by Mast3rpyr0

Share this post


Link to post
Share on other sites
Jos

ok i just realized that FileOpen is only for text files.

.. lost me on this one ... FileOpen() is to open a File to be able to read it with FileRead() .

ok i just realized that FileOpen is only for text files. is there any other function that i can use to get the binary data of this image or make it into 2 different broken files?

Why are you trying to do a msgbox for Binary data ?

Can imagine that gives a problem ......


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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  

×