WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Functions

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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:   W14233
Filename:   Message Function and Strings Greater than 261 Chars.txt
File Created: 1999:10:26:11:22:40
Last Updated: 1999:10:26:11:22:40