With the SAPI you need to send your data as a "unsigned short" (at least as far as i know), so i get my data
StxtL = GetWindowTextLength(SpEDT);
StxtB = (PTSTR) malloc ((StxtL + 1) * sizeof (TCHAR)) ;
GetWindowText(SpEDT,StxtB,StxtL + 1);
so now StxtB has my text but how can i send that as a "unsigned short"?
Also when i define _UNICODE i get 52 errors in my "microsoft speech sdk 5.1\include\spdebug.h" anyone know why this could be?
thanks for your time.