Mayank Agarwal wrote: > > > Hi, > > i am actually creating a sample application by writing the > following code. > > void main() > > { > > DFBWindowDescription dsc; > > IDirectFBDisplayLayer *layer > > dsc.flags = DWDESC_POSX | DWDESC_POSY | DWDESC_WIDTH | DWDESC_HEIGHT; > > dsc.posx = 0; > > dsc.posy = 0; > > dsc.width = 300; > > dsc.height = 400;
You should try using desc instead of dsc. Maybe dsc is some weird macro in some included header. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev