Hello George,
>> bombs out with an error "Type mismatch". Array should be filled with integer
>> values.
>What's the API call? Passing a string doesn't work?
UINT GetKeyboardLayoutList(
int nBuff, // size of buffer in array element
HKL FAR *lpList // buffer for keyboard layout handles
I defined it as
Declare integer GetKeyboardLayoutList in Win32Api;
integer,
string @
lcbuffer = space(200)
lnBuflen = len(lcbuffer)
lnLayoutCount = GetKeyboardLayoutList(lnBuflen, @lcbuffer)
Last statement bombs with an infamous "Performed illegal operation" error. I
think that I'm doing something wrong < g
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer