How to get progress of console mode?

Issues related to VMProtect
Locked
Jongan
Posts: 5
Joined: Sat Oct 07, 2017 8:05 am

How to get progress of console mode?

Post by Jongan »

Dear VMProtect,

How to get progress of console mode? I use redirect pipe to get console's progress, but only get 100% when compile finished.

Jongan
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: How to get progress of console mode?

Post by Admin »

Please notice that the redirected console output doesn't support chars like "\b", so VMProtect doesn't show progress percents.
Jongan
Posts: 5
Joined: Sat Oct 07, 2017 8:05 am

Re: How to get progress of console mode?

Post by Jongan »

Oh,so, How to get progress of console mode?
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: How to get progress of console mode?

Post by Admin »

Just execute the console without redirection of output.
Jongan
Posts: 5
Joined: Sat Oct 07, 2017 8:05 am

Re: How to get progress of console mode?

Post by Jongan »

Oh,sorry, my question is "How to get progress of VMprotect's console mode in another application?".
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: How to get progress of console mode?

Post by Admin »

It's impossible when the console is redirected.
Jongan
Posts: 5
Joined: Sat Oct 07, 2017 8:05 am

Re: How to get progress of console mode?

Post by Jongan »

OK, It's impossible when the console is redirected, and "How to get progress of VMprotect's console mode in another application?". Because the compilation process is too slow, if not showing the progress of compilation process, and user will terminate our application in compilation process. They thought the application was hang!!
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: How to get progress of console mode?

Post by Admin »

What your application do you mean?
Jongan
Posts: 5
Joined: Sat Oct 07, 2017 8:05 am

Re: How to get progress of console mode?

Post by Jongan »

My application uses VMProtect batches to complete the encrypted job by using CreateProcess windows API, but the encryption job is very long and slowly. So "How to get progress of VMprotect's console mode in my application?"
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: How to get progress of console mode?

Post by Admin »

It seems your didn't read our licensing agreement:
4. Usage of VMProtect for commercial purposes is forbidden: rent or sell,
include VMProtect into other programs and/or systems, use in software
of third parties, provide software protection services to third parties.
Locked