Results 1 to 1 of 1

Thread: what's the task of this oxygen code example ?

  1. #1

    what's the task of this oxygen code example ?

    hello charles, can you help to say what this code is working or searching for an entry point (callback, win procedere) ? I found the code at c++ board and adept it to oxygen

    ' Empty GUI script created on 01-24-2012 15:53:42 by largo_winch (ThinAIR)
    
    Uses "oxygen"
    
    Dim src As String
    
    src = "
    
      basic
    
      Push EBP
      MOV EBP,ESP
      Push EBX
      Push EDI
      Push ESI
      Sub ESP,4
      MOV DWord[ESP+4],0
      MOV DWord[EBP-4],0
      
      ' effectively destroys the value in ESI.
        
        "
    O2_BASIC src
    
    If Len(O2_ERROR) Then MsgBox 0, O2_ERROR : Stop
    MsgBox 0, O2_LEN+$CR+O2_PREP src
    
    O2_EXEC
    
    there is still an error after compiling (gpf) I am thinking so the code example isn't fully correct but is showing results like you can see in screenshot picture.

    bye, largo
    Attached Images Attached Images

Similar Threads

  1. Oxygen Embedding
    By John Spikowski in forum O2 JIT Compiler / Assembler / Oxygen project
    Replies: 1
    Last Post: 09-05-2011, 10:42
  2. COM and Oxygen
    By Charles Pegge in forum Programs
    Replies: 21
    Last Post: 08-08-2010, 09:56
  3. Threads and Oxygen
    By Charles Pegge in forum Programs
    Replies: 0
    Last Post: 07-08-2010, 17:37
  4. Oxygen module source code on thinSVN server
    By ErosOlmi in forum thinSVN
    Replies: 8
    Last Post: 20-04-2009, 07:05
  5. Oxygen Module for Structured Machine Code Programming
    By Charles Pegge in forum Machine Code
    Replies: 55
    Last Post: 19-03-2008, 01:11

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •