Re: OLE and External Edit



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
.



Relevant Pages

  • Re: Custom ID Field
    ... code window, and in the Immediate window, paste: ... When I exit the format box, it auto corrects me EVERY time. ... database and build up a small table, then a form, and go from there. ... Can the GetNextJobNumber function output in my format? ...
    (microsoft.public.access.formscoding)
  • Re: Multiple date formats in a Table
    ... Duplicating the date in a second date field is certainly one way of doing ... window, then click on "New". ... Once you've got a function that works, create a new query in design ... > with date format and field properties. ...
    (microsoft.public.access.tablesdbdesign)
  • Re: Powerpoint Automation access to GIF and JPEG
    ... > the three graphic formats I am interested in into PPT ... inserting an object a) shows me an image and b) gives an OLEProgID ... I mostly work in VBA, so don't have any real way of getting at the OLE data, ... > raw data format it ...
    (microsoft.public.office.developer.automation)
  • Automating Internet Explorer
    ... The script below is where it's at at the moment. ... BEGIN OnQuit event ... from the VB bug the kludgy way mentioned in the OLE doc ... Currently the script exits when the X is clicked in the IE window, ...
    (comp.lang.perl.misc)
  • RE: How to create a local server (i.e., localhost)
    ... logon user session and hard to automate in a non-interactive service ... Since the webserver.exe is a winform application which has a main window, ... already running on a given port? ...
    (microsoft.public.dotnet.languages.vb)

Loading