Message Function and Strings Greater than 261 Characters
Keywords: Message 261 262 strings
Question:
I'm using the Intcontrol(1006 function. I've got an unparsed command line that's more than 261 chars long.With the following code:
unparsed=IntControl(10006,0,0,0,0) Message(StrLen(unparsed), unparsed)In Windows 95/98 the variable contents come in OK (it displays more than the 261 chars.)In Windows NT 4.0, the message statements only displays up to 261 chars. I don't get any error message, but it won't display past that length.
Do you have any idea why the differences between the two operating systems?
Answer:
It's there. Maybe save it to a file and look at it.It is limitation of the windows message box function. It was not designed for real long strings.
Article ID: W14233Filename: Message Function and Strings Greater than 261 Chars.txt