S
StupidDog
i write some code.
like this....
i have got the mailfolder. so.. i write code like...
CItems m_Items;
CMailItem m_NewMail;
VARIANT vt;
VariantInit(&vt);
m_Items = theApp.m_MailFolder.get_Items();
m_NewMail = m_Items.Add(vt); //compiler say here is error
i want get the CMailItem by m_Items.Add(vt) method. but the Add method have
a parameter, the parameter's type is VARIANT .
i don't know how to give the parameter to m_Items.Add method.
PLease help me, thank you!
like this....
i have got the mailfolder. so.. i write code like...
CItems m_Items;
CMailItem m_NewMail;
VARIANT vt;
VariantInit(&vt);
m_Items = theApp.m_MailFolder.get_Items();
m_NewMail = m_Items.Add(vt); //compiler say here is error
i want get the CMailItem by m_Items.Add(vt) method. but the Add method have
a parameter, the parameter's type is VARIANT .
i don't know how to give the parameter to m_Items.Add method.
PLease help me, thank you!