Hi,

What is the difference between int pVal and int *pVal?

Also, I have seen the * directly after the type as well:

char* blaba and char *blabla..

I'm running into the following problem:

error C2440: '=' : cannot convert from 'long' to 'long *'

I have global variables defined as int pVal. I'm trying to assign that to another variable define as int *pValNew but I get the above error..

Any ideas?

Thanks,

Dan