This is a multi-part message in MIME format.
--
Thanks Simon,

In searching about, we came across these example C routines (from IBM) that
essentially emulate the Windows (ugh) Win32 api's for the same purpose.
They use precisely the same APIs you mentioned. We're messing with them now.

> This question has nothing to do with Code400 and more properly belongs on
> the C400 list.
Yea - I wasn't subscribed to C400 - fixing that even as we speak.

Thanks again

***** This message is confidential *****
=====================================================
John Fogarty, Developer               email: jfogarty@datajunction.com

Data Junction Corporation             Phone: (512) 459-1308 x 515
2201 Northland Drive                    FAX: (512) 459-1309
Austin, TX 78756                          http://www.datajunction.com

----- Original Message -----
From: "Simon Coulter" <shc@flybynight.com.au>
To: <code400-l@midrange.com>; <C400-L@midrange.com>
Sent: Saturday, September 14, 2002 8:06 PM
Subject: [C400-L] Re: Dynamic loading of service programs?

>
> Hello John,
>
> You wrote:
> >Does anyone know if there is any way for an ILE v4r4 C++ application to
> >dynamically load a Service Program, and get access to routines within
them
> >by their names?
>
> This question has nothing to do with Code400 and more properly belongs on
> the C400 list.  I'll answer it here but any follow up questions should be
> sent to the C400 list.
>
> You can dynamically activate a service program using the QleActBndPgm API.
>
> You can get a list of exported procedures by calling the QBNLSPGM API.
>
> You can get the address of an exported procedure using the QleGetExp API.
>
> If your needs are simple you may find the QZRUCLSP API useful.
>
> All of these APIs are documented in the (getting closer to providing real)
> Information Centre.
>
> Regards,
> Simon Coulter.
> --------------------------------------------------------------------
>    FlyByNight Software         AS/400 Technical Specialists
>    http://www.flybynight.com.au/
>
>    Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\
>    Fax:   +61 3 9419 0175   mailto: shc@flybynight.com.au   \ /
>                                                              X
>                  ASCII Ribbon campaign against HTML E-Mail  / \
> --------------------------------------------------------------------
>
> _______________________________________________
> This is the C programming iSeries / AS400 (C400-L) mailing list
> To post a message email: C400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/c400-l
> or email: C400-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/c400-l.
>
>
--
[ hello.c of type application/octet-stream deleted ]
--
[ dll.h of type application/octet-stream deleted ]
--
[ dll_test.c of type application/octet-stream deleted ]
--
[ dll.c of type application/octet-stream deleted ]
--



This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact [javascript protected email address].