BaH.Volumes in NG -- Windows error

BlitzMax Forums/BlitzMax NG/BaH.Volumes in NG -- Windows error

BlitzSupport(Posted 2016) [#1]
Hi Brucey,

BaH.Volumes fails to build here in bmx-ng, giving error "Unable to convert from Byte Ptr to Int" on line 207:

Global _shell32:Int = LoadLibraryA("shell32")
Global _ole32:Int = LoadLibraryA("ole32")


Tried changing the :Ints to :Byte Ptrs but then all hell breaks loose!

Dialog pops up saying "error: stray '@' in program" -- and this is the output:



Same results whether building for x86 or x64.


BlitzSupport(Posted 2016) [#2]
Was trying to build the demo code here, BTW:

http://www.blitzforum.de/forum/viewtopic.php?t=37210


Brucey(Posted 2016) [#3]
Should be fixed now.
Also required a tweak to bcc too (for string to short ptr auto detection/conversion).

I also see rtmidi has had a recent release, so I'll need to update that too (although I don't think I was too far behind).


BlitzSupport(Posted 2016) [#4]
Can't try right now, but thanks!