Hi Adrian! Use this way.
Extern suma(a as float, b as float) As float In "your_library_name" ? suma(10,15) > 25 Reguards, Souza, Wellington > Message: 1 > Date: Fri, 6 Jun 2008 10:31:37 -0400 > From: Adrian Mart?nez Vargas <[EMAIL PROTECTED]> > Subject: [Gambas-user] call shared library written in C++ > To: <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > reply-type=original > > 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 ___________________________________________________________________________________ Para fazer uma ligação DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por você. Aproveite! ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
