18.10.2011, 11:38
The variable is "cmdtext" not "cmdtxt" as you can see by reading the callback. If you read the error you will also see that the problem is explained quite well! Also why do you specify a length of 10 in the strcmp function? Why specify a length at all? It is useless in these cases.