Hi,
I try to use the DumpElements function to dump specific
information from a CMap declared in has a member of a Class. If I define the Dump function
has follow in CPP:
template <> void AFXAPI DumpElements<CString>
(CDumpContext& dc, const CString* pElements, INT_PTR
nCount)
{
. do something
}
I get a linker error (LNK2005) that this function is
already defined in a other obj. The only thing defined in
this obj is a other CMap of CStrig has class member.
Is there any sample available on you to properly use this
function?
Thank you
I try to use the DumpElements function to dump specific
information from a CMap declared in has a member of a Class. If I define the Dump function
has follow in CPP:
template <> void AFXAPI DumpElements<CString>
(CDumpContext& dc, const CString* pElements, INT_PTR
nCount)
{
. do something
}
I get a linker error (LNK2005) that this function is
already defined in a other obj. The only thing defined in
this obj is a other CMap of CStrig has class member.
Is there any sample available on you to properly use this
function?
Thank you