Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using LPTSTR and DWORD 1

Status
Not open for further replies.

MarcDePoe

Programmer
Dec 19, 2000
101
US
can someone tell me where LPTSTR and DWORD are defined ...
I see them used everywhere and I don't know exactly what they are or the rules on using them.

thanks
-Marc
 
"LPTSTR" is (assuming you're not doing anything with Unicode or multi-byte character sets) equivalent to "char*", and "DWORD" is the same as "unsigned long".

An easy way to find the definitions is to right-click on the keywords in Visual C++ and select "Go To Definition Of".

Note that you'll have to do this a few times to finally arrive at the real definition for LPTSTR.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top