Загрузка...

EntryPointNotFoundException - Что делать ?

Тема в разделе C# создана пользователем muhtarstudio 19 мар 2024. (поднята 19 мар 2024) 138 просмотров

  1. muhtarstudio
    muhtarstudio Автор темы 19 мар 2024 5 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;
    }
     
Загрузка...
Top