Re: Fortran CVF COM server question

From: Gerry Thomas (gfthomas_at_sympatico.ca)
Date: 09/02/04


Date: Thu, 2 Sep 2004 03:04:00 -0400


"Paul" <pscutts@yahoo.com> wrote in message
news:cfd49131.0409011454.70d85843@posting.google.com...
> I have a third party dll written in Fortran that I am using from some
> C++ code. It works well except for a major problem. The Fortran dll
> exists as a single instance of a collection of methods. The problem
> lies in the fact that I need to use the methods in multiple parts of
> my C++ application and I want it to behave like separate instances
> with separate memory. Basically functioning like a C++ class instead
> of a static library. Does anybody know if creating a COM server with
> the CVF COM server wizard will solve this problem.

Maybe, but ...

Currently your dll isn't an ActiveX dll (sic COM) so the CVF COM Wizard
isn't terribly useful until you concoct a COM server. I see no reason to do
this, however, since you can achieve your goal via a classic dll, COM be
damned. For best responses, post your query to Intel Visual Fortran forum
at

http://softwareforums.intel.com/ids/board?board.id=5

rather than this c.l.f. burlesque, a hang out for the C++, Windows, and
Fortran challenged, superannuated old Fortran farts who drool in their
huggies and wouldn't know a COM from a cum.

[...]

-- 
You're Welcome,
Gerry T.
______
"Science is the belief in the ignorance of experts." -- Feynman, in The
Pleasure of Finding Things Out.


Relevant Pages

  • Re: Look at this before considering to use Intel Visual FORTRAN
    ... > FORTRAN is definitely not the first choice. ... > workaround by writing a COM-Wrapper in DVF, so the DLL runs in the DVF ... > Intel Customer Support ...
    (comp.lang.fortran)
  • Re: exporting functions/subs from fortran?
    ... It's nice to hear other developers with your caliber exist. ... Yes I did dismiss the other options regarding the DLL development (in-proc, ... >> but this project is all FORTRAN and I figured this would be a good place ... >> the fact that I'm calling code in an exe from another exe and the first ...
    (comp.lang.fortran)
  • Re: Threading and DllImport
    ... DLL has already been loaded. ... various unpredictable errors from within the FORTRAN code, ... I don't know anything about "Intel Thread-Checker". ... were able to reproduce the problem in a simple example. ...
    (microsoft.public.dotnet.framework)
  • Re: DLL Problem Laufzeitfehler RTL (Manifest?)
    ... Benutzerschnittstellen zu FORTRAN bereitstellt. ... Da ich aber mit C++ arbeite habe ich eine DLL mit MS Visual C++ geschrieben die von einem sehr kleinen FORTRAN Programm aufgerufen bzw. genutzt wird. ... In de alten Version mit ABAQUS 6.4 und MS Visual Studio 2003 sowie dem Intel FORTRAN Compiler 6.5 funktionierte das auch wunderbar. ...
    (microsoft.public.de.vc)
  • Re: Problems when calling functions from a .dll
    ... > I have quite some problems with calling functions from a .dll. ... originally written in Fortran and compiled by ... > PRECISION (double in Matlab); ... > as a basic for my header file, which is based on the example file ...
    (comp.soft-sys.matlab)