Hi,
I am trying to create a CMap object with the following syntax:

SmrtPtr is an COM interface pointer which I have.

CMap<double,double,CComQIPtr<SmrtPtr, &IID_SmrtPtr>, CComQIPtr<SmrtPtr, &IID_SmrtPtr>> mapname;

The compiler throws me a syntax error. Please let me know what is wrong with my use of CMap.

Thanks,
Sagar