View Single Post
Old 11-06-2020, 04:45 AM   #5
GerReader
Connoisseur
GerReader has read War And Peace ... all of itGerReader has read War And Peace ... all of itGerReader has read War And Peace ... all of itGerReader has read War And Peace ... all of itGerReader has read War And Peace ... all of itGerReader has read War And Peace ... all of itGerReader has read War And Peace ... all of itGerReader has read War And Peace ... all of itGerReader has read War And Peace ... all of itGerReader has read War And Peace ... all of itGerReader has read War And Peace ... all of it
 
Posts: 52
Karma: 66200
Join Date: Oct 2020
Location: Germany, Rhein-Main
Device: PocketBook Touch HD 3
Quote:
Originally Posted by rkomar View Post
The only obvious difference (besides the icon) is that I provide the iv_confighandler hproc function to OpenConfigEditor() but not the iv_itemchangehandler cproc function. I also use CONFIGPATH instead of STATEPATH in the call to OpenConfig, but I'm not sure if that would fix the crash.
I see. Unfortunately these are also things that I tried, replaced the callback functions in every possible iteration with NULL, and also tried CONFIGPATH, but nothing works.

At this point I am considering that something else might be broken, as it looks like the code itself is correct. I don't think that the problem is in the rest of the app code. I try to open the ConfigEditor from a MenuHandler callback, when I replace OpenConfigEditor there with a simple Message(), all works flawlessly.

May I ask what exact SDK you are using, and on what reader with what firmware version?

I am using https://github.com/blchinezu/pocketbook-sdk/ , which seems to be a little bit old (last updated some years ago), is there a newer SDK? At this point I'm suspecting that I'm compiling with an outdated SDK.

My platform is a Touch HD 3, with the newest patched firmware 6.1.900. I don't think that something was changed in the latest system updates.

As you mentioned that you have working code, do you happen to have a GitHub repo or other repository where I could try compiling example code which is known to be working?
GerReader is offline   Reply With Quote