Jump to content

Photo

An error occurred during FASM was assembling mnemonics.


  • Please log in to reply
1 reply to this topic

#1 PappenPeter Posted 28 November 2015 - 04:01 PM

PappenPeter

    Soldier

  • Members
  • Pip
  • 4 posts

Hello and thanks for your awesome Lib

i got a little problem which i can't solve 

 

An error occurred during FASM was assembling mnemonics. Error code: -122 (UndefinedSymbol); Error line: 3; Error offset: 21

 

My code

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

        Dim procID As Integer = 7728
        Dim CBuf_AddText As IntPtr = &H563BA0
        Dim memory = New MemorySharp(procID)

        Using t = memory.Assembly.BeginTransaction(True)
            t.AddLine("push {0}", TextBox1.Text)
            t.AddLine("push 0")
            t.AddLine("call {0}", CBuf_AddText)
            t.AddLine("add esp, 8")
            t.AddLine("retn")
        End Using
    End Sub

Can anyone see the fail i did?


  • Back to top
  • Report

#2 jimeryhowits Posted 26 October 2017 - 07:50 AM

jimeryhowits

    Soldier

  • Members
  • Pip
  • 1 posts
you have absolutely right
  • Back to top
  • Report




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users