>>Does anyone know if such a thing is possible and where to find some information about how to accomplish this if it is possible?
I'm no expert, but I'd start by looking at VFP's _execute that can be called from C++ to execute a VFP command.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us."
-- Shakespeare: Coriolanus, Act 1, scene 1