Ok, thanks Fernando. I will look at it. Do you know which is the Linux status of it?
Best,
Mariano
ALienFFI has plugins for windows vm also, �it works for it too.
Its not tied to mac, what i meant is that i only tested on mac,
because i dont have acces to a PC.
AlienLoader>>loadLibCInPharo gives you examples for windows, and mac
also.
After loading look at the class AlienExamples.
Also
AlienLoader>>loadWin32InPharo gives you examples with windows specific
libraries, look at AlienExamples after loading.
About documentation you can look here: http://wiki.squeak.org/squeak/6100
Both pdf files there were very helpful for me.
Saludos,
Fernando
On May 23, 2009, at 9:54 PM, St�phane Ducasse wrote:
>
> On May 23, 2009, at 9:52 PM, Mariano Martinez Peck wrote:
>
>> I thought Alien FFI was only working in Mac. I am interesting in
>> migrating SqueakDBX FFI calls to AlienFFI if I can see advantages,
>> but I need AlienFFI works in Linux, Mac and Windows. When this is
>> done and there is a documentation somewhere, I can do some tests.
>
> Try because I do not have a PC here.
> But the code contains PC examples.
>
> Stef
>>
>>
>> Cheers,
>>
>> Mariano
>>
>> On Sat, May 23, 2009 at 8:41 AM, St�phane Ducasse <stephane.ducasse@inria.fr
>>> wrote:
>> just load Alien from the alien squeaksource project
>>
>> On May 23, 2009, at 12:58 PM, Carlos Crosetti wrote:
>>
>>> Fernando, plese can you send the note you mention again? Thanks,
>>> Carlos
>>>
>>> -----Mensaje original-----
>>> De: pharo-project-bounces@lists.gforge.inria.fr
>>> [mailto:pharo-project-bounces@lists.gforge.inria.fr]En nombre de
>>> Fernando olivero
>>> Enviado el: S�bado, 23 de Mayo de 2009 06:56 a.m.
>>> Para: Pharo-project@lists.gforge.inria.fr
>>> Asunto: Re: [Pharo-project] Alien FFI & COM
>>>
>>>
>>> Carlos, plese let me know if you have problems loading the AlienFFI
>>> package.
>>>
>>> Look at the email i sent a couple of days ago, in there i explained
>>> the status and how to load.
>>>
>>> I'm using alien to reify �C libraries and be able to call its
>> behavior
>>> in smalltalk, doing that is fairly easy with AlienFFI and it works
>>> fast.
>>>
>>> Once you get it installed and test the examples i �could help you
>>> more.
>>>
>>> Saludos,
>>> Fernando
>>>
>>> On May 23, 2009, at 11:40 AM, St�phane Ducasse wrote:
>>>
>>>> did you succeed to load well alien.
>>>> Because fernando and me where cleaning it but I did not check what
>>>> fernando published.
>>>> I know that this is much cleaner (we remove newspeak bytecode).
>>>>
>>>> Now we need people to shake it.
>>>>
>>>>
>>>> On May 22, 2009, at 10:55 PM, Carlos Crosetti wrote:
>>>>
>>>>> looking for pointers to a sample Alien FFi code calling a COM
>> based
>>>>> DLL....
>>>>>
>>>>> _______________________________________________
>>>>> Pharo-project mailing list
>>>>> Pharo-project@lists.gforge.inria.fr
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
>> project
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> Pharo-project@lists.gforge.inria.fr
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project@lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>>
>>>
>>> --
>>> Internal Virus Database is out-of-date.
>>> Checked by AVG.
>>> Version: 7.5.524 / Virus Database: 270.12.11/2089 - Release Date:
>>> 30/04/2009
>>> 05:53 p.m.
>>>
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project@lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project@lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project@lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project