Saturday, February 11, 2012

Pilot.GetProfileString returns an incomplete value with IBM Datacap Taskmaster Capture

Pilot.GetProfileString returns an incomplete


value with IBM Datacap Taskmaster Capture


Abstract


The Pilot.GetProfileString method is truncating the end of the string, returning an incomplete value.

Cause


The Pilot control's GetProfileString method has a limitation of 259 bytes, so anything beyond the first 259 characters will be truncated and ignored.

Resolving the problem


This can be resolved by getting multiple values and concatenating them.

No comments:

Post a Comment