rossati Active Member Licensed User Longtime User Apr 1, 2020 #1 Hi I would create a library from a class made by an .h and .cpp file using the B4Rh2xml.jar, this is what happens: B4X: C:\Users\User\Documents\Arduino\SimCron>java -jar B4Rh2xml.jar handleEvents.h handleEvents No shortname for class: ::handleEvents C:\Users\User\Documents\Arduino\SimCron> No shortname for class: ::handleEvents what does it means? I have also tried with HandleEvents and HEvents with same result. Thanks Giovanni Rossati
Hi I would create a library from a class made by an .h and .cpp file using the B4Rh2xml.jar, this is what happens: B4X: C:\Users\User\Documents\Arduino\SimCron>java -jar B4Rh2xml.jar handleEvents.h handleEvents No shortname for class: ::handleEvents C:\Users\User\Documents\Arduino\SimCron> No shortname for class: ::handleEvents what does it means? I have also tried with HandleEvents and HEvents with same result. Thanks Giovanni Rossati
Erel B4X founder Staff member Licensed User Longtime User Apr 2, 2020 #2 You must write a wrapper that follows the rules for B4R libraries: Creating libraries for B4R
rossati Active Member Licensed User Longtime User Apr 2, 2020 #3 thanks Erel I had only followed part of the tutorial
rossati Active Member Licensed User Longtime User Apr 2, 2020 #4 Can you confirm that I can't make public structure in my .h file?