DrawAnnotation question
Posted: 2010-01-22T05:02:37-07:00
Hi all,
I'm writing a C code that use the following method:
DrawAnnotation(d_wand,x,y,(const unsigned char *) member_list->callername), where member_list is data structure with char* callername field.
When i run the program I get the following error:
If i write the same data to a text file, the program will work well
fprintf(file,"CallerName %s, member_list->callername);
Can you help me?
Thank you in advance
I'm writing a C code that use the following method:
DrawAnnotation(d_wand,x,y,(const unsigned char *) member_list->callername), where member_list is data structure with char* callername field.
When i run the program I get the following error:
Code: Select all
asterisk: wand/drawing-wand.c:770: DrawAnnotation: Assertion `text != (const unsigned char *) ((void *)0)' failed.
fprintf(file,"CallerName %s, member_list->callername);
Can you help me?
Thank you in advance