Link to home
Start Free TrialLog in
Avatar of Sparky961
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
Avatar of Exceter
Exceter
Flag of United States of America image

Try MSDN(Microsoft Developer Network)
http://msdn.microsoft.com/

Exceter
Avatar of Sparky961
Sparky961

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
ASKER CERTIFIED SOLUTION
Avatar of Salte
Salte

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If someone can point me directly to a list, they can have the points...

Sparky
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