Hi Phil Unfortunately, the standard POSIX shared library handling routines dlopen(), dlsym(), and dlclose() are not provided on iSeries to deal with Service Programs. Instead, you need to deal with complicated APIs, and if you want to unload service programs, you will need to put them in their own activation groups so you can "destroy" them without affecting the rest of your application. There is a fabulous article, "AS/400 DLLs In-Depth: Fast and Flexible Dynamic Calls" by Scott N Gerard, including sample source code, on the iSeries network (www.iseriesnetwork.com) that explains how to treat iSeries service programs like Windows DLLs (or POSIX shared libraries). From what I recall, the code may not work exactly as is, but you should be able to work your way through any issues. To find the article, simply go to their website, and enter article id 1990 into the box in the top right-hand corner. Good luck! Cassie -----Original Message----- From: email@example.com [mailto:firstname.lastname@example.org] Sent: Tuesday, October 01, 2002 6:30 AM To: email@example.com Subject: [C400-L] dlfcn.h - dynamic linking I am searching for another header file - dlfcn.h (dynamic linking.) I've found a lot of documentation on the internet but none of it references the as400. Does anyone know if this is supported on the as400? Thanks, Phil _______________________________________________ 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-Lfirstname.lastname@example.org Before posting, please take a moment to review the archives at http://archive.midrange.com/c400-l.