[Gambas-user] Isn't "Allegro" cheerful with Gambas ?

Ru Vuott vuott at ...325...
Wed Apr 30 21:41:53 CEST 2014


Hello,

...following "Allegro4" API guide, I wrote an little application in C language (here attached) to play an audio file WAV.
***The application works regularly.***

I tried to transpose that C code in "Gambas code" (here attached), but... it does not work. I don't understand why.

What confuses me most is: if I compile that C code like a "shared library" .so, and then I use it by calling with Gambas, very strangely the "shared library" doesn't work.


To sum up:
- using via Terminal or via Gambas with "Shell" function the C compiled code, it works.
- compiling that C code like a "shared library" .so and then calling it via Gambas with "Shell" function, it doesn't work;
- using external "Allegro4" functions via pure Gambas code, it doesn't work;

Maybe... has anyone an idea why... ?   :-X

regards
vuott
(European Union - Italia)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allegroWAV.c
Type: text/x-csrc
Size: 1243 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20140430/85244080/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allegroWAV_Gambas-0.0.1.tar.gz
Type: application/gzip
Size: 5367 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20140430/85244080/attachment.gz>


More information about the User mailing list