forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error creating .NET support. ClrCreateManagedInstance ...

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
qt



Joined: 23 Aug 2005
Posts: 46
Location: Berlin, Germany

PostPosted: Thu Nov 22, 2007 8:05 pm    Post subject: Error creating .NET support. ClrCreateManagedInstance ... Reply with quote

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
View user's profile Send private message Visit poster's website
Andrew



Joined: 09 Sep 2004
Posts: 232
Location: Frankfurt, Germany

PostPosted: Fri Nov 23, 2007 10:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group