Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 18 JAN 2000 08:45:20PM Ross Lambert wrote:

Folks,

I need to access OI data from external applications. I have documentation for the RevShell.dll and I'm having a little trouble getting the RevStartUp function to work. It is returning an error code of 6, but I don't have the C headers that describe this error.

1. Can you clue me into where the C header files might be found? I don't see them on the Works CD-ROM.

2. If you're feeling extremely generous, do you know what the error code of 6 means? If it is one of the errors from the back of the RevShell API docs, it is a Rev_Err_Lock_Failed. However, the docs do not list that as an error RevStartUp will return. Any hints as to what is going on?

Thanks for the help.

Ross W. Lambert, Senior Programmer/Analyst

P.U.D. No. 1 of Douglas County, WA


At 19 JAN 2000 06:08PM Ross Lambert wrote:

Oh, by the way, it is not a 16-bit to 32-bit thunking problem because I'm testing in a 16-bit C app. It seemed safest to start there and make sure everything worked as advertised.

== Ross ==


At 20 JAN 2000 05:03AM [url=http://www.sprezzatura.com]Sprezzatura[/url] wrote:

Ross,

AFAIK … a return value of 6 from RevStartUp is REV_STARTUP_ERR, which is not much use is it?

Are you starting OpenEngine yourself before calling RevStartUp or are you relying on RevStartUp to do this for you? If the latter then try the former :-)

I mostly use RevCAPI to interface to the engine but I'm sure I've used the RevShell functions in the past successfully ( and I know the OLE Automation Server written by Bryan Feddish uses them too ) so they do work…

Sprezzatura

World Leaders in all things RevSoft


At 20 JAN 2000 11:41AM Ross Lambert wrote:

] Are you starting OpenEngine yourself before calling RevStartUp or

] are you relying on RevStartUp to do this for you? If the latter

] then try the former :-)

Are you saying that I need to launch OEngine.exe myself? I'll give that a go.

I would also _kill_ for a copy of the C header files. :-)

Is the RevCAPI documented anywhere?

Thanks for the help. I'm just a C programmer lost in OI land. :-)

== Ross ==


At 20 JAN 2000 11:43AM Ross Lambert wrote:

OOOps…

In case anyone is feeling extremely generous, my e-mail is:

[email protected]

Thanks again.

== Ross ==


At 20 JAN 2000 12:26PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Ross,

Are you saying that I need to launch OEngine.exe myself? I'll give that a go.

I'd definately launch OE yourself, RevStartUp never starts it all up (?)

Is the RevCAPI documented anywhere?

It was on Compuserve a long time ago…check your email…

I'm just a C programmer lost in OI land. :-)

Yeah - I'm just an OI programmer lost in C land …

The Sprezzatura Group

World Leaders in all things RevSoft


At 20 JAN 2000 07:37PM Ross Lambert wrote:

Carl (and anyone else listening in),

I got the RevShell/RevCAPI DLL working! Hooray! Thanks for the C headers, Carl.

Considering my ignorance of OpenInsight, it went fairly quickly as these things go. If anyone ever asks, it is certainly possible to query and/or edit data from outside the OI environment.

Incidentally, would anyone be interested in a COM server and/or OLE DB Data Provider that dished up OI data? That's where I'm headed. That means VB, VBA in Excel/Access/Word, and just about anything else could use OI as easily as any ODBC data source.

Now, I know everyone thinks you cannot mix 16 and 32-bit code like this, but I've already done it. That was the first hurdle in our proof-of-concept; it wasn't easy and it's a minor kludge, but it works (fairly speedily, too).

Would there be a potential commercial market for such a beast? Just curious what people think. I'm a newbie hereabouts.

== Ross ==

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/1baa6d2e396943a48525686b0009a4f7.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1