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;
IDirectFBWindow *window;
DFBWindowID id;
DFBCHECK<http://mail.google.com/searcher/package/DirectFB-extra/0.9.22/MacroNames/DFBCHECK>(
layer->CreateWindow<http://mail.google.com/searcher/FunctionOrMacroNames/CreateWindow>(
layer, &dsc, &window ) );
window->*GetID*<http://mail.google.com/searcher/FunctionOrMacroNames/GetID>(
window, &id );
}
But i am getting the following errors in lines having the following code:
dsc.flags = DWDESC_POSX | DWDESC_POSY | DWDESC_WIDTH | DWDESC_HEIGHT;
dsc.posx = 0;
dsc.posy = 0;
dsc.width = 300;
dsc.height = 400;
*error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token.*
*This error is coming for each of the abopve lines of code.*
**
*Not being able to find out the real reason.*
**
*Thanks and Regards,*
*Mayank*
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev