Announcement

Collapse
No announcement yet.

problem in calling function

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • problem in calling function

    this call will change the key board layout to english

    PHP Code:
    DLL.CallFunction("user32.dll""LoadKeyboardLayoutA""\"00000401\", 1"DLL_RETURN_TYPE_LONGDLL_CALL_STDCALL
    no problem here
    the problem
    when i want to change to a hex-decimal values like
    0x0c09 English (Australian)

    how can i make this ??
    the call
    PHP Code:
    DLL.CallFunction("user32.dll""LoadKeyboardLayoutA""\"00000c09\", 1"DLL_RETURN_TYPE_LONGDLL_CALL_STDCALL
    make no result
    also if i convert to decimal
    PHP Code:
    DLL.CallFunction("user32.dll""LoadKeyboardLayoutA""\"00003081\", 1"DLL_RETURN_TYPE_LONGDLL_CALL_STDCALL
    the call has no result

    what i do wrong ??

  • #2
    Surely you just need to flip the screen display (from a UK perspective that is).

    Is the keyboard map actually loaded on the machine? I'd imagine that it's available by default as a general mapping schema but maybe not for a specific key layout.. laptop Vs full keyboard or say my logitech programmable

    Comment

    Working...
    X