Code: Select all
If CreateFile(0, GetTemporaryDirectory() + "test.txt", #PB_Unicode)
WriteStringN(0, "Line 1")
WriteStringN(0, "Line 2")
EndIf
Also for the IDE, there are 2 more API calls that needs to be handled.
PureBasicDebugger\StandaloneDebugger.pb --> GetCurrentDirectory_()
PureBasicIDE\Language.pb --> MultiByteToWideChar_()
