Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling native functions on Linux with crashdetect #21

Open
oscar-broman opened this issue Feb 5, 2014 · 0 comments
Open

Calling native functions on Linux with crashdetect #21

oscar-broman opened this issue Feb 5, 2014 · 0 comments

Comments

@oscar-broman
Copy link
Collaborator

I compiled Zeex/samp-plugin-crashdetect@54614d5f5ebef8babef8c3717fd8b4b66b31524f and tried to run the following code.

Works perfectly without crashdetect loaded; when it's loaded, however, execution seems to halt when attempting to call the native.

#include <a_samp>
#include <amx/dynamic_call>

main() {
    print("test");

    new addr = GetNativeAddressFromName("print");

    CallNativeByAddress(addr, ref("hello"));
}
oscar-broman referenced this issue in oscar-broman/samp-introspect Feb 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant