I got a little closer using strcat to add it to MyString but got some almost spanish sounding response in the messagebox. But it works with sprintf...
Code:#include <stdio.h> ////////////////// char MyString[5]; sprintf(MyString, "Test"); MessageBox(NULL, MyString, "Message", MB_OK | MB_ICONINFORMATION);




Reply With Quote