Загрузка...

EntryPointNotFoundException - What to do?

Thread in C# created by muhtarstudio Mar 19, 2024. (bumped Mar 19, 2024) 135 views

  1. muhtarstudio
    muhtarstudio Topic starter Mar 19, 2024 5 Aug 20, 2022
    Пытаюсь импортнуть из своей дллки функции, но высирается такая хуйня.
    Код на C#:
    CSHARP
    [DllImport("GraphicalUserInterface.dll")]
    public static extern void UpdateGameMode([MarshalAs(UnmanagedType.LPStr)] string new_gamemode);

    [DllImport("GraphicalUserInterface.dll")]
    public static extern bool ForceStartPressed();

    [DllImport("GraphicalUserInterface.dll")]
    public static extern bool TakeHostPressed();

    [DllImport("GraphicalUserInterface.dll")]
    public static extern bool AntiKickStatus();

    [DllImport("GraphicalUserInterface.dll")]
    public static extern bool BypassPasswordsStatus();

    [DllImport("GraphicalUserInterface.dll")]
    public static extern bool PlayerEspStatus();

    [DllImport("GraphicalUserInterface.dll")]
    public static extern bool KeyEspStatus();
    Код на C++:
    C
    extern void UpdateGameMode(const char* new_gamemode)
    {
    game_mode = new_gamemode;
    }

    extern bool ForceStartPressed()
    {
    return force_start;
    }

    extern bool TakeHostPressed()
    {
    return take_host;
    }

    extern bool AntiKickStatus()
    {
    return anti_kick;
    }

    extern bool BypassPasswordsStatus()
    {
    return bypass_passwords;
    }

    extern bool PlayerEspStatus()
    {
    return player_esp;
    }

    extern bool KeyEspStatus()
    {
    return key_esp;
    }
     
Loading...
Top