- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CVF can produce a COM server from FORTRAN code. It provides a pointer to a buffer for global instance data. The buffers for each instance of the server are independent.
When I tried this, I found that all the other global data (specifically, data in COMMON blocks) was shared among multiple instances. This meant that the COM server could not be used in a multi-user or multi-session environment. The code would have to be rewritten so that all shared variables are in the instance buffer.
Is there a way to deploy the COM server created by CVF in such a way that each instance runs in a different process, and each instance sees its own set of data in COMMON?
When I tried this, I found that all the other global data (specifically, data in COMMON blocks) was shared among multiple instances. This meant that the COM server could not be used in a multi-user or multi-session environment. The code would have to be rewritten so that all shared variables are in the instance buffer.
Is there a way to deploy the COM server created by CVF in such a way that each instance runs in a different process, and each instance sees its own set of data in COMMON?
Link Copied
0 Replies

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