I have created a COM DLL Server Project and accessed it by creating a clinet having CoCreateInstance().
Then i have modified the COM server project by adding one more interface.
In order to obtain the object for the second interface, i have called the QueryInterface function.
But QueryInterface always returns "E_NOINTERFACE".
What is the mistake i am making, please clarify.
What are the points we need to keep in mind while creating the second interface?