2012-10-02 3 views
0

예를 들어 외부 DLL을 사용하는 C#의 "콘솔 응용 프로그램"이 있습니다.dll을 C# 콘솔 응용 프로그램의 리소스로 사용하십시오.

[DllImport("utils\\rapi.dll")] 
internal static extern int CeRapiInit(); 
.. 
.. 

그런 다음,이 DLL (radi.dll)는 콘솔 응용 프로그램에 자원에서로드되었는지해야합니다. 하지만 난 어떻게 해야할지 모르겠다, 나는 C#에서 초보자입니다.

인사말

+0

실제 질문은 무엇입니까? – MyCodeSucks

+0

어떻게 이러한 dll에 내 콘솔 응용 프로그램을 confignate 응용 프로그램에 리소스에서 taked입니다 – koer

+1

이것은 이렇게 많은 시간이 중복됩니다 .. 참조 이러한 http://stackoverflow.com/questions/11523641/embed-a-dll-into- a-console-application http://stackoverflow.com/questions/2418539/how-can-i-embed-an-assembly-into-a-console-application-without-ilmerge – nawfal

답변

관련 문제