pinters to structs etc...

BlitzMax Forums/BlitzMax Programming/pinters to structs etc...

DebugLog "interf = " + String.FromCstring(deviceinfo.interf)
DebugLog "name = " + String.FromCstring(deviceinfo.name)

these two lines should print the string retuned in the structure PmDeviceInfo, the problem I feel is that deviceinfo.name and deviceinfo.interf are (byte ptr) not actual C strings.
I have now uploaded the BlitzMAX module and test application to the website if you want to try it?