Yup, I think that should be possible.
Check your error code, maybe that will give an idea where the problem is.
Tu Duong Manh wrote:
Hi,
first at all, excuse me for my bad english.
Is it possible to take an constant string as an imagepath in CreateImageProvider?!
I've tried it in many several ways, but nothing seems to work.
char *pfad=namelist[0]->d_name;
char *bild1;
bild1=pfad; /* Now bild1 is for example /export/scratch/opt/test/src/tux.png */
DFBCHECK (dfb->CreateImageProvider (dfb, bild1 , &provider));
I hope you guys can help me.
Greetings :)
__________________________________________________________________________
Verschicken Sie SMS direkt vom Postfach aus - in alle deutschen und viele
ausländische Netze zum gleichen Preis!
https://produkte.web.de/webde_sms/sms
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
--
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users