|
-
September 17th, 2009, 09:35 AM
#1
Please Help: Using a Smart Pointer in a CMap
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|