I finally got some unicode file level support to work with using Pure Basic commands for files and send it to BlitzMax.
Pure Basic seen to support unicode, but was a bit hidden and need to been enabled first and it stated in help it diddent support it and in other place it state fully supported.
Otherwice I use some thing like this to get the dll to work when created:
Make sure to use the orignal blitz max commands when using Linux, since the above might break combatible.
.....
Now I need to see I can get blitzmax to read files from memory using a pointer, returned from Pure Basic (might been only that way to get streams to work when it using unicode files). Here I might create a new thread.
Lock this thread, if you wich.
Pure Basic seen to support unicode, but was a bit hidden and need to been enabled first and it stated in help it diddent support it and in other place it state fully supported.
Otherwice I use some thing like this to get the dll to work when created:
Global WRAPPER_DLL WRAPPER_DLL=LoadLibraryA("purebasicdll.dll") Global ReadUnicodeDir$w(dir:Byte Ptr) "Win32" = GetProcAddress(WRAPPER_DLL,"ReadDir") Global CheckFile:Int(dir$w) "Win32" = GetProcAddress(WRAPPER_DLL,"CheckFile")
Make sure to use the orignal blitz max commands when using Linux, since the above might break combatible.
.....
Now I need to see I can get blitzmax to read files from memory using a pointer, returned from Pure Basic (might been only that way to get streams to work when it using unicode files). Here I might create a new thread.
Lock this thread, if you wich.