SHARED COMMON MEMORY 
Author Message
 SHARED COMMON MEMORY

Has anyone got an idea about how to access the same SHARED COMMON area
in fortran and C.  That is, a shared common block is declared in a
fortran routine, how can a C routine access and update that same common
block ???

Thanks
--

======================================================================
Ed Purdy                        

======================================================================



Sat, 22 Apr 2000 03:00:00 GMT  
 SHARED COMMON MEMORY



Quote:
>Has anyone got an idea about how to access the same SHARED COMMON area
>in fortran and C.  That is, a shared common block is declared in a
>fortran routine, how can a C routine access and update that same common
>block ???

That depends on the particular C ad Fortran conpilers you are using, there
are no standards for this. You will have to look the answer up in the
documentation for your compilers.

--
-----------------------------------------


-----------------------------------------



Wed, 26 Apr 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Common areas/common data/data sharing

2. Finding memory leaks in shared memory pool

3. Shared Memory, NT 4.0, object memory allocation (new)

4. IPC: Shared memory via dll vs memory map file

5. memory handling in shared memory

6. copying CObject-derived-classes to shared memory (created using Memory-Mapped file)

7. Shared Commons and C

8. dynamically allocating memory for fortran common blocks

9. dynamically allocating memory for fortran common blocks

10. Common C errors (was Strange memory allocation...)

11. ipaq does not support 8-bit Common Memory for PCMCIA Card

12. sharing memory space

 

 
Powered by phpBB® Forum Software