So you're saying that, in the case of an empty string, lpcbData returns "1" on Win98, and "0" on Win2k?

That sucks.

The docs aren't clear on what the function should return in the case of an empty string. Personally, I would expect it to treat an empty string as a null string and always return 0.

___________
Tony Fabris
_________________________
Tony Fabris