RE: [U2] Need help with GCI system {unclassified}

2008-11-06 Thread MACK ANDREW, MR
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: u2-users@listserver.u2ug.org
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
u2-users@listserver.u2ug.org
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
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


{Blocked Content} RE: [U2] Need help with GCI system {unclassified}

2008-11-06 Thread Bob Little
Warning: This message has had one or more attachments removed
Warning: (not named).
Warning: Please read the AngelicHost-Attachment-Warning.txt attachment(s)
for more information.

Andy,
I'm not sure I understand your placement suggestion.  According to what I
read, the finished dll gets placed into the bin subdirectory relative to the
main UV account directory.

I'm not actually placing the dll myself, I'm letting the GCI.ADMIN system do
it.
UV appears to construct the path it's going to look in based on what it finds
in the UFC gci.library.list item (which says bin\magci.dll) and what it sees
in the registry as UvHome (in this case its e:\IBM\UV)

So - I dunno.  It's wacky.

-bob



From: [EMAIL PROTECTED] on behalf of MACK ANDREW, MR
Sent: Thu 11/6/2008 8:28 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Need help with GCI system {unclassified}



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: u2-users@listserver.u2ug.org
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
u2-users@listserver.u2ug.org
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
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
This is a message from the MailScanner E-Mail Virus Protection Service
--
The original e-mail attachment winmail.dat
was believed to be infected by a virus and has been replaced by this warning
message.

If you wish to receive a copy of the *infected* attachment, please
e-mail helpdesk and include the whole of this message
in your request. Alternatively, you can call them, with
the contents of this message to hand when you call.

At Thu Nov  6 18:48:29 2008 the virus scanner said:
   Could not parse Outlook Rich Text attachment

Note to Help Desk: Look on the AngelicHost MailScanner in
/home/virtual/site2/fst/var/spool/mail.quarantine/20081106 (message
mA72mQSu008871).
--
Postmaster
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/