When exporting the CFontDialog class it indicates it has no dependencies.
After inserting CFontDialog in your project, you may receive a compile error "User-defined type not defined".
This is caused by CFontDialog having a dependency on StdFont that's part of OLE Automation (stdole2.tlb). It's a Microsoft file that should already be installed.
The dependency can be found in stdole2.tlb, which is found in C:\Windows\SysWOW64. Check the box next to OLE Automation: