View previous topic :: View next topic |
Author |
Message |
qt
Joined: 23 Aug 2005 Posts: 46 Location: Berlin, Germany
|
Posted: Thu Nov 22, 2007 8:05 pm Post subject: Error creating .NET support. ClrCreateManagedInstance ... |
|
|
Hello!
A customer is having a problem with .NET objects.
He sent me the following:
G:\TC\TC_6\Projekte\XML_SC~1\Entw\werk>ftn95 ..\fortran\damaus.f90 /include P:\apps\TR_DEV\TR_Entw\Waerm\wtprog\common;P:\apps\TR_DEV\TR_Entw\Hilfsm\Allg\common;P:\apps\TR_DEV\TR_Entw\Stoffums\VERDIA\common;P:\apps\TR_DEV\TR_Entw\allg\tdvgr
f\common;..\fortran\english /mod_path ..\werk
*** Error creating .NET support. ClrCreateManagedInstance returned 0x800040050165) LIBRARY "System.dll"
*** Unable to communicate with FTN95LIB
1 ERROR [..\fortran\damaus.f90 FTN95 5.10.0] - Compilation failed.
COMPILER OPTION /CLR is turned on.
--------%<--------------
! Initialisierung
LIBRARY "System.dll"
! LIBRARY "ClassApplication.dll"
! OBJECT("ClassApplication.CApplikation") APPL
! APPL=NEW@("ClassApplication.CApplikation",5)
!
-------->%-------------
Any idea what is wrong? Do you need more infomation?
Please help. Thank you.
Best regards,
J�rg Kuthe
QT software GmbH |
|
Back to top |
|
|
Andrew
Joined: 09 Sep 2004 Posts: 232 Location: Frankfurt, Germany
|
Posted: Fri Nov 23, 2007 10:50 am Post subject: |
|
|
The issue here is basically with the LIBRARY option in the code. For .NET you should specify libraries on the command line for FTN95 and DBK_LINK (or DBK_LINK2). The libraries should be specified using the /R command line switch (R for REFERENCE). |
|
Back to top |
|
|
|