Hi,
I have a static variable declared in a file:
static char *msgToUser[] = {
    "MSG1                ", 
    "MSG2                ",
};
Inside one of the methods of a class I'm doing this:
void InfoUser::ModifyMsg( BYTE msgIdx, char *msgString ){
    strncpy( msgToUser[ idx ], msgString, DISPLAY_SIZE );
}
When I do the strncopy the program crashes. I'm not sure what I'm doing wrong