DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Sun, 15 Jul 2007 19:30:27 -0400,    posted on: microsoft.public.dotnet.framework.interop        back       

Thread Index
  1    eblaster am
          2    Phill W. p-.-a-.-w-a-r-d-@-o-p-e-n-.-a-c-.-u-k
          3    Micky Duncan


invoking .net2.0 dll from .net1.1 exe   
Is it possible to invoke a .net 2.0 dll (built using VS2005) from a .net 1.1 
exe built using vs2003?
Thanks
Date:Sun, 15 Jul 2007 19:30:27 -0400   Author:  

Re: invoking .net2.0 dll from .net1.1 exe   
eblaster wrote:


> 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.
Date:Mon, 16 Jul 2007 15:09:16 +0100   Author:  

Re: invoking .net2.0 dll from .net1.1 exe   
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@newsgroup.nospam> wrote in message 
news:uwoJegzxHHA.1484@TK2MSFTNGP06.phx.gbl...

> Is it possible to invoke a .net 2.0 dll (built using VS2005) from a .net 
> 1.1 exe built using vs2003?
> Thanks
> 
Date:Mon, 30 Jul 2007 10:55:33 +0800   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us