bjarni Posted October 18, 2019 Report Share Posted October 18, 2019 Hello, I've been trying to load a string from a c-function - without luck. Made few approaches though. One example here: -------------------------------------------------- char arr[3][32] ={ "String 1", "String 2", "String 3"};// User code ends above this commentstatic void getString(unsigned short Index, volatile char* TheString, int TheStringLen){ // User code starts below this comment TheString =arr[Index]; // User code ends above this comment} ----------------------------------------------------- TheString defined as here: Is there a way to do it? Thanks, Bjarni Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.