Permit me to add that typedef really is your friend. Anything you can do with 
typedef you COULD do without it but typedef turns a hopelessly complicated 
linkage declaration into two very manageable declarations.

IMHO

Charles

On Wed, 3 Sep 2025 20:02:35 -0500, Charles Mills <[email protected]> wrote:

>I am not secure enough in my C skills to say "here is exactly how to do it" 
>but I think I have something relevant that may get you close at least. Here is 
>how I load and call BPXWDYN. It's C++, so that is another wrinkle.
>
>extern "OS" typedef int External_Function(char *, ...) ;
>
>static External_Function *bpxwdyn;

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to