Ville Syrjälä wrote:
>
> On Wed, Feb 14, 2007 at 06:25:49AM -0800, Daniel Laird wrote:
>>
>>
>>
>> Ville Syrjälä wrote:
>> >
>> > On Wed, Feb 14, 2007 at 05:17:37AM -0800, Daniel Laird wrote:
>> >>
>> >> I have wriiten an applications that calls
>> >> DirectFBCreate()
>> >> It then releases the top level interface.
>> >>
>> >> It then repeats (so calls DirectFBCreate again.
>> >>
>> >> This fails. The master application never exits (it just reinitialises
>> >> DFB
>> >> as required).
>> >> The problem it shows is that it will not load a gfxdriver that I have
>> >> written.
>> >
>> > Call DirectFBInit() before DirectFBCreate().
>> >
>> Sorry, poorly written email. I do actually call DirectFBInit() first and
>> then DirectFBCreate() as usual.
>>
>> I then release top level interface and then call DirectFBInit again,
>> followed by Create().
>>
>> This is all done without exiting the application.
>
> Hmm, it should work, or at least it used to work at some point.
>
> --
> Ville Syrjälä
> [EMAIL PROTECTED]
> http://www.sci.fi/~syrjala/
>
> _______________________________________________
> directfb-dev mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
>
>
After more investigation I can make this work if I do the following
DirectFBInit
DirectFBSetOptions
DirectFBCreate
Release
DirectFBCreate
Release
...
It seems it is the multiple calls to DirectFBInit from a non exiting
application that is the problem
Cheers
Dan
--
View this message in context:
http://www.nabble.com/Re-Initialising-DirectFB--%3E-FAILING-tf3227203.html#a8967527
Sent from the DirectFB Dev mailing list archive at Nabble.com.
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev