Jeff Boehlert wrote:
 
>
> Can someone post a code snipit and/or overview of how to properly use
> HPGETPROCPLABEL. Would like to have a program call a function that is
> dynamically determined at run time.
>
> Currently have been testing with Fortran.
>
> Have set up in the main program an "EXTERNAL ABC". ABC is a dummy
> routine that is compiled in. Then have created another routine "XYZ" and
> compiled and added to a group XL (TESTXL)with ";share". When calling
> HPGETPROCPLABEL (to retrieve XYZ from TESTXL) it appears an address is
> coming back in ABC and status is 0. But when a subsequent "CALL ABC" is
> done it is referencing the original dummy routine and not XYZ.
>
 
Have you tried specifying the XL (TESTXL) in the HPGETPROCPLABEL call?
 
Regards,
 
Kumar
CSY, Bangalore