| 05-07-2007, 12:54 AM | #1 |
Thanks for answering my previous questions... Since the CLR is a Runtime that uses most executables (i assume not all)... is it possible to create a proof-of-concept Runtime that would run on windows? i'm not sure how to describe what i want but, is it possible to create a proof-of-concept Runtime in C++? How? |
| 05-08-2007, 02:13 AM | #2 |
I could not properly understand what exactly you want, but I´ll try to make things clear with a minimal history class. The .Net Framework is mostly coded using C# as it base language. The cs code then calls the Windows API using pinvoke to implement it´s features, like opening files, creating threads and so on. The CLI (Common Language Infrastructure) is a ECMA standard that says how applications written in multiple high-level languages can be executed in different system environments without the need to rewrite those applications. The CLI ECMA standard has rules defining things such as namespaces, calling conventions and also a "minimal set of features" that runtimes must obbey. Microsoft developed (and you can download, just google it) the Shared Source Common Language Infrastructure (SSCLI), wich is a working implementation of the ECMA CLI and the ECMA C# language specification. The "nix" impplementation is also known as "rotor". Keep in mind that the .Net Framework is another implementation of the "ECMA CLI", plus another features. Thus, the SSCLI can be considered a subset of the .Net Framework. Finally there is Mono project, wich is an open-source project to create an ECMA standard compliant .NET compatible set of tools and libraries. Now back to your question: yes, it is possible to write the CLI runtime, either using C++ or C#. As a sugegstion, download the SSCLI src code, get the Mono src code and download a tool named "Reflector" wich you can use to open .Net assemblies and see their source code. Digging into the Microsoft .Net Framework using reflector is one of my favorites exercises. |
| 05-09-2007, 01:26 AM | #3 |
Sorry for the delay. But yes, you answered my questions if i am correct. I will look into your advice. For now the questions should be answered. [edit] aarg, please help; i cannot open .tgz files! could you place it on a download site temporarily to let me dl it as a zip. Please! (thanks for the pointer but it is useless if i cannot use it!) |
| 05-09-2007, 04:58 PM | #4 |
You can´t open *.TGZ? You should get 7ZIP (http://www.7-zip.org/). It can open a lot of formats. ![]() |
| 05-09-2007, 05:49 PM | #5 |
I have prepared this link specially for you, mapz_maker: http://www.wc3campaigns.net/faq.php?...misc#faq_7zrar |
| 05-11-2007, 11:00 AM | #6 |
Ok... |
