String variable max length can't exceed 255 characters


Hi there

Thanks for the new version of SPSS. But unfortunately, the problem that I used to face with the older version still exists. When I create a SpssStringVariable I am not able to set the length of the variable more than 255 characters. As far as the spssio32.dll is concerned, it is supposed to accept 32767 characters. If I set the length more than 255 I get the error "SPSS_INVALID_VARTYPE" the corresponding error description from SPSS being "Invalid length code (varLength is negative or exceeds 32767)". Any help would be deeply appreciated.


Closed Mar 11, 2010 at 2:02 PM by AArnott
Fixed by changeset 47 (c20935e2f922)


afeuer wrote Mar 19, 2010 at 10:28 AM

Works perfect with the new changeset.