>There's no SHORT for parameter types in DECLARE. Only for return value.
>
>Vlad
>
>>DECLARE G_ICCPresent IN V100_32.DLL SHORT ChannelNB, STRING @ Response
You're right.
In that case:
DECLARE G_ICCPresent IN V100_32.DLL INTEGER ChannelNB, STRING @ Response
will work, since Intel machines represent integer daata types Little Endian, the low-order bytes occur first, and the two high-order bytes will be ignored.