Sparky961
asked on
Variable prefixes in (Microsoft) Visual C++
I have recently had to undertake a project using Visual C++, a language and programming paradigm that I'm not yet familliar with. My question should be fairly basic for anyone involved in Visual C++ programming or possibly programming in general.
I have seen many prefixes on variables such as:
p
psz
pwsz
pwc
ppwsz
... and many (all?) of these variables have been declared using some of:
LPOLESTR
LPCOLESTR
OLECHAR
So my question is this: Is there a good reference on what the individual prefixes and macros for declaration mean?
Thanks,
Sparky
I have seen many prefixes on variables such as:
p
psz
pwsz
pwc
ppwsz
... and many (all?) of these variables have been declared using some of:
LPOLESTR
LPCOLESTR
OLECHAR
So my question is this: Is there a good reference on what the individual prefixes and macros for declaration mean?
Thanks,
Sparky
ASKER
I have already been wandering through the endless maze of MSDN quite a bit. I was hoping for a summary from someone that already knows this information instead of the lengthy process of piecing together this information.
Sparky
Sparky
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
If someone can point me directly to a list, they can have the points...
Sparky
Sparky
ASKER
Unfortunately, the project that I'm working on started it's life as a template and I don't think it would be wise to change variable names at this stage. ;)
I thank you for the explanation, and I have FINALLY found a reference for all of these prefixes.
Sparky
I thank you for the explanation, and I have FINALLY found a reference for all of these prefixes.
Sparky
http://msdn.microsoft.com/
Exceter