我是Delphi XE4使用OSX API的新手.所以,我不知道如何将XCode示例转换为Delphi.
任何人都可以给我一个例子,说明如何通过调用OSX API关闭我的MacOS?
更新:我在这里收到了一篇Apple文章:http: //developer.apple.com/library/mac/#qa/qa1134/_index.html
但似乎没有声明API.我尝试使用MacAPI单元并输入函数,编译器说未找到.
delphi macos shutdown firemonkey delphi-xe4
delphi ×1
delphi-xe4 ×1
firemonkey ×1
macos ×1
shutdown ×1