I'm new to using OSX API by Delphi XE4. So, I don't know how to translate XCode sample to Delphi.
Can anybody give me an example of how can I shutdown my MacOS by calling OSX API ?
Updated: I got an Apple article here: http://developer.apple.com/library/mac/#qa/qa1134/_index.html
But it seems the APIs are not declared. I tried to use MacAPI units and type the functions, the compilers said not found.
I'm new to using OSX API by Delphi XE4. So, I don't know how to translate XCode sample to Delphi.
Can anybody give me an example of how can I shutdown my MacOS by calling OSX API ?
Updated: I got an Apple article here: http://developer.apple.com/library/mac/#qa/qa1134/_index.html
But it seems the APIs are not declared. I tried to use MacAPI units and type the functions, the compilers said not found.
0 commentaires:
Enregistrer un commentaire