win32 DLLs

Please give me an example of how I can share global data between
subroutines A, B, and C, where C is in a win32 DLL.

With the Win32 PGI compilers you cannot share global data between
subroutines A, B, and C where C is in a DLL. This restriction exists
because global data item X in a DLL is resolved to a different memory
address than the same-named global data item X in the executable or
another DLL.