Why not
reinterpret_cast< LPARAM >( "abc" )
or
(LPARAM)"abc"

Quote Originally Posted by paprica
LPARAM is actually an integer btw, right?
typedef LONG_PTR LPARAM;
typedef long LONG_PTR, *PLONG_PTR;

of course long can be any byte size >= char