MS Exchnage 2007 threading and session creation.

Joined
Jul 22, 2008
Messages
1
Reaction score
0
We were using Exchange 2000 previously. Used AIDs class for object creation and CoCreateInstance() for Exchnage Server instance creation.

Now usinf Exchnage 2007 and we don't want to use AIDs. So can you please help me how can I implement the threading concept without using AIDs.

i want alternative to this class in my C++ code. Exchange Code is in C# using powershell. ( Out process mechanism used)

Snippet :

class CADThreadContext
{
public:
static void Initialize();
static void Uninitialize();
static CADThreadContext* GetCurrent();
static ThreadPoolTask Close(void *pv);
void SetSessionObject( IADs* SessionObject );
IADs* GetSessionObject();
protected:
CADThreadContext();
~CADThreadContext();

unsigned long m_ThreadID;
DWORD m_TaskId;
IADs* m_SessionObject;
time_t m_TimeStamp; // Derived from time ie: Universal
BOOL m_Close;

};
 
Back
Top