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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now