>The app will be running on a W98 laptop anyway. It just won't test very well under NT. Thanks M$!
I suspect that the reason for this would be that NT may have considered only workstations. This is purely a SWAG, however.
>I've just noticed that it may also help if I declare lpStatus as REPLICATE(SPACE(1), 12). Running it this way under NT does returns some values....it's just the first 4 bytes all return 32 and the last two 538976288 !?!?
That makes sense. SPACE(1) = ASCII 32. I would be surprised if the other didn't equal what would be returned by ? StringToInteger(REPLICATE(SPACE(1), 4))< g >
To tell if the function worked or not test the return value. Zero will indicate that it failed. Non-zero (one in all liklihood) indicates success.
>Thanks again George.
George
Ubi caritas et amor, deus ibi est