FFI Win32 api calls with LPTSTR args?

Cees de Groot cg at cdegroot.com
Tue Jan 25 22:40:02 UTC 2005


Hi,

I want to use some Win32 API functions to make my app a bit more windoze  
friendly, most notably to place temporary files in the correct location  
(GetTempPath) and to find out where the user's home directory is (haven't  
found that one yet ;)).

My knowledge of FFI is as big as that of Win32, i.e. almost completely  
absent. I haven't seen an example that uses the 'LPTSTR' (char **?)  
argument type, so I'm a bit at a loss as how to do this - could somebody  
help me here?

TIA,

Cees



More information about the Squeak-dev mailing list