>Yes, this is possible with COM interop. You would expose the .Net class as a COM server and access it via VFP. There are lots of articles about this around.
I also like the approach of calling the VFP app first to get the decrypt key and another call to get the main process, as proposed by Bonnie.
Thanks for suggesting this approach as well.