Any idea why the below code returns "Function name missing )."
#DEFINE VK_LWIN 0x5B
#DEFINE VK_RWIN 0x5C
#DEFINE KEYEVENTF_KEYUP 0x2
DECLARE keybd_event IN Win32API ;
SHORT bVk, SHORT bScan, INTEGER dwFlags, INTEGER deExtraInfo
=keybd_event(VK_LWIN,0,0,0)
=keybd_event(VK_LWIN,0,KEYEVENTF_KEYUP,0)
CLEAR DLLS keybd_event
RETURN
>Hello,
>
>yes you're on the right track.
>
>you've got these #DEFINES from a VB page right?
>
>in VB H is the prefix for hexadecimal, just replace it with 0x to convert to VFP.
>
>e.g.
>H5B -> 0x5B
>
>Regards
>Christian
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"