Hey Bob

The error message states that it cannot find magci.dll in e:\IBM\UV\bin.
Try placing a copy of it into the UV/bin dir as well as the UV/gcidir.

Andy Mack



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Little
Sent: Thursday, 6 November 2008 3:26 p.m.
To: [email protected]
Subject: [U2] Need help with GCI system

I'm attempting to use the GCI system and I'm having trouble getting it
to work.
I'm working on Windows Server 2003 and UV10.2

Here's what I've done :
Create a small function in C: int getSum(int, int) Compile the function
and create a lib from the object file.
Copy the lib over to UV/gcidir
Login to the UV account and run GCI.ADMIN Created a new GCI definition
file called MAGCI file using option 1 Defined the new function this way:

Subroutine name:  getSum (the name I want to be able to call in UV)
Language:  c
External Name:  getSum  (the actual name of the C function)
Module  Name:  test   (the library name which contains the function)
one int type output and two int type arguments for input

Compiled the items in the new CGI file with admin option #5 Installed
the new DLL and re-logged in to the UV account

Wrote a UV subroutine to use the new function:
DECLARE GCI getSum
PRINT getSum(2,3)

And I get the following error:
Error 126 loading GCI library e:\IBM\UV\bin\magci.dll.
The specified module could not be found.
Program "TEST": Line 2, Invalid GCI subroutine.

I think that I'm missing something key here, but I don't know what it
is.
I'd appreciate any help here.

Thanks
-bob
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to