Ok, works now. I installed the 6.76 version again in a fresh directory and now it works. Seems that he found something from the 6.75 version because I installed the 6.76 in the directory of 6.75 before.
Basic4ppc V6.76 is the actual beta-release of the upcoming version 6.8.
The stable version 6.5 works fine with the current revision of the formlib.dll so your error does not belong to the problem above.
Did the error occur on the device IDE, or during the start of an "normal" or "optimized" .exe?
In Basi4ppc v6.50 Formlib.dll has the version number 2.3 and the source code used for optimised compile says 2.4. I don't know if it was a typo or if there is a minor difference. Looks like Erel fixed it for Basic4ppc v6.76.
I have tried your code with Version 6.80 with the test text not the arabic one, no font on the device.
- Device (AutoScale) compiled, runs OK on my htc Touch HD with WM 6.1 VGA screen.
- Device EXE compiled, runs OK on my Qtek 9090 WM 2003
So I don't see what the problem is, is it with the arabic font ?