Darwinbots Forum

General => Off Topic => Topic started by: Botsareus on August 04, 2012, 09:57:25 PM

Title: What is a .NET Assembly anyway?
Post by: Botsareus on August 04, 2012, 09:57:25 PM
Other then being very scared of the idea when Numsgil says it is a pain (that does not happen often)
I want to know what is the difference between an .exe and a .NET Assembly.

(I tend to complain and spam my ideas before understanding a suggestion in the first place, good thing I caught on to this,  I will try to never do it again)
Title: Re: What is a .NET Assembly anyway?
Post by: Numsgil on August 05, 2012, 05:41:15 PM
Assembly (CLI) (http://en.wikipedia.org/wiki/Assembly_%28CLI%29)

In short: it's either a EXE or DLL.  .Net assemblies can call in to other .NET assemblies relatively easily.  VB6 can call in to .NET assemblies through a COM interface.  Setting up the COM interface for a .NET assembly is a bit of a pain, but there should be articles floating around online about how to do it.
Title: Re: What is a .NET Assembly anyway?
Post by: Botsareus on August 05, 2012, 07:07:01 PM
so it is kinda like custom api...
Very cool system If you want to slowly transition code from one version to another, but just extra work for me when I am trying to do something simple.

I think I'll just add a form to the main project that will hold my global settings. (sorry, no transition to DB3)

However, I still prefer the controllers to be external (all they really do is: copy files and write to files, and also run the main program loading different settings files or simulations passed to it by command line)

Why?

One reason is, people can easily write there own plug-ins
And the second is, it will give me peace of mind  :P

Should I rewrite the controllers in .NET 3.5 or .NET 4 ? (Or the latest version of .NET when I finally get to it ?)
Title: Re: What is a .NET Assembly anyway?
Post by: Numsgil on August 05, 2012, 11:53:15 PM
Whichever .NET you want to use is fine.  It probably makes sense to use the latest, since they're backwards compatible.
Title: Re: What is a .NET Assembly anyway?
Post by: Botsareus on August 06, 2012, 11:58:30 AM
few, I am glad we are on the same page.