Sorry, I should have said I was using SIMPLE MAPI to produce emails in
my application.

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Robert Jennings
Posted At: 27 November 2007 14:25
Posted To: Profox Archive
Conversation: Red REG_Binary value from registry
Subject: Red REG_Binary value from registry


Hi guy's,
 
My Mapi client doesn't seem to work in windows vista (funny how
everything doesn't work in bloody vista these days!)
 
Anyway, I thought I'd re-write with CDO which is fine if you know all
the settings SMTP Server etc
 
What I would like to do is read the registry to get the information out
of the registry as most of the time clients will have set up their mapi
applications (outlook mostly)
 
In Hkey_Current_User\Software\Microsoft\Windows
NT\CurrentVersion\Windows Messaging Subsystem\Profiles    
 
Value "DefaultProfile" contains the name of the default profile :o)
 
I can then enum the correct key to pull out all the values. using that
will return *Binary* 
 
The only problem is that most of the useful stuff i.e. "SMTP Server" is
stored as Reg_Binary
 
How do I read a Reg_Binary value out of the registry as the registry
class doesn't work when I use getregkey or getkeyvalue methods of the
class. (They will pull out a reg_sz no problem.
 
Help!
 
Robert
 

------------------------------------------------------------------------
--------------------------------------
This email was sent to [EMAIL PROTECTED]

Unless otherwise agreed expressly in writing by Marine Software Limited,
this communication and attachments are to be treated as confidential and
the information in it may not be used or disclosed except for the
purpose for which it was sent.

If you are not the intended recipient of this  communication  you should
notify the sender immediately  [EMAIL PROTECTED] , then destroy
it without copying, disclosing or otherwise using its contents.

Marine Software Limited. Registered in England & Wales. No 2576494
Registered Office. Unit3, Aylesham Business Pk, Aylesham. Kent. UK
------------------------------------------------------------------------
------------------------------------------



--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to