Hi, i read the previous articles about the problems with dbGetEntry()
but the post closed so i created a new one.
i use barnski's latest code-snipped
char* my_str = NULL;
my_str = dbGetEntry();
if (my_str != NULL)
{
if (my_str[0]!=0)
{
cl.str_parse=my_str;
}
// all is done, now free the memory
free (my_str);
}
but then i tried all keys on keyboard and the app crashed as i pressed the TAB-key and other control keys that lead to crash.
so i ask, is this an error of the dbGetEntry()?
cause when i have to check the scancode entry to avoid control-keys
i loose the benefits of the dbGetEntry() function.
please help.
do you know another possibility to get the content of the keyboard-buffer.
thx
DB Noob