Removing 'ASCII' switch from PureBasic

Developed or developing a new product in PureBasic? Tell the world about it.
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Removing 'ASCII' switch from PureBasic

Post by Fred »

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.
Post Reply