We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
compiler: https://github.com/pawn-lang/compiler (build in mvs2017) all build: https://mega.nz/#!sqgSBSjS!C173OJx634UwDaIQpZyoh79KX1-UxAzSYyZmeWZWlQE
use ShellExecute-test.pwn
#include <core> #include <string> #include <ShellExecute> static stock ToCharString(s[], size = sizeof(s)) { for (new i = 0; i < size; i++) { s[i] = swapchars(s[i]); } } main() { new File[] = !"notepad.exe"; new Operation[] = !"open"; new Parameters[] = !"server.cfg"; ToCharString(File); ToCharString(Operation); ToCharString(Parameters); new result = ShellExecute(Operation, File, Parameters, SW_SHOW); // crach here printf("ShellExecute() returned %d", result); }
compiler command "pawncc.exe ShellExecute-test.pwn -d3"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
compiler: https://github.com/pawn-lang/compiler (build in mvs2017)
all build: https://mega.nz/#!sqgSBSjS!C173OJx634UwDaIQpZyoh79KX1-UxAzSYyZmeWZWlQE
use ShellExecute-test.pwn
compiler command "pawncc.exe ShellExecute-test.pwn -d3"
The text was updated successfully, but these errors were encountered: