Click here to Skip to main content
15,900,461 members
Home / Discussions / COM
   

COM

 
GeneralRe: add-in for outlook express Pin
Naidu18-Mar-03 15:37
Naidu18-Mar-03 15:37 
GeneralRe: add-in for outlook express Pin
Amit Dey19-Mar-03 5:40
Amit Dey19-Mar-03 5:40 
GeneralRe: add-in for outlook express Pin
Stephane Rodriguez.15-Mar-03 7:25
Stephane Rodriguez.15-Mar-03 7:25 
GeneralRe: add-in for outlook express Pin
Amit Dey15-Mar-03 11:28
Amit Dey15-Mar-03 11:28 
GeneralRe: add-in for outlook express Pin
Stephane Rodriguez.16-Mar-03 3:10
Stephane Rodriguez.16-Mar-03 3:10 
GeneralRe: add-in for outlook express Pin
Amit Dey16-Mar-03 8:54
Amit Dey16-Mar-03 8:54 
GeneralRe: add-in for outlook express Pin
Stephane Rodriguez.16-Mar-03 9:29
Stephane Rodriguez.16-Mar-03 9:29 
GeneralRe: add-in for outlook express Pin
Amit Dey16-Mar-03 10:31
Amit Dey16-Mar-03 10:31 
Outlook Express consists of msimn.exe(the client),msoert2.dll(run time string anf other util stuff),msoeacct.dll(accounts),msoe.dll(the main OE com server), msoeres.dll,msacctres.dll(account dialog resources) etc.

Most of Outlook Express's folders and mail access is thru CLSID_StoreNamespace.
{E70C92A9-4BFD-11d1-8A95-00C04FB951F3}

IID_IStoreFolder - {E70C92AC-4BFD-11d1-8A95-00C04FB951F3}
IID_IStoreNamespace - {E70C92AA-4BFD-11d1-8A95-00C04FB951F3}

Outlook Express client(msimn.exe)uses these system interfaces(Outlook Express is a system component in a certain sense) and folder/mail and notifications are available just as for MS Outlook.
Not surprisingly,MS Outlook also uses some of these interfaces! (esp account,transport etc).
other common system interfaces include message transport, MIME message creation/encoding/decoding, account related interfaces . inetcomm.dll among other things,contains the encapsulation for mail transport(HTTP/SMTP/IMAP) for MIME messages and other TNEF specific stuff)mlang is for multi lingual features as documented.

The interfaces I'm talking about are very old(97) and a lot of other changes and newer implementations are inlcuded in later versions(5.5x+)like msn integration. probably these newer interfaces are never going to be documented as well.

This is how I can launch the client thru undocumented means.

#define MSOEAPI_START_SHOWSPLASH 0x00000001
#define MSOEAPI_START_MESSAGEPUMP 0x00000002
#define MSOEAPI_START_ALLOWCOMPACTION 0x00000004
#define MSOEAPI_START_INSTANCEMUTEX 0x00000008
#define MSOEAPI_START_SHOWERRORS 0x00000010
#define MSOEAPI_START_APPWINDOW 0x00000020

typedef HRESULT (APIENTRY *PFNSTART)(DWORD dwFlags, LPCSTR pszCmdLine, INT nCmdShow);

HINSTANCE hMod = LoadLibrary("C:\\Program Files\\Outlook Express\\msoe.dll");
if(hMod)
{
PFNSTART pfn = (PFNSTART)GetProcAddress(hMod,"CoStartOutlookExpress");

//combination of other flags -
//MSOEAPI_START_MESSAGEPUMP|MSOEAPI_START_SHOWERRORS|MSOEAPI_START_APPWINDOW|MSOEAPI_START_SHOWSPLASH
DWORD dwFlags = MSOEAPI_START_INSTANCEMUTEX;
//set nShow to SW_XXX
int nShow = SW_SHOW;

LPTSTR szCmdLine = {"/2"};
HRESULT hr = pfn (dwFlags,szCmdLine,nShow);
if(FAILED(hr))
return FALSE;

}

Is it off topic? Blush | :O Actually, I'd like you to check out my little SDK here.. I know you are a COM programmer and am looking for beta testers/programmers for more ideas etc. Thanks in advance.




Hush,hush...
thought I heard you call my name now.

Kula Shaker.

Amit Dey

Latest articles at CP -
PocketPC New menu
Office addin


GeneralRe: add-in for outlook express Pin
Stephane Rodriguez.16-Mar-03 11:09
Stephane Rodriguez.16-Mar-03 11:09 
GeneralRe: add-in for outlook express Pin
Amit Dey16-Mar-03 13:49
Amit Dey16-Mar-03 13:49 
GeneralRe: add-in for outlook express Pin
Stephane Rodriguez.16-Mar-03 19:49
Stephane Rodriguez.16-Mar-03 19:49 
GeneralRe: add-in for outlook express Pin
Amit Dey16-Mar-03 14:11
Amit Dey16-Mar-03 14:11 
GeneralRe: add-in for outlook express Pin
Naidu16-Mar-03 19:21
Naidu16-Mar-03 19:21 
GeneralRe: add-in for outlook express Pin
Stephane Rodriguez.16-Mar-03 19:54
Stephane Rodriguez.16-Mar-03 19:54 
GeneralRe: add-in for outlook express Pin
Amit Dey17-Mar-03 4:30
Amit Dey17-Mar-03 4:30 
GeneralRe: add-in for outlook express Pin
Stephane Rodriguez.17-Mar-03 5:21
Stephane Rodriguez.17-Mar-03 5:21 
GeneralRe: add-in for outlook express Pin
Amit Dey19-Mar-03 5:45
Amit Dey19-Mar-03 5:45 
GeneralRe: add-in for outlook express Pin
Anonymous22-Mar-03 8:33
Anonymous22-Mar-03 8:33 
QuestionHow to get Out-of-Process COM+ Application's ProcessID Pin
Gimpy10-Mar-03 9:33
Gimpy10-Mar-03 9:33 
AnswerRe: How to get Out-of-Process COM+ Application's ProcessID Pin
Gimpy10-Mar-03 10:45
Gimpy10-Mar-03 10:45 
GeneralRe: How to get Out-of-Process COM+ Application's ProcessID Pin
AlexO10-Mar-03 11:49
AlexO10-Mar-03 11:49 
GeneralRe: How to get Out-of-Process COM+ Application's ProcessID Pin
Anonymous10-Mar-03 14:53
Anonymous10-Mar-03 14:53 
GeneralDebugging COM+ DLL Pin
vlvl8-Mar-03 19:37
vlvl8-Mar-03 19:37 
GeneralRe: Debugging COM+ DLL Pin
Jason Bafas12-Mar-03 4:52
sussJason Bafas12-Mar-03 4:52 
GeneralRe: Debugging COM+ DLL Pin
vlvl12-Mar-03 21:31
vlvl12-Mar-03 21:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.