[Gambas-user] call shared library written in C++

Adrian Martínez Vargas amvargas at ...1922...
Fri Jun 6 16:31:37 CEST 2008


Hello mail list

 

If I have a shared library written in C++ that look like this:

 

// suma.cc:

       extern "C" 

           {

               float suma (float a, float b) 

                 {

        return a+b;

                 }

            } // extern "C"

 

haw to call the function suma(a,b) from gambas?



my best

Adrian






More information about the User mailing list