I want to create one email notification application for outlook express 6.
i used "MAPIFindNext()" function to get whether unread messages are present inbox.
this function returns first unread messages id.
but i need to find number of unread messages. Is there any function to find that?
Yes this function gives notification based on messagetype.
i already tried this...
But consider inbox have three 'x' type messages, call the MAPIFindNext function three time with x messagetype.
it repeats the same message id and not give other message id.
Reason is it's another functionality is, it will give first unread messageid of messagetype 'x'.
am i correct?
Can you give give me a good tutorial about device driver programming,maybe codeproject has articles about make it or using google we can find a lot info about it but I want to start of first,what is device driver and then start to writing code in MFC?
im using UrlDownloadtofile() to download some files ...but the issue is if the file is present im able to download file(With return value S_OK) ...but if the server is not accessible ie (some issue with IIS or any other..) or if the file is not present im not getting the exact return value from UrlDownloadtofile to specify to user whether it is server issue or File not present...in MSDN it was given that if the return value is INET_E_DOWNLOAD_FAILURE then file is not present in the server but...im getting some junk value like -2146697210...when the file is not present in the server or server is not accessible....
So please let me know how can i notify user what is the exact problem....
"The GetActiveWindow function retrieves the window handle to the active window attached to the calling thread's message queue." . So i am getting NULL when my application's window is not the current window.