- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a process model programmed in Fortran on a MicroVAX. It utilizes an installed, shared common to share data between many applications. I would like to move this process model to a server and am having difficulty with the shared data concept.
let's say the shared data area contains an integer(4), N.
let's say I want a Fortran console app(peekN)which printsN to screen.
let's say I want another Fortran console app (pokeN)which increments N by 1.
I want to run peekN from the command promptand see the default init value of N.
I want to run pokeN from the command prompt and modify that value of N.
I then want to run peekN from the command prompt to see the new value of N.
I don't know the PC analog of 'install', but it seems like the shared data DLL isn't installed.
What am I doing wrong ?
thanks for any help or references,
Cliff Phares
(409)886-9573
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
/section:.data,RWS
If you don't do this, then each process gets its own copy of the shared data (it is shared within the process, just like in VMS when you don't INSTALL the shared library.)
In Visual Studio, you add this on the Linker > Command Line property page.
In version 10, the supplied sample program DLLDLL_Shared_Data demonstrates this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Steve;
I'm not quite sure what the /section:.data,RWS switch does when I compile the shared data DLL. How does the data stay resident in memory ? Do I need to create a program which remains linked to the shared data DLLto keep shared datain memory ? Is this the work-around to the VMS install utility ?
What is the least resource demanding way of keeping an executable running ? VMS had the SYS$HIBER and SYS$WAKEUP. VMS also had AST timers to generate interrupts.
I tried to install V10 once awhile back and it didn't go well. I haven't tried it since.
Any help is greatly appreciated.
Thanks,
Cliff
(409)886-9573
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What problem did you have with version 10? Did you contact Intel Premier Support about it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've seen the same problem mentioned since in your Forum. I've contacted Support - they recognized it as a problem. I wasn't the only one to report it.
There were two problems. The 1st was creating a new DLL. I made a forum entry to which you replied 'contact Support'.
The 2nd issue was with removing the software. Not all components and registry entries were taken care of when un-installing. Support had a work-around for that as well.
I'm just going to wait for 10.1 or 10.2 .
Thanks for all your help.
- Cliff

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page