I am learning about WinApi in C++ from Jamsa's book ( don't judge me about the age of the book ) and I am having problems with HeapAlloc.
More specific:

I have extracted from the program the following declarations:

#define BLOCKSIZE 32
static LPSTR *lpStrList;
static HANDLE hHeap=NULL;
My problem is Here:

hHeap = HeapCreate(0 ,1024, 0);

lpStrList= HeapAlloc(hHeap, HEAP_ZERO_MEMORY,  sizeof(LPSTR)*BLOCKSIZE);
lpStrList is LPSTR tipe, and HeapAlloc returns LPVOID type, and the compiler don't let me to go further, it says:

error C2440: '=' : cannot convert from 'LPVOID' to 'LPTSTR'
I don't understand where is the problem, I have changed the setting unicode - multibyte character set and that didn't solved nothing.
I have succesfully compiled and runned all the examples presented in the book until now, I want to resolve that problem and go further.

Help me please with some clues to make this work or tell me where is the problem and why the prgram was structured in that way

Thank you,