"실행"으로, 별도의 프로세스를 의미하는 경우 :
를 사용하여 .NET에서 System.Diagnostics.Process
사용할 수있는 클래스 : 그렇지
myProcess.StartInfo.FileName = "notepad.exe";
myProcess.StartInfo.CreateNoWindow = false;
myProcess.Start();
당신이 C++로 개발 된 DLL을 사용하는 것을 의미하는 경우, 당신이 할 수있는 Platform Invoke Services
사용 : 당신은 관리 프로젝트에 대한 참조로 네이티브 DLL을 추가 할 수 없습니다
using System;
using System.Runtime.InteropServices;
class PlatformInvokeTest
{
//First param is of course either in your PATH, or an absolute path:
[DllImport("msvcrt.dll", EntryPoint="puts", CallingConvention=CallingConvention.Cdecl)]
public static extern int PutString(string c);
[DllImport("msvcrt.dll", CallingConvention=CallingConvention.Cdecl)]
internal static extern int _flushall();
public static void Main()
{
PutString("Test");
_flushall();
}
}
http://msdn.microsoft.com/en-us/library/aa288468(v=vs.71).aspx – svinja
[C#에서 C# API 사용] (http://stackoverflow.com/questions)/1689957/using-c-api-in-c-sharp)와 아마 다른 사람들의 톤 (이것은 단지 "관련"질문 목록에 나타났습니다) msvcrt.dll의 –