I have a definition:
DM_ComponentStatusType m_aeComponentStatusTypes[14];
in which DM_ComponentStatusType is a C++ structure. I'm trying to fill
another structure in which one of the elements is defined as:
DM_ComponentStatusType* pStatusTypes[14];
When I code this line:
psMaintenanceComponentEvent->pStatusTypes =
&theApp.m_aeComponentStatusTypes;
I get the following compile error that I can't figure out. Can anyone tell
me what I'm doing wrong (and why :-) Thanks!
sralogger.cpp(92) : error C2440: '=' : cannot convert from
'DM_ComponentStatusType (*)[14]' to 'DM_ComponentStatusType *[14]'
There are no conversions to array types, although there are
conversions to references or pointers to arrays