Page 1 of 1

InjectLibrary returns -1

Posted: Fri Mar 14, 2014 9:38 am
by manutai
InjectLibrary returns -1, while doing system wide injection. Is it an error or success? What does it signify? Why its not a positive value, if it is a success?

Re: InjectLibrary returns -1

Posted: Fri Mar 14, 2014 9:40 am
by madshi
By definition 0 is FALSE, everything else in TRUE. You can test this in C++ by doing this:

Code: Select all

if (-1) doSomething();