Calling OneWorld Functions From Unix C

dhelsley

Well Known Member
Is there any documentation on how to call OneWorld business functions and API functions from a C program written and running on Unix?

Is this a normal thing to do?

Thanks if advance.

Dave.

David D. Helsley, Inc.
[email protected]
Xe, HPUX, Sp17.1, Oracle, TSE, Web
Xe, W2K, Sp17.1, MSSql, TSE
 
in it here, but you can go to the Interoperability Guide and under the sect=
ion for "Detailed Task for OneWorld APIs" it will explain what yo=
u need to do to run a JDE API from a non-JDE program. </P>

</=
Sr. OneWorld Developer XE

<FONT SIZE=3D2>dhelsley <ddh@c=
<FONT SIZE=3D2>[email protected]</FONT>
<FONT SIZE=3D2>cc:</FONT> <B=
T FACE=3D"Monospace,Courier">Is there any documentation on how to call OneW=
orld business functions and API functions from a C program written and runn=
ing on Unix?
</FONT>
<FONT FACE=3D"Monospace,Courier">Is this a norma=
l thing to do?
</FONT>
<FONT FACE=3D"Monospace,Courier">Thanks if adv=
ONT FACE=3D"Monospace,Courier">David D. Helsley, Inc.
jdecnc@consultant.=
SSql, TSE
</FONT>
<FONT FACE=3D"Monospace,Courier">------------------=
.jdelist.com/cgi-bin/wwwthreads/showflat.pl?Cat=3D&Board=3DOWDEV&Number=3D3=
- - - - -+
This is the JDEList One World® / XE Developers mailing li=
st / forum.
Archives and information on how to SUBSCRIBE, and
U=
NSUBSCRIBE can be found on the JDEList Forum at
<A HREF=3Dhttp://www.JDE=
 
Thanks, I've been through the interop guide. It's all very clear for NT programming, but, what about Unix. For starts the .h files required to pass parameters into the business function only exist in packages on the Unix server.

Has anybody done this? Can you offer an example.

Thanks again.

"you can go to the Interoperability Guide and under the section for"


Dave.

David D. Helsley, Inc.
[email protected]
Xe, HPUX, Sp17.1, Oracle, TSE, Web
Xe, W2K, Sp17.1, MSSql, TSE
 
Dave, I haven't seen any references to doing this, but can't see why it wouldn't work.

You need to adapt the NT method to Unix. I.e. instead of using a VC++ project, you will need to create a makefile, or do the compiling and linking by hand. You may be able to pinch some of the makefile from a package build on the server. Set up the linker flags so it includes the unix .sl (shared libs) rather than NT dlls.

If you are not familiar with the Unix compile, linker and librarian, this will probably be very difficult!

Note that JDE don't recommend using the C API's for interoperability any more. Perhaps you should be looking at using Corba or XML interoperabilty instead? The latter is particularly easy to use.

Good luck
JohnO
 
Back
Top