Loading...

What version .NET install for use with COM Interop

Discussions about GdPicture.NET usage in non managed applications built in vb6, Delphi, vfp, MFC c++ etc...

What version .NET install for use with COM Interop

Postby justcode » Mon Aug 22, 2011 4:17 pm

I was wondering how does COM Interop work with the different Framework versions available with GDPicture.NET 8? There are files for Framework 2.0, 3.0, 3.5 in the redist directory, does it matter which one I use for COM Interop?

Should I detect the version of .NET installed and only install that version, or can I install all 3 versions if the appropriate .NET versions are installed on the target PC? What would be my best option?

The .NET files are being installed in the Program Files/Common Files/Our Company/GDPicture.NET folder so we can use it with multiple applications. We are using gacutil.exe to install them in the global assembly for the same reason. The rest go in system32 or sysWOW64 depending on the target platform.
Paul R. Rondeau
Sr. Software Engineer
MultiProcess Computer Corporation
User avatar
justcode
 
Posts: 24
Joined: Wed Jul 15, 2009 9:20 pm

Re: What version .NET install for use with COM Interop

Postby Loïc » Tue Aug 23, 2011 5:24 am

Hi Paul,

The COM interop version is compiled in AnyCPU mode with Framework 2.0.
So it should work on any framework >= 2.0.

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to COM interoperability

Who is online

Users browsing this forum: No registered users and 1 guest