Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a mixed mode assembly?

I am looking at the System.Data.SQLite download page, and it lists mixed mode assembly for .NET 4 and a regular (I assume). My project that is going to use this library is all .NET 4 which will be compiled to x86.

I have 2 questions:

  1. What is a mixed-mode assembly? Google returns a confusing array of answers, none of which make a lot of sense. One answer states that it's all about mixing native and managed code, while others claim its for mixing .Net versions.
  2. Which download should I get for my situation?
like image 445
AngryHacker Avatar asked Sep 01 '11 06:09

AngryHacker


People also ask

What is mixed assembly?

Mixed-model assembly line (MMAL) is a type of assembly line where several distinct models of a product are assembled. MMAL is applied in many industrial environments today because of its greater variety in demand.

What is a managed assembly?

Managed assemblies are located and loaded with an algorithm involving various stages. All managed assemblies except satellite assemblies and WinRT assemblies use the same algorithm.

What is native C++ code?

The Native Development Kit (NDK) is a set of tools that allows you to use C and C++ code with Android, and provides platform libraries you can use to manage native activities and access physical device components, such as sensors and touch input.

What is managed C++ code?

Managed C++ is a language invented by Microsoft, that compiles to bytecode run by the . NET Framework. It uses mostly the same syntax as C++ (hence the name) but is compiled in the same way as C# or VB.NET; basically only the syntax changes, e.g. using '->' to point to a member of an object (instead of '.


1 Answers

http://msdn.microsoft.com/en-us/library/x0w2664k.aspx

1) Allways check msdn first. Mixed mode means that the assembly can run managed and unmanaged code.

2) Setups for 32-bit Windows (.NET Framework 4.0)

http://system.data.sqlite.org/sqlite-netFx40-setup-bundle-x86-2010-1.0.74.0.exe

You kinda answered that question yourself "My project that is going to use this library is all .NET 4 which will be compiled to x86."

like image 163
Steav Avatar answered Oct 02 '22 19:10

Steav