From the VFP 9 EULA:
4. SCOPE OF LICENSE. The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. The software is engineered to allow you to use it in certain ways. You must comply with these technical limitations. For more information about them, see the software documentation. You may not:
* work around technical limitations in the software,
* reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation,
It's possible that the law is different in China and would allow this. But Microsoft has been cracking down on software piracy there.
>You can grab something like IDA or IDA Pro and decompile anything. Of course, your just going to get assembly language back (not the original C or C++ code). Their is another product from the IDA Pro people, Hex Rays, which applies some heuristics to create C code, but it's not going to be perfect.
>
>Beyond that, I have no idea what the VFP++ compiler does. He may just be turning the P-Code into commands that make direct calls to the VFP runtime. Or something else. Craig likes to play lawyer, but without knowing the specifics it's impossible judge its legality or whether it violates some licensing agreement. As much as they'd like to make it illegal, reverse engineering is still legal.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer