Cedric,
Why do you want to specify the entry point?
The entry point is used to indicate that is where the program is to
start when started in a new app domain. If you run this program in another
process or another app domain, then you don't have to know where the entry
point is, it will be handled automatically for you.
If you want to run it in the same app domain, then you really should
take the functionality of the other program and refactor it out into a
library, and access the functionality that way.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
<bb****@gmail.comwrote in message
news:11**********************@i3g2000cwc.googlegro ups.com...
Hi
I have developped a dll that I want to use in another program !
here is my code :
using System;
using System.Collections.Generic;
using System.Text;
namespace NameSpace
{
/// <summary>
/// Main Entry Point.
/// </summary>
public class MyClass
{
public static void Main(string[] args)
{ .... }
}
}
But how can I tell my class or function that it is entrypoint ????
many thx
Cedric Petter