Powerbasic Museum 2020-B

IT-Consultant: Patrice Terrier => C++ programming (SDK style) => Topic started by: Patrice Terrier on June 09, 2016, 09:08:19 PM

Title: MIDI Piano 64-bit
Post by: Patrice Terrier on June 09, 2016, 09:08:19 PM
I have translated the PowerBASIC Borje's PBpianoSDK.bas into C++ 64-bit.

The 117 Kb binary EXE is stored inside of the x64\Release subfolder.
The solution was written with the free Visual Studio Community 2015 edition.

I haven't checked everything, thus if you find any error then let me know.

I did from my best to stay as close as possible to the PBpianoSDK source code.

As you will see the size of the 64-bit EXE UNICODE is very close to the size of the 32-bit version, who said 64-bit was bloated ?  ???

(http://www.zapsolution.com/preview/MIDIpiano.png)

...
Title: Re: MIDI Piano 64-bit
Post by: Patrice Terrier on June 11, 2016, 12:43:52 PM
QuoteBTW, in original code a %PN_PITCHBEND message is sent to parent and there a %TBM_SETPOS message is sent to Pitch Bend trackbar so it moves on arrow up/down key too, but this don't work in the 64-bit code. No big deal, really - pitch bend works anyway so it's just a "cosmetic" thing.

First post if this thread has been updated with a new ZIP file to fix the above.

...
Title: Re: MIDI Piano 64-bit
Post by: Patrice Terrier on April 14, 2017, 06:59:55 PM
James

I was able to create a tiny 50Kb of the 64-bit version (including the embedded 15 Kb icon resource), i shall post it on www.objreader.com
Title: Re: MIDI Piano 64-bit
Post by: Patrice Terrier on April 16, 2017, 08:00:32 PM
And the final codeproject submission is there
https://www.codeproject.com/Articles/1182347/MIDI-Piano