Dear friends,
I am trying to set up an emWin simulation (under Visual Studio 2010) for a firmware of mine that works fine on the real hardware.
Unfortunately, every time I try to display some text strings using some custom fonts the program crashes with the message:
An unhandled exception of type 'System.AccessViolationException' occurred in Startup.exe
Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
The problem disappears when using one of the standard fonts included in emWin. But of course I need to use my own fonts. These are simple non unicode fonts, made up of 256 symbols, generated through the Font Converter.
It's worth repeating that such fonts work fine with the embedded version of emWin (version 5.24H for NXP ARM microcontrollers). What then could be wrong with the simulated version? ?(
Thank you for your attention and for any help you may provide.
I am trying to set up an emWin simulation (under Visual Studio 2010) for a firmware of mine that works fine on the real hardware.
Unfortunately, every time I try to display some text strings using some custom fonts the program crashes with the message:
An unhandled exception of type 'System.AccessViolationException' occurred in Startup.exe
Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
The problem disappears when using one of the standard fonts included in emWin. But of course I need to use my own fonts. These are simple non unicode fonts, made up of 256 symbols, generated through the Font Converter.
It's worth repeating that such fonts work fine with the embedded version of emWin (version 5.24H for NXP ARM microcontrollers). What then could be wrong with the simulated version? ?(
Thank you for your attention and for any help you may provide.
The post was edited 2 times, last by giuseppe ().