Saqib Ullah

BootStrapper Know How

  Home  |   Contact  |   Syndication    |   Login
  109 Posts | 1 Stories | 820 Comments | 15 Trackbacks

News



Article Categories

Archives

Post Categories

Blogging websites

Favourite Blogs

Private Links

Sites

November 2008 Entries

In my last blog we saw how to create netmodule any code in .net. Today we well see that how we can use it in an application. So for the implementation of the netmodule in my code I would like to show you a little Managed C++ application that easily consumed it. // HelloWorld.h #using <mscorlib.dll> #using "CSharpHelloWorld.netmodule" using namespace System; // This code wraps the C# class using Managed C++ public __gc class HelloWorldC { public: CSharpHelloWorld __gc *t; // Provide .NET interop...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Hello geeks after a long time, I write some thing that basically tell what the actually difference between .net assembly and Netmodule file. I illustrate this blog by using the following piece of code block. using System; public class CSharpHelloWorld { public CSharpHelloWorld() {} ///<summary> /// ///</summary> public void displayHelloWorld() { Console.WriteLine("Hello World, from C#!"); } } .Net Assembly File Basically .Net assembly is a compile library that contains code in CIL (Common...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati