TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: MAXIM ZHUROVICH
from: BALOG PAL
date: 1997-09-28 21:34:00
subject: LPCTSTR

                            Hi, Maxim Zhurovich!
On 23 Sep 97  17:04:33 you wrote to All
 MZ> Yesterday, I saw a string in help (BC 5.0) about mciSendString
 MZ> command. There was a subj type of variable. Do you know, what does it
 MZ> mean ?
it's a typedef. LPC means long pointer to const. STR is a string (ie char
array finifsed by \0, T modifys it to be composed of TCHARs instead of
regular chars.
typedef const TCHAR FAR *     LPCTSTR;
TCHAR is another typedef. It is either wchar_t or char, depending on _UNICODE
defined.
Paul
--- OS/2 Warp
---------------
* Origin: The FlintStones' Cave in BedRock (2:371/20)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.