>>Unfortunately, BINTOC() isn't usable when dealing with C-type WORD/DWORD for two reasons.
>> ...
>
>One more question (I am new to this segment of programming): Am I correct to assume that a VFP char (4-byte) has to be passed? If I create a function to construct the character value in the correct format, would this work?
>
>Hilmar.
If you mean converting a numeric to a character representation then yes it has to be passed. If you mean actual character data, then most likely you only have to append a CHR(0) to the end to make it NULL terminated (unless there is a numeric somewhere that tells the passee how much data was passed).
If you take a look at some of the functions in the WinAPI section, you can see various types of numeric dta being converted and passed.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao