Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #5579

Re: Dragging a file and the max length file path

Date 2018-11-08 21:50 +0000
From Matthew Phillips <spam2011m@yahoo.co.uk>
Newsgroups comp.sys.acorn.programmer
Subject Re: Dragging a file and the max length file path
Message-ID <a90fee5357.Matthew@sinenomine.freeserve.co.uk> (permalink)
References <5753b2fc3cbob@sick-of-spam.invalid> <QvC*YMr+w@news.chiark.greenend.org.uk>

Show all headers | View raw


In message <QvC*YMr+w@news.chiark.greenend.org.uk>
 on 8 Nov 2018 Theo  wrote:

> Bob Latham <bob@sick-of-spam.invalid> wrote:
> > 
> > I've been writing a bit of code again and come across a little
> > mystery. If I drag a file to an application, either StrongED (with
> > shift key) or my application, the max length of string that seems to
> > work is 204 including the terminator. 205 and above just doesn't work.
> 
> The maximum size of Wimp messages is 256 bytes, because that's the size of
> buffer apps have to provide when calling Wimp_Poll.  Therefore the maximum
> size of the string is 256 minus the length of the headers, which can vary
> depending on the type of message.
> 
> I don't know if there's a workaround to get larger messages these days.

There isn't.

-- 
Matthew Phillips
Durham

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Dragging a file and the max length file path Bob Latham <bob@sick-of-spam.invalid> - 2018-11-08 11:05 +0000
  Re: Dragging a file and the max length file path Theo <theom+news@chiark.greenend.org.uk> - 2018-11-08 16:39 +0000
    Re: Dragging a file and the max length file path Bob Latham <bob@sick-of-spam.invalid> - 2018-11-08 17:20 +0000
    Re: Dragging a file and the max length file path Matthew Phillips <spam2011m@yahoo.co.uk> - 2018-11-08 21:50 +0000
    Re: Dragging a file and the max length file path Jim Nagel <jnews18c@abbeypress.co.uk> - 2018-11-09 11:57 +0000
      Re: Dragging a file and the max length file path Steve Fryatt <news@stevefryatt.org.uk> - 2018-11-09 17:29 +0000

csiph-web