c++ - Starting .bin file as an executable -


i'm writing console program windows , need open program. problem executable of program has .bin extension , code won't open program.

also, when console starting i'd hide it. i've written code appears , dissapears.

my code:

#define _win32_winnt 0x0500  #include <windows.h>  #include <iostream> #include <cstdlib> #include <fstream> #include <string>  using namespace std;   int main() {     hwnd hwnd = getconsolewindow();      showwindow( hwnd, sw_hide );      system("start client.bin --argument");     return 0; } 


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -