I am a newbie to this dll invokation.  I have a dll called abc.dll and this has three methods in it (a,b,c) when i need to write an console app to invoke the dll, what methods should i follow. In the header file  #import "abc.dll" int main() {    CoInitialize(NULL);   p = CreateInstance();   p->a();   p->b();   p->c(); Release(); CoUninitialize(); } If could get a code sample that would be really great and point me to the reference as to which files i should be looking at to get the instantiation of the com object.  Thanks, Rajesh.