Open Process fails when not running in visual studio
I am making an injector... it is working fine, but only in Visual Studio. When I run the exe separate from visual studio, the OpenProcess fails...i think its to do with some priviliges or something... how do I fix this?