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/

Reply via email to