CreateProcess and VMProtect

My App consists of two files protected with VMProtect , the first one is the main app the second one is a child process that i want to launch.

but using CreateProcess or Shellexecute or any other Process Creation API will cause the second file to show the integrity error ( file is corrupted…) ,how is that possible ? and how to fix it, tried under WinXP 32 bit , Win7 32bit.

and can you explain to me why a child process can’t start another VMProtect file with CreateProcess ? (integrity error)

i tried eveything.thanks.


ps : the second file start fine when started manually ( Double click or enter ).

Could you send us a test example (original EXE+MAP+VMP files) that shows your problem?

Thank you for your reply Admin , i solved my problem , it was my mistake i was using CreateProcess with the wrong parameters :unamused: