I have the following struct definition:
Code:
 typedef struct AppInfo{
  string AppName;
  string AppVer;
  TCHAR pcName[256];
} strApp;
I am passing it to a function this way:
Code:
GetInfo(&strApp);
and my function is declared:
Code:
int GetInfo(strApp &AppList)
when I compile, I get an error message stating that the function GetInfo can't convert parameter 1 from strApp * to strApp &. It's been a couple of years since I've programmed in C++ (does it show?). I want to be able to view the new contents of AppList outside of the GetInfo function. I know this is newbie question, but I'd appreciate your help.