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 10 MAR 2010 03:35:29PM Brock Prusha wrote:

I've registered the xrev.dll at the location: C:\TEMP\OI\XREV.DLL

I'm trying to start a NEW engine from an ASP.net web page. I'm trying to figure out the correct parameters to use for CreateEngine.

Here is my code:

Dim Revelation As New RevSoftLib.Revelation

Dim Engine As Object=Nothing

ChDir("C:\Temp\OI")

'this line

Result=Revelation.CreateEngine(Engine, "\\.\VB", "SYSPROG", 1, 1)

'and this line

Result=Revelation.CreateEngine(Engine, "VB", "SYSPROG", 1, 1)

'both results in "Exception of

'Type 'System.ExecutionEngineException'

'was thrown."

'this line

Result=Revelation.CreateEngine(Engine, "\\.\VB", "SYSPROG", 2, 0)

'starts an engine, but still results in the 'System.ExecutionEngineException'

Please help me. What parameters should I be using?

Thanks!


At 12 MAR 2010 09:40AM Jared Bratu wrote:

Why not use the NetOI connector instead of trying to interface directly with the XREV.dll file? The NetOI connector is .NET based. The OpenInsight 9.1 distribution has a QSG (Quick Start Guide) in the "Documents" directory with example code.


At 15 MAR 2010 10:20AM Brock Prusha wrote:

I'm probably going to be stuck on OI 8.0.1 for the time being. Any ideas about why I can't get xrev.dll to work?

Thanks!


At 17 MAR 2010 10:48PM Bob Carten wrote:

Brock,

Google systemExecutionException - there are many posts about it that are not related to Revelation. They talk about reinstalling .Net libraries or changing execution permission levels.

If xrev won't work, have you tried OECGI2 instead? If you don't want to use an exe, there are examples posted in the Works site that describe how to create your own version of OECGI2 in php and I think in C#.

- Bob

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/ce2a4e0c7e8856c1852576e200711cc2.txt
  • Last modified: 2023/12/28 07:39
  • by 127.0.0.1