Removing 'ASCII' switch from PureBasic
Re: Removing 'ASCII' switch from PureBasic
If your lib is imported with Import/ImportC, you can (and should) uses the pseudotypes (p-ascii or p-utf8) to have an autoconversion from PB strings. Not that it can be also set in Prototype if you load the lib dynamically (with GetFunction()). Just don't use CallCFunction/CallFunction(), these methods are outdated and not flexible enough.