w32engin
- Posted by Tyler Southwick <wick900 at operamail.com> Mar 30, 2002
- 378 views
I am trying to define the structure "LV_COLUMN" with w32engin, but can't use the c type "LPTSTR". From the win32 docs the structure is defined: typedef struct _LV_COLUMN { UINT mask; int fmt; int cx; LPTSTR pszText; int cchTextMax; int iSubItem; } LV_COLUMN; I defined it as: StList &= { {0,"LV_COLUMN", "mask : UINT : 4 "& "fmt : int : 4 "& "cx : int : 4 "& "pszText : LPTSTR : 4 "& "cchTextMax : int : 4 "& "iSubItem : int : 4 "} } but i get the message that LPTSTR is an invalid C type. how do i make it work?