[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
| Title: | Digital Fortran | 
| Notice: | Read notes 1.* for important information | 
| Moderator: | QUARK::LIONEL | 
|  | 
| Created: | Thu Jun 01 1995 | 
| Last Modified: | Fri Jun 06 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 1333 | 
| Total number of notes: | 6734 | 
1156.0. "dynamic memory on nt?" by HYDRA::PASHAPOUR (Disk space, the final frontier) Mon Feb 03 1997 16:42
    I posted the following in nt-developer notesfile, but got no response. 
    I hope I hear from somebody here.
    
    Thanks for your help in advance.
    
    Amin
    
            <<< DECWET::DOCD$:[NOTES$LIBRARY]NT-DEVELOPERS.NOTE;1 >>>
                         -< MS Windows NT Developers >-
================================================================================
Note 3176.0                  Dynamic memory for nt?                   No replies
HYDRA::PASHAPOUR "Disk space, the final frontier"    31 lines  23-JAN-1997 12:43
--------------------------------------------------------------------------------
    Hi,
    My isv has an application that is 98% FORTRAN. The rest is in C,
    including the main program.
    They'd like to dynamically allocate memory on the NT system for their
    "big" FORTRAN common block. This is what they have:
                                     
    subroutine foo(size)
    common /bar/ a(1)
    integer size,a
    return
    end
    subroutine realone(...)
    common /bar/ a(1000000)
    real*8 a
    return
    end
    In UNIX, I have a .s file that sets the address of bar at a specific
    address and I do mmap(&bar, 200000, ...) The .s file looks like:
            .globl bar_
    bar_ = 0x160000000
    What's the equivalent of the above .s file and mmap call in NT?
    Appreciate your help in advance.
    Amin
    
| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|