Well that's the right waybmcs wrote:No doubt I will give PB another try, but I will write a lot more "fun" code and pester you folks before I tackle a "real" job.
Set Gadget Font via Windows API
Re: Set Gadget Font via Windows API
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
Re: Set Gadget Font via Windows API
Reup this topic to correct an error if it can help.
I got, whatever the version of PB (5.31 to 6.00) I use, an error with this very interesting code of Rashad
to
Regards
I got, whatever the version of PB (5.31 to 6.00) I use, an error with this very interesting code of Rashad
Therefore, I have changed the line :Line 20 - Overflow in a dynamically allocated memory block
Code: Select all
txtBuffer = AllocateMemory(length) : PokeS(txtBuffer, txt$, -1, #PB_Unicode)Code: Select all
txtBuffer = AllocateMemory(length * 2) : PokeS(txtBuffer, txt$, -1, #PB_Unicode | #Pb_String_NoZero)If my English syntax and lexicon are incorrect, please bear with Google translate and DeepL. They rarely agree with each other!
Except on this sentence...
Except on this sentence...

