Jump to content

Recommended Posts

Posted

You need to use memory, then it will be fast. By the way, there seems to be 2 errors.

*MemoryID+2
*MemoryID+18

And the idea itself, I do not understand. Do you want to change all the lines? But how not to take into account the case of letters?

Posted (edited)
look good I already use memory with 

bytes = ReadData (0, * MemoryID, length)

after with :

Hex(PeekB (*MemoryID+I)
Your method will not work with CopyMemoryString because if you want to read a binary file as an executable it will not work

 

 

 

 

 

 

 

Edited by ghost911
Posted
TempsDepart.q = ElapsedMilliseconds()
If ReadFile(0,"test.exe")
    length = Lof(0)
    *MemoireID = AllocateMemory(length*8) 
  While Eof(0) = 0 
    String.s=Hex(ReadByte(0),#PB_Byte)
    CopyMemoryString(String,@*MemoireID)
  Wend
  CloseFile(0)
  Byte=MemoryStringLength(*MemoireID-length)
  Debug Byte
  
  Debug PeekS (*MemoireID-Byte)
  Else
    MessageRequester("Info","Not open")
  EndIf
TempsEcoule.q = ElapsedMilliseconds()-TempsDepart  ; La valeur 'TempsEcoule' devrait être d'environ 1000 millisecondes
Debug "Temps écoulé : "+Str(TempsEcoule)+" millisecondes"

 

 

here is the method 2 faster than the first but the problem I can not point to the beginning of the file in memory

Posted (edited)
Purebasic supports linux and windows compatible yes we will try to compile the best possible according to our means and our capacities we will try to do the maximum so that it looks like autoIt even if it will not be perfect we try already with windows this is a challenge we will try to do functions little by little
the C# language is not really compile there is decompiler that exists it's not machine code

 

this is a challenge we will try to do functions little by little

 

 

 

this is a challenge we will try to do functions little by little  

 

 

 

Edited by ghost911
  • Developers
Posted

@ghost911

This is the last time I am going to request to remove the compiled AutoIt3 script from your PureAutoItInclude.rar distribution file.
We have now multiple times explained why we don't want compiled AutoIt3 scripts in a attached file and it doesn't serve any purpose. 
Failing to do so will get your topic banned from this site.

Jos

 

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

  • Developers
Posted (edited)

as stated in the PM I just send:

Quote

No problem, but we have tried to explain to you multiple times that AutoIt3 compiled scripts can be flagged as malicious file due to wrong AV detection methods and can also cause Google to list the website as malicious and blocking you... as you have noticed yourself, right?  So we obviously don't want that to happen to our forum! 

There is No need whatsoever to include any EXE in this case as people can compile both the AutoIt3 script and the Powerbasic script themselves!

Jos

Edited by Jos

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...