mfc 中怎么调用 com dll

mfc 中如何调用 com dll?
教程在这里:
http://www.360doc.com/content/07/0713/17/36626_609174.shtml
帖子后面有一个图,在VBS中通过 CreateObject 来调用。

在mfc中,怎么调用呢?
谢谢。

------解决思路----------------------
CoCreateInstance,QueryInterface等API来调用接口