scrcpy-noconsole.exe shows a console

Created on 5 Aug 2019  路  14Comments  路  Source: Genymobile/scrcpy

scrcpy-noconsole.exe shows a console after upgrading to 1.10

bug windows

Most helpful comment

I found a workaround: 18f2e33a8bf967a813142dbe9556813032ec9f0b

I backported it on v1.10 so that you can test:

scrcpy-noconsole _SHA256: f7722aa6c5a56fb215cea02395376863de83cc51b16be9e6b784a7923fbc611f_

All 14 comments

Can confirm.

image

Idem
image

Invocation: C:\programming\scrcpy-win64-v1.10scrcpy-noconsole.exe -Tts 123456789

Indeed.

Even if I rebuild v1.9 with my current mingw, the "no console" flag (-mwindow) does not work.

It's probably a bug in mingw.

From IRC:

mingw-w64 does require you to use WinMain for -mwindows to work

I'll test that later.

https://stackoverflow.com/questions/13871617/winmain-and-main-in-c-extended

one more to confirme the bug

Yeah I faced it too

This is happening for me as well

If someone wants to work on it, the solution is probably to use WinMain() instead of main() (https://github.com/Genymobile/scrcpy/issues/691#issuecomment-519308360) in a #ifdef WINDOWS_NOCONSOLE block.

Same for me

Same; I thought I was going crazy with my shortcut adjustment!

Me too, but at least it shows the bugdroid as the console icon :)

I found a workaround: 18f2e33a8bf967a813142dbe9556813032ec9f0b

I backported it on v1.10 so that you can test:

scrcpy-noconsole _SHA256: f7722aa6c5a56fb215cea02395376863de83cc51b16be9e6b784a7923fbc611f_

Using it along with https://github.com/Genymobile/scrcpy/issues/650#issuecomment-550530774 and no issues so far, the console never pops.


Spoke too soon, this binary doesn't implement the text fix, unsurprisingly. However no issues found with the server, if any should be expected.

Fixed in v1.11.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SamuelBlickle picture SamuelBlickle  路  3Comments

mttmllns picture mttmllns  路  3Comments

SuryaElavazhagan picture SuryaElavazhagan  路  4Comments

singleNeuron picture singleNeuron  路  3Comments

jonnybrooks picture jonnybrooks  路  3Comments