You are here: Re: [PHP] shared library in php « PHP « IT news, forums, messages
Re: [PHP] shared library in php

Posted by Βngelo A . Camargo on 04/12/05 01:34

> There might even be a docmented API listing all functions and their
> arguments. Use that too.

There is.

> You *PROBABLY* have some kind of exsiting interface to this .so file in
> the first place, or it wouldn't be useful. If you have the .h file, use
> that. If you have some kind of Perl or C interface, use that.

No, i have to make one.


> If you have NONE of those, you probably are trying to violate some kind of
> license. Don't do that. :-v

Not realy, i have to pay for the .so and the sdk, 400,00 bucks, not sheep.

I guess php will be no good them, i think i will go with java for interface
with so and desktop, php will be web. If i remember php is good to go with
java. Just to make sure the .so reads some biometric sensor for digitals.

Tks for time.

Angelo


----- Original Message -----
From: "Richard Lynch" <ceo@l-i-e.com>
To: "Angelo Ayres Camargo" <cron@odi.com.br>
Cc: <php-general@lists.php.net>
Sent: Monday, April 11, 2005 6:29 PM
Subject: Re: [PHP] shared library in php


> On Mon, April 11, 2005 9:21 am, Angelo Ayres Camargo said:
>> I have a shared library and i would like very much to use it in php. Do i
>> have to do anything or i can just dl it and use?
>
> I'm pretty sure you need the wrapper functions.
>
> If you didn't then all the other libraries wouldn't have them. And they
> all have them.
>
> So you must need them.
>
> You may be able to get the names of the functions that are in that .so
> file using:
>
> strings whatever.so | less
>
> There will be a bunch of junk at the start and the end, but the function
> names will be there, in a block, eventually.
>
> Then you'll need some kinda documentation on what those functions do and
> what arguments they take.
>
> You *PROBABLY* have some kind of exsiting interface to this .so file in
> the first place, or it wouldn't be useful. If you have the .h file, use
> that. If you have some kind of Perl or C interface, use that.
>
> There might even be a docmented API listing all functions and their
> arguments. Use that too.
>
> If you have NONE of those, you probably are trying to violate some kind of
> license. Don't do that. :-v
>
> --
> Like Music?
> http://l-i-e.com/artists.htm
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация