Hi all,

I  am writing a sample code using  DirectFB API   GetId  in the following
way and i am getting the following errors.

DFBWindowDescription desc;

 desc.posx   = 0;
 desc.posy   = 0;
 desc.width  = width;
 desc.height = height;



uts_directfb_window_get_id.c:62: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '.' token

uts_directfb_window_get_id.c:63: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '.' token

uts_directfb_window_get_id.c:64: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '.' token

uts_directfb_window_get_id.c:65: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '.' token

uts_directfb_window_get_id.c: In function
'utc_directfb_window_get_id_func_01':

uts_directfb_window_get_id.c:126: warning: passing argument 2 of
'dfbwindow->GetID' from incompatible pointer type

make: *** [uts_directfb_window_get_id] Error 1



On 6/12/08, Mayank Agarwal <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi,
>
> Can anyone tell me how we can use this API.
>
> I could not get much help about this API from the documentaion.
>
>
> Regards,
> MAYANK
>
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to