What for you commented the line layer->SetCooperativeLevel() ?

You must do calls in followed sequence (pseudo code)
1 window = dfb->CreateWindow().
2 window_surface = window->GetSurface()
3 provider->RenderTo(window_surface)

Otherwise you should return to source of df_window.c and remove
needless things step by step.

2009/4/2 Tu Duong Manh <tu...@web.de>:

> Hello,
>
> i just try to unterstand how to create an window. I started with comparing 
> different examples, which included windows.
> After that i started to write this code. When i try to start the application, 
> it always shows me an "Caught signal 11"-error, so i
> tried to debug. Then i found out, that the 
> printf("=================================================");  still works,
> but at DFBCHECK(window->GetSurface( window, &window_surface) );


-- 
Best Regards
Nikita Egorov
nik...@gmail.com
nik...@varma-el.com
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to