Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


1036 Error: Clipboard

Keywords:  clipput clipget 1036 error clipboard	  

Note:

Starting in WinBatch 2001A, ClipPut no longer has a 64K limit.
Starting in WinBatch 99K, Fixed problem with ClipGet truncating text greater than 64K.

Question:

In the following code:
	clip=clipget()
I'm getting the following error:
        1036: clipboard > 64000 bytes
        WinBatch version 2000C
Why is this happening? I can manually copy this much data to the clipboard...

Answer:

Looks like that 64k limitation, in ClipPut is a hang over from 16 bit windows. This function was originally designed to run on both 16 and 32 bit platforms. We will update it to nologer have that limitation in the next release.

In the mean time, here are a few other options...

ClipPut("");empty out the clipboard
;ClipAppend doesn't have the 64k limitation
ClipAppend(stuff)

*or*

Use BinaryClipPut......


Article ID:   W14586
Filename:   1036 Clipboard error.txt