dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]using the -shared option(.dll)


From: prashant patel
Subject: [DotGNU]using the -shared option(.dll)
Date: Thu, 28 Mar 2002 10:54:09 -0800 (PST)

I am tring out the use of the -shared option on the
following code.

using System;

public class Shared
{
   public void Print()
   {
      Console.WriteLine("Shared Lib");
   }
}

using System;

public class Hello
{
   public static void Main()
   {
        Console.WriteLine("Hello DotGnu");
        Shared s = new Shared();
        s.Print();
   }
}

 cscc -L/usr/lib -shared -o sh.dll shared.cs
 cscc -L/usr/lib -lsh.dll  -o hello.exe hello.cs
 but the Console out is not shown.

__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]