|
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? On most unix systems this is done by: hlib = dlopen(libname, ... and individual routines are found by targetadr=dlsym(hlib,"symbol") Hewlett Packards hpux uses: hlib = shl_load(libname,... and routines are found by shl_findsym(&hlib,"symbol",&targetadr) Windows systems use: hlib = LoadLibrary(libname) ... and targetadr = (type)GetProcAddress(hlib, "symbol"); ===================================================== 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
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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 on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.