silence warning when assigning pointers
Although my code works, I'm getting a warning I don't know how to supress.
I'm assigning a multi dimensional array of type CHAR** to one of type LPCTSTR*
I assumed this was ok as all pointers are 32bit in Windows.
Here is the code causing me problems
BOOL Start(INT ArgCount, TCHAR **Args)
LPCTSTR ServiceName = *Args++;
LPCTSTR *ServiceArgs = Args; // error relates to this line
How do I correct this?
warning: initialization from incompatible pointer type