Is there a maximum size for Windows clipboard data?

Tolkem

Well-Known Member
Joined
Jan 6, 2019
Messages
1,450
Reaction score
1,176
Credits
10,528
Hi, everyone! Hope you're all having a nice life! :)

I just bumped into this post while checking my feed https://devblogs.microsoft.com/oldnewthing/20220608-00/?p=106727 Found it a good read and thought of sharing here.
An excerpt:
A customer had a program that opened a very large spreadsheet in Excel. Very large, like over 300,000 rows. They then selected all of the rows in the very large spreadsheet, copied those rows to the clipboard, and then ran a program that tried to extract the data. The program used the GetClipboardData function to retrieve the data in Rich Text Format. What they found was that the call to GetClipboardData was returning NULL. Is there a maximum size for clipboard data?
 


SlowCoder

Gold Member
Gold Supporter
Joined
May 2, 2022
Messages
456
Reaction score
313
Credits
3,611
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top