Problem with fasmdll_managed.dll & C# menu

User Tag List

Results 1 to 1 of 1
  1. #1
    Sel3n's Avatar Member
    Reputation
    10
    Join Date
    Jul 2009
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem with fasmdll_managed.dll & C#

    Hello (world?),

    I'm try to call updatemodel() with using fasmdll_managed.dll, I have no errors to compile my project but when I try to execute, I get an error.

    Error text
    Assembly failed! Error code: -122; Error Line: 5
    My code
    Code:
    public static uint updateModel()
            {
                uint CodeCaveUM = 0;
                if (!isInitiale) Initialise();
                {
                    CodeCaveUM = Wow.AllocateMemory();
    
                    fasm.Clear();
    
                    fasm.AddLine("push 1");
                    fasm.AddLine("push 1");
                    fasm.AddLine("call {0}", offset.UpdateModel);
                    fasm.AddLine("retn");
                    
                    fasm.InjectAndExecute(Wow.ProcessHandle, CodeCaveUM, 0);
    
                    uint CodeCave = fasm.InjectAndExecute(CodeCaveUM);
                    Wow.FreeMemory(CodeCaveUM);
    
                    return CodeCave;
                }
            }
    http://pastebin.com/m412f8449


    Thread and process are open.
    I have searched my error on many website but, I found nothing concerning a similar problem.

    Any help is welcome =)

    Cordially Sel3n.
    Last edited by Sel3n; 08-02-2009 at 03:25 PM.

    Problem with fasmdll_managed.dll & C#

Similar Threads

  1. [C++]Poxy DLL problem with SDL
    By Yttrium in forum Programming
    Replies: 0
    Last Post: 08-05-2014, 03:51 AM
  2. [Core] Problem with libeay32.dll
    By Castillo in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 04-28-2011, 08:07 PM
  3. Question regarding DLL-export and problems with the stack
    By schlumpf in forum WoW Memory Editing
    Replies: 8
    Last Post: 03-12-2009, 06:28 PM
  4. problem with 4541 dlls
    By rahburt33 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 05-08-2008, 12:46 PM
  5. I have problem with BHW 3.0
    By sunrize1 in forum World of Warcraft General
    Replies: 1
    Last Post: 07-17-2006, 08:49 AM
All times are GMT -5. The time now is 10:52 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search