Martin,
>Easier solution? Using any FLL library example:
http://www.vfp2c.com/Another vote for this solution and a comment for others following this thread.
Christian Ehlscheid's free vfp232.fll is a stunningly powerful addition to any VFP developer's library.
Highly recommended!!!
Malcolm