First of all, the lounge is not the place for these type of posts. You're better off asking this question in one of the forums. But since we're on the subject, let's discuss a few choices. You can either: -- char *pStr = new char[200] strcpy(pStr, "hello world"); ... SendMessage(hWnd, (WPARAM)pStr, NULL) In the message handler you simply char * const pStr = (char *)wParam; delete [] pStr; -- As an alternative, if you strings are <255 characters, you can use AddAtom() and DeleteAtom() to have Windows manage memory for you. Use GlobalAddAtom() and GlobalDeleteAtom() if you're sending the message to a window of a different application. -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...