Oh, Sorry,
My question is not clear.
what I means is that when I want to create DLL by using evc++ for C#;
What should I pay attention to?
Because currently:I create a DLL file(For email parse) by using evc4.0++,
It works pretty good for evc++ project. but It does not work on C# Project;
Only one method everytime when I want to set Flag to a Message;
I get an exception:and I do not know why?
I create the DLL is that:
one C# project call a method in DLL file, and dll method call internal method.
the internal method pop up me a Exception:
HRESULT hr = m_pMessage->SetProps(1,prop,NULL);
the SetProps exception:
Exception is:
exceptionCode: 0xc0000005
exceptionAddress:0x123456dfe
reading:0x27e6a068