Hello,
1. Declare the global variables before including the code file.
#include <acknex.h>
PANEL *myGblPanel;
#include "myheader.h"
2. You have to acces to the string as follows:
(location_info.pstring)[0]
The pstring member of a TEXT is a pointer to a string struct array. Look at those new parethesis. If you don't write them, you are trying to acces to the 0th member of pstring, and it is not an array so it becomes to that error. When writing the parethesis, you are trying to access the 0th member of the array pointed by pstring.
Salud!