>Thanks, Anatoliy, it was that first parameter causing the problem. Changed it to a different method and everything is working just fine.
>
>Sergey: Sorry for the wild goose chase. Thanks for offering help. The code in question is the API for the audio cards sold by AudioScience. I'm using them to record FM radio and want to control it all through my Foxpro app.
No problem. I'm glad you got it to work.
--sb--