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 

Can .NET help link the library made in different compiler?

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



Joined: 10 Mar 2008
Posts: 2816
Location: South Pole, Antarctica

PostPosted: Sat Aug 02, 2008 10:56 am    Post subject: Can .NET help link the library made in different compiler? Reply with quote

Is there any way to trick the FTN95 to accept "foreign body", the library made in another compiler, like its own? If .NET connects other languages, can it do this task too?
Back to top
View user's profile Send private message
Andrew



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

PostPosted: Mon Aug 04, 2008 9:13 am    Post subject: Reply with quote

.NET enables the link with other assemblies built using .NET, whatever the language. They all share a common base and conform to specification. With Win32 things are different as things can change between vendors. DLLs of course are a standard way of consuming others code and that is supported (without the need for a lib).
Back to top
View user's profile Send private message
DanRRight



Joined: 10 Mar 2008
Posts: 2816
Location: South Pole, Antarctica

PostPosted: Tue Aug 05, 2008 2:39 am    Post subject: Reply with quote

Thanks, got it. By chance, do you or anyone here who used Intel Fortran, knows is it possible to rebuid IVF static lib into IVF dll and will it work with ftn95?

By the way is dll succeptible to viruses same way like exe is?
Back to top
View user's profile Send private message
Andrew



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

PostPosted: Sun Aug 17, 2008 10:30 am    Post subject: Reply with quote

I dont see why any code recompiled into a Win32 DLL with the appropriate entry points cannot be used with FTN95.

With viruses - its possible that any file can be affected really, there are all sorts of potential tricks with code injection etc. Any virus needs to be activated too mind you - so it needs to run at some point, which ultimately needs an executable of course.
Back to top
View user's profile Send private message
DanRRight



Joined: 10 Mar 2008
Posts: 2816
Location: South Pole, Antarctica

PostPosted: Sun Aug 17, 2008 11:37 am    Post subject: Reply with quote

Thanks Andrew, this is also confirmed by Intel' Steve Lionel.
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 -> General 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