Hi,
sorry for the newbie question but...
I have successfully written/modified a python code for using the iowkit.dll under Windows.
It is so simple, because all you have to do is:
- import ctypes
- load the library, that can be put in the same directory without installation
- call the C functions of the DLL as documented in the docs
For some reason everything seems to be more complicated under MacOS.
It seems that, if I am only interested in writing a command-line code, I have to import the IOWarriorLib.h header file, and make sure the IOWarriorLib.c file is in the same directory. And then call the function IOWarriorWriteToInterface to send reports
My questions are:
- where have gone all the convenient functions usually found in the windows api? (like IowKitOpenDevice(), IowKitRead, IowKitWrite)
- Do I need the IOKit framework? Do I need XCode?
- where is the pdf doc?
What am I missing?
Thank you.
MacOS SDK and IOWarrior? Where are the basic functions?
Moderator: Guido Körber
-
- Site Admin
- Posts: 2862
- Joined: Tue Nov 25, 2003 10:25 pm
- Location: Germany/Berlin
- Contact:
Re: MacOS SDK and IOWarrior? Where are the basic functions?
The MacOS and Windows versions have been implemented separately and since we don't have that much request for the MacOS support we did stick with the rather simple library. The library has to be compiled into your software to work. And yes, you will need XCode.