More on Fortran COM Servers

More on Fortran COM Servers

Imagen de hweisberg


In a previous post, I asked about using the COM Server Wizard to convert legacy Fortran code to a format that could be integrated with a multi-user Web application. In a reply, Peter Priestley pointed out that there will be data collision for any data stored in COMMON. I have verified that this is the case when the FORTRAN code is accessed from an ASP.NET application. Instances of the application started in separate browser sessions share the same data, making the application useless.

Multiple instances were independent when tested with VB clients, but not when referenced by a Web server.

In order to avoid collision, it will be necessary to convert the source code so that all data formerly in COMMON are instead stored in a data structure (called ObjectData in the COM Server Wizard code), in a USE module.

Message Edited by intel.software.network.support on 12-09-2005 02:05 PM

1 envío / 0 nuevos
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.