I have seen a lot of type LPSTR(and other like LPCSTR, etc) when coding using MFC.
I just know it is equivalent to char*, but what LPSTR exactly is?
(ie, is it a native type in C++, or a macro in C++, or a typedef in C++, or...)
These typedefs and macros were created by MS team in early Windows era in the interests of portability. See brief summary and historical introduction: [url]http://en.wikibooks.org/wiki/Windows_Programming/Handles_and_Data_Types[/url] Read More