Hello elektrik1000,
You simply have to convert you number to char.
#include <windows.h>
#include <stdio.h>
int main(void) {
int key;
char s[10];
// You can do it like this
key = 55;
_itoa(key, s, 10);
MessageBox(0, s, "Convert Int to Char", MB_ICONINFORMATION);
// Or like that
key = 212;
wsprintf(s, "%d", key);
MessageBox(0, s, "Convert Int to Char", MB_ICONINFORMATION);
return 0;
}