Thanks so far, but I'm still having troubles with converting String to CString.... The error I'm getting is: Couldn't match type `IO CString' with `Ptr CChar' Expected type: CString Actual type: IO CString
let param = newCString "someString"