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...
Post Reply
User avatar
justcode
Posts: 26
Joined: Wed Jul 15, 2009 9:20 pm

What version .NET install for use with COM Interop

Post by 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.

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

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

Post by 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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests