01.12.2014, 09:40
I have a problem when linking to the static library, getting the following runtime error when i connect.
This happens as soon as a player connects to the server, not when the server is started.
I don't get this error when i link to the dynamic lib. I've double checked all the project settings, i'm linking to the correct lib, and SAMPGDK_STATIC is defined. Also using the amalgamation.
Note: The function main() exists in the blank mode i have loaded. So that's not what is causing it.
Код:
[debug] Run time error 20: "Invalid index parameter (bad entry point)"
I don't get this error when i link to the dynamic lib. I've double checked all the project settings, i'm linking to the correct lib, and SAMPGDK_STATIC is defined. Also using the amalgamation.
Note: The function main() exists in the blank mode i have loaded. So that's not what is causing it.