Code:
void CProcess::SendText(char input[])
{
	HWND hWnd;
	int count, number_of_output = sizeof(input);
	hWnd = FindWindow(0, "Nexus");
	
	ShowWindow(hWnd, SW_SHOW);
	SetForegroundWindow(hWnd);
	Delay(20000);

	for(count=0;count<number_of_output;count++)
	{
		if(input[count] == (char)"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9")
		{
			keybd_event("VK_"+input[count],0,0,0);
		}
		if(input[count] == (char)"/0")
		{
			keybd_event(VK_SPACE,0,0,0);
		}
	}

	return;
}
Code:
--------------------Configuration: Macro - Win32 Debug--------------------
Compiling...
Main.cpp
c:\program files\microsoft visual studio\myprojects\macro\apis.h(144) : error C2664: 'keybd_event' : cannot convert parameter 1 from 'char [4]' to 'unsigned char'
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast
Error executing cl.exe.

Main.obj - 1 error(s), 0 warning(s)
Thanks