LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

on screen keyboard not working with labview


@rolfk wrote:

Weird, I have used that in the past in several applications, although admittingly compiled in LabVIEW 2013 and 2017. And that application has been installed on many computers. Maybe it is in SysWOW64?


In windows file explorer or in a command line window (dir os*) I see osk.exe and OskSupport.dll in C:\Windows\system32 but not in C:\Windwos\SysWOW64.

 

If I execute [ cmd /c "dir os*" ] with System Exec and set C:\Windows\system32 or C:\Windwos\SysWOW64 as working directory I do not get osk.exe or OskSupport.dll in the list (but osbaseln.dll and osuninst.dll). So the command is executing, but returning a different output.

 

I'm on Win10 22H2 using LabVIEW 2022 Q3 (32bit)

0 Kudos
Message 11 of 17
(115 Views)

OK, I got it working. I simply copied osk.exe and OskSupport.dll from C:\Windows\system32 to C:\Windows\SysWoW64 as proposed here:

https://support.industry.siemens.com/cs/document/109780864/why-can't-you-open-the-on-screen-keyboard... 

 

And [ cmd /c osk.exe ] is enough as command line.

 

Message 12 of 17
(105 Views)

Hi,

 

this is what works for us:

It's both times the same kernel function call…

(Win7 uses the simple SysExec call without Redirection.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 13 of 17
(96 Views)

Another option is to use %windir%\Sysnative as path instead. This is not a real path but tells Windows not to redirect System32 to SysWOW64 when used in a 32-bit application context.

Rolf Kalbermatter
My Blog
Message 14 of 17
(85 Views)

@rolfk wrote:

Another option is to use %windir%\Sysnative as path instead. This is not a real path but tells Windows not to redirect System32 to SysWOW64 when used in a 32-bit application context.


For me %windir%\Sysnative\osk.exe translates to C:\WINDOWS\Sysnative\osk.exe, but using it I get a windows error dialog "Der angegebene Pfad ist nicht vorhanden." (The specified path does not exist.). Seems like Sysnative does not work on my system.

 

0 Kudos
Message 15 of 17
(80 Views)

@GerdW wrote:

Hi,

 

this is what works for us:

It's both times the same kernel function call…

(Win7 uses the simple SysExec call without Redirection.)


Isn't it   Wow64DisableWow64FsRedirection   and   Wow64EnableWow64FsRedirection  ?

0 Kudos
Message 16 of 17
(79 Views)

Hi Uli,

 


@UliB wrote:
Isn't it   Wow64DisableWow64FsRedirection   and   Wow64EnableWow64FsRedirection  ?

You are (partly) correct!

The 2nd call is to Wow64RevertWow64FsRedirection

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 17 of 17
(75 Views)