CoderSource.net
Search
problem with MAPI in Unicode
Started by zaidi at 12-27-2005 11:48 PM. Topic has 0 replies.

Print Search « Previous Thread Next Thread »
   12-27-2005, 11:48 PM
zaidi is not online. Last active: 12/28/2005 4:37:11 AM zaidi

Top 25 Posts
Joined on 12-28-2005
Posts 2
problem with MAPI in Unicode
Hi,
   I have taken a sample of MAPI from http://www.codersource.net/mapi_enumerate_email.html. It is working fine for Ansi but when i compiled in Unicode, it creates problem. The statement that creates problem is:

hr = HrMAPIOpenFolderEx(pDefaultMsgStore, '\\', (LPCTSTR)"@PR_IPM_SUBTREE_ENTRYID\\Inbox"/*l_strFullPath*/, &pFolder);

Actually the path given in "LPCTSTR" is not taken valid for Unicode. I dont know why Unicode is not taking this string as valid path as it supports Unicode. Can any one tell me whats problem with it? Is there some other way of sending strings(path) in MAPI Unicode.
 
The same problem occours for other method in which this type of strings are  passed.


Thanks in advance.


   Report 
Codersource.Net » Programming » C++ Programming » problem with MAPI in Unicode

MENU
Home
MFC 
C++
.Net
WIN32
Programming
Forum
My Articles
Welcome to Codersource.Net Login | Register | Faq  

Google
 

NOTES:


Thanks for visiting our CoderSource.net. This site will be improved with more articles. Interested visitors can also submit their articles through the Submit Article link.Your article will also be published after due consideration by the editor. 

© Copyright 2003. All rights on content reserved by CoderSource.net. Contact    About Us