Wow I am confused. SendMessage API. (Resolved)
Okie doke, I am so darn confused as to why this piece of code is causing a segmentation fault.
The MSDN says that the LPARAM is supposed to be a pointer.
char MyMsg="This is a message.\0";
char * pMyMsg=&MyMsg;
However when I use it without Dereferencing it
It tells me that it is expecting a long int.
It will compile the first way but then causes the fault.
Thanks for all help past/present/future.