Somebody commented that a MaxGUI program i'd written (see http://on.plu.to ) didn't run on their XP SP2 machine. I had tested it on several xp machines (including SP2) without a problem, but have since been able to find a machine that replicates their problem.
On the effected machines the program runs then crashes the first time it tries drawtext to one of the canvases. If I run a debug build from the MaxIDE i get an 'Unhandled Exception:Unhandled Memory Exception Error' on the line:
The variable graphysize has been defined and is used without a problem a few lines before, removing the variable from the line makes no difference to the error. I'm currently using Brucey's fontconfig, but the error occurs without it too. The program usses two canvases and the first one has already used drawtext successfully when this error occurs.
What puzzles me most is that this error only occurs on certain pc's, the program works fine on the majority of machines i've tested it on. Has anybody come across this issue before, or can you suggest a solution? I've failed to replicate it in a shorter piece of code. I'm really puzzled.
On the effected machines the program runs then crashes the first time it tries drawtext to one of the canvases. If I run a debug build from the MaxIDE i get an 'Unhandled Exception:Unhandled Memory Exception Error' on the line:
DrawText("0",20,graphysize-20)
The variable graphysize has been defined and is used without a problem a few lines before, removing the variable from the line makes no difference to the error. I'm currently using Brucey's fontconfig, but the error occurs without it too. The program usses two canvases and the first one has already used drawtext successfully when this error occurs.
What puzzles me most is that this error only occurs on certain pc's, the program works fine on the majority of machines i've tested it on. Has anybody come across this issue before, or can you suggest a solution? I've failed to replicate it in a shorter piece of code. I'm really puzzled.