here you go

https://gforge.inria.fr/scm/viewvc.php/*checkout*/PharoByExampleTwo-Eng/Alien/alien.pdf?root=pharobooks

I am not expert on these things and the chapter I linked is for C and not C++ but until some expert replies you may have success in trying this

From: Shanu Kalra <shanukalra25@gmail.com>
To: Pharo-users@lists.gforge.inria.fr
Sent: Friday, 23 November 2012, 7:16
Subject: [Pharo-users] Connecting to a C++ dll

Hi,

I am new to smalltalk and I have just started using Pharo. I am trying to read a C++ function from a dll and then display output in pharo. I tried using FFI , but I am unable to implement it in this scenario. Can anyone please help me with this?

Regards
Shanu