Skip to content

crash when using api #39

Description

@0x617374726F

My game does crash instantly as soon as I make a simple API call. SAMP does catch the exception at 0x02170245. My game is not modded, I am running everything through WINE, tho. I am compiling on a Windows 7 virtual machine in order to run it on my host with WINE.

#pragma comment(lib, "bin/Open-SAMP-API.lib")

#include "SAMP_API.h"
#include <iostream>

#define WIN32_LEAN_AND_MEAN
#include <Windows.h>

int main()
{
	std::cout << "started" << std::endl;
	SendChat("test");
	return 0;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions