HighTechTalks DotNet Forums  

invoking .net2.0 dll from .net1.1 exe

Dotnet Framework (Interop) microsoft.public.dotnet.framework.interop


Discuss invoking .net2.0 dll from .net1.1 exe in the Dotnet Framework (Interop) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
eblaster
 
Posts: n/a

Default invoking .net2.0 dll from .net1.1 exe - 07-15-2007 , 07:30 PM






Is it possible to invoke a .net 2.0 dll (built using VS2005) from a .net 1.1
exe built using vs2003?
Thanks



Reply With Quote
  #2  
Old   
Phill W.
 
Posts: n/a

Default Re: invoking .net2.0 dll from .net1.1 exe - 07-16-2007 , 10:09 AM






eblaster wrote:

Quote:
Is it possible to invoke a .net 2.0 dll (built using VS2005) from a .net 1.1
exe built using vs2003?
Not within the same process, no.

A 1.1 process cannot load a 2.0 dll, but a 2.0 process can [/usually/]
load a 1.1 assembly.

HTH,
Phill W.


Reply With Quote
  #3  
Old   
Micky Duncan
 
Posts: n/a

Default Re: invoking .net2.0 dll from .net1.1 exe - 07-29-2007 , 10:55 PM



Assuming that no UI is involved you could probably write a middleman to do
the job.
e.g.

..NET 1 --> COM out-of-process host (exe) --> .NET 2

The COM host could be a c++ with managed extenstions so that it could use
..NET types - such as in the ones in your .NET project.

Unfortunately this tactic gets very complex where user interfaces are
involved so I wouldn't recommend it.

Micky

"eblaster" <eblaster (AT) newsgroup (DOT) nospam> wrote

Quote:
Is it possible to invoke a .net 2.0 dll (built using VS2005) from a .net
1.1 exe built using vs2003?
Thanks



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.