Re: OLE and External Edit
- From: Matthew Phillips <mnews@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 11 Jan 2009 22:16:58 GMT
In message <501bf84bdbray@xxxxxxxxxxxxxx>
on 11 Jan 2009 Ray Favre wrote:
In article <gjskbt$rbd$1@xxxxxxxxxxxxxxxxxxx>, John Tytgat
<this@xxxxxxxxxx> wrote:
Ray Favre wrote:
I have text-file copies of the 'official' Acorn OLE spec and OLE
Support spec (both from 1993!). Please let me know separately if
you want them.
Acorn OLE spec ? OLE was specified by CC, no ?
You may well be right. No harm or disrespect intended.
I got it from 'hensa' (I think) and it looked the same as many
Acorn-sourced docs. So I made an assumption.
The only visible credit is that it says it was authored by 'Mike'.
I have this OLE specification, both the original and a version incorporating
helpful comments from Erik Groenhuis.
One question:
In Message_OLE_OpenSession we have in the message block:
+16 = message number (&80E21)
+20 = 16 byte unique name padded with zeros
+36 = window handle of display holding file
+40 = x offset of data in window
+44 = y offset of data in window
+48 = format number
format = 0 or 1 (edit file)
+52 = Session number (24 bit number invented by the client)
+56 = file type
+60 = full pathname of data, zero terminated
format = 2 (redit file)
+52 = Session number (24 bit number invented by the client)
format > 2 (reserved for future expansion)
Can anyone tell me what the values at +36, +40 and +44 are meant to be used
for? Why should the OLE server need to know this information? Do any of
them make use of it?
Also, I note that the session numbers are limited to 24 bits, so I had better
not supply a pointer to the struct associated with my OLE handler, just in
case it is more than 16M into the logical address space of the application
(unlikely, but you never know).
I wonder whether that was a mistake for 32 bit? I'll play safe and ensure I
keep them small.
--
Matthew Phillips
Dundee
.
- Follow-Ups:
- Re: OLE and External Edit
- From: Erik G
- Re: OLE and External Edit
- References:
- OLE and External Edit
- From: Matthew Phillips
- Re: OLE and External Edit
- From: Ray Favre
- Re: OLE and External Edit
- From: John Tytgat
- Re: OLE and External Edit
- From: Ray Favre
- OLE and External Edit
- Prev by Date: Re: CASE...ENCASE Query...
- Next by Date: Re: CASE...ENCASE Query...
- Previous by thread: Re: OLE and External Edit
- Next by thread: Re: OLE and External Edit
- Index(es):
Relevant Pages
|
Loading