Accessing functions in DLL file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Accessing functions in DLL file

siddharth-2

 
Hi,
  I am currently working on rendering Indic Fonts in SQUEAK...I am using the Pango library for it..I have the required DLL files but all the functions in the libraries have an underscore character in it,which SQUEAK doesn't recognize it. So how do i call such a function(function name having an underscore character) in SQUEAK.





Reply | Threaded
Open this post in threaded view
|

Re: Accessing functions in DLL file

David T. Lewis
On Thu, May 25, 2006 at 06:49:44AM -0000, Noname Myname wrote:
>  
> Hi,
>    I am currently working on rendering Indic Fonts in SQUEAK...I am using the Pango library for it..I have the required DLL files but all the functions in the libraries have an underscore character in it,which SQUEAK doesn't recognize it. So how do i call such a function(function name having an underscore character) in SQUEAK.
>

You can use the underscore character in the function name. The underscore
(Character value: 95) is displayed as a left arrow on your Squeak display,
but is still the same thing as an underscore character.

I am not an FFI expert, but I think that this should work without problems.

Dave