- Home /
Problem with starting on screen keyboard windows c#
My script is: System.Diagnostics.Process.Start("osk.exe");
but it gives my an error: Could not start On-Screen Keyboard.
I was asking if it works if you enter 'osk.exe' in command line window, or in a Run window, available after pressing Window$$anonymous$$ey+R.
If you enter 'osk.exe' in command line window, or in a Run window, available after pressing Window$$anonymous$$ey+R.
Works For $$anonymous$$e
@lancer - for me it worked as well, then tried in Unity, and got the same error as OP. And that triggered the curiosity :)
Answer by ArkaneX · Aug 27, 2013 at 03:14 PM
I found out that described error happens if you're trying to run osk.exe from 32 bit application on 64 bit operating system.
You get the error, because Unity is 32 bit. Building your Unity application as x86 and running it will result in the same error. If, on the other hand, you build it as x86_64, then on-screen keyboard should work as expected.
Please find more details in this thread. You will find a workaround there.
In Unity click on menu File and select Build settings. Set platform to PC, $$anonymous$$ax & Linux Standalone and then you will be able to select proper architecture.
i am unable to start on screen keyboard. i tried building with X86_64 also. it neither gives any error nor launches the keyboard.please help
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
got a weird error/bug 0 Answers
Fixing screen resolution 1 Answer
error CS0103: The name `Cardboard' does not exist in the current context 2 Answers