PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

win32 DLLs

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
ams



Joined: 14 Jul 2004
Posts: 41

PostPosted: Wed Jul 14, 2004 1:16 pm    Post subject: win32 DLLs Reply with quote

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
View user's profile
ams



Joined: 14 Jul 2004
Posts: 41

PostPosted: Wed Jul 14, 2004 1:17 pm    Post subject: win32 DLLs Reply with quote

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
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group