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

Error Codes

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

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
File Created: 2001:02:26:08:57:56
Last Updated: 2001:02:26:08:57:56