If it's FoxPro for Windows, then you can use the FoxTools.Fll functions RegFn() and CallFn() to access most API calls that existed in Windows 3.x. For the newer Win32 API functions you need to use Call32() - available at Rick Strahl's site -
http://www.west-wind.com/wwfp2pd.htm. Note: It works for many Win32 functions, but not all of them - I wish you luck, when it "fails" it often crashes FPW (and sometimes the OS!).
Rick
>I'm looking for a way to access Windows API from an old Fox2.6 Application.
>
>
>TIA,
>
>
>Yanick Lavoie