The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: ragdog on June 17, 2007, 11:40:22 AM

Title: get Clipboard text
Post by: ragdog on June 17, 2007, 11:40:22 AM
hi guys

i hava a little problem with the clipboard algo
when i copy a big files (95,7kb for example) into the clipboard crash my programm!

have your any ideas

regards

ragdog

[attachment deleted by admin]
Title: Re: get Clipboard text
Post by: MichaelW on June 17, 2007, 07:09:34 PM
I did not test this, but I think the problem is the default limit of 32767 characters for the edit control. You can use the  EM_SETLIMITTEXT (http://msdn2.microsoft.com/en-us/library/ms672096.aspx) message to change this.
Title: Re: get Clipboard text
Post by: ragdog on June 17, 2007, 08:07:27 PM
thanks for the info :U