记得 AL.exe中有一个 /main: 你可以指定程序的入口函数MSDN: -----------------------------------------------------------------------------------+ /main:method Specifies the fully qualified name (class.method) of the method to use as an entry point when converting a module to an executable file. -----------------------------------------------------------------------------------+当然目标要是:exe(executable file)
把你的文件拷到这里,输入上述命令和文件名
DLL是无法直接运行的。因为没有定义入口。如果你想编译成可执行文件。得编译成exe才行。
AL.exe中有一个 /main:
你可以指定程序的入口函数MSDN:
-----------------------------------------------------------------------------------+
/main:method
Specifies the fully qualified name (class.method) of the method to use as an entry point when converting a module to an executable file.
-----------------------------------------------------------------------------------+当然目标要是:exe(executable file)