BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Author Topic: Variables of type "cstring"  (Read 21186 times)

karst.drenth

  • Newbie
  • *
  • Posts: 18
    • View Profile
Variables of type "cstring"
« on: February 15, 2024, 03:07:53 PM »

Hi,

For some projects, I need to have the Text property of an ESD_TextBox to be editable ( I need it a.o. for a OS_Keyboard )
I looked in the Keyboard example and saw the use of "cstring" there. As I wanted so be sure that each instance has it's own storage, I checked the generated code.

To my asthonisment, I saw that in the EVE_Header files "cstring" is just a typedef of "const char*" which in turn means, that I will be writing directly in "some" memory where the default value is kept  :o

Is there anybody out there who can wake me up from this bad dream  ;D I am probably missing something, but can't figure out what.

Greets and already thanks for an answer,
Karst

« Last Edit: February 15, 2024, 09:22:21 PM by karst.drenth »
Logged