| View previous topic :: View next topic |
| Author |
Message |
ams
Joined: 14 Jul 2004 Posts: 24
|
Posted: Wed Jul 14, 2004 1:16 pm Post subject: 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. |
|
| Back to top |
|
 |
ams
Joined: 14 Jul 2004 Posts: 24
|
Posted: Wed Jul 14, 2004 1:17 pm Post subject: win32 DLLs |
|
|
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. |
|
| Back to top |
|
 |
|