You can't make a control panel extension from VFP you need a tool capable of creating a standard DLL with exported ordinals. The reality is that a Control Panel extension is just a DLL (with a different extension) that exposes an ordinal called CPlApplet that looks like this:-
LRESULT CPlApplet(HWND hwnd, UINT msg, LPARAM lp1, LPARAM lp2);