IntelliCAD COM automation from C++

Hello,How can I automate (open a dwg, create a line, etc.) IntelliCAD from VC++ 6.0?On VB I can do this without any problem but on VC++ I can't get the interface correctly.Could anyone provide me a sample?Regards,Fernando.