Compiling as stand alone dll

Phil Hannent phil at hannent.co.uk
Mon May 14 09:19:42 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

M Khalid wrote:
> ok. Can I compile it as dll on linux or windows and use it with other
> interfaces like web using php.
I do not think so, not without creating some sort of interface (probably written
in C) between PHP and the DLL in question.  A PHP page is not usually around
long enough to log on to a server send a message and receive a reply.

Maybe if you explained to the mailing list what it is you are trying to achieve,
someone might have already have an example?

Regards
Phil Hannent

> On 5/14/07, Phil Hannent <phil at hannent.co.uk> wrote:
>>
> M Khalid wrote:
>> I am developing on .NET.  I want to build the soource as dll on window
>> and linux so, i can use it as COM component in other application. I
> don't
>> need user interface just need to use the services. Please help me in
> this
>> regard as I am not much in c++ development.
> You are going to have real issues there since the libpurple is not a COM
> object.
> It does not implement the required interfaces.
> 
> Your best bet is to look at the mono plugin which is being developed as
> part of
> a Summer of Code project.  Since mono and .net are meant to be compatible
> you
> might get something running via that.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)

iD8DBQFGSGHuIdVDbqU9AOQRCidqAKDPM2meKZ+XBLvbPQmzWckK4fFrqwCbBt7A
D0cv79JwgOY61U8kVDoUJ2Q=
=5JPd
-----END PGP SIGNATURE-----



More information about the Devel mailing list