Click here to Skip to main content
15,901,705 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Need simple way to Launch a web based Php program from Windows MFC app Pin
Sarath C19-Jun-09 19:33
Sarath C19-Jun-09 19:33 
QuestionSOLVED - MFC CFormView SB_TOP bug? [modified] Pin
Vaclav_19-Jun-09 13:48
Vaclav_19-Jun-09 13:48 
AnswerRe: MFC CFormView SB_TOP bug? Pin
Ozer Karaagac19-Jun-09 15:04
professionalOzer Karaagac19-Jun-09 15:04 
GeneralRe: MFC CFormView SB_TOP bug? Pin
Vaclav_19-Jun-09 15:48
Vaclav_19-Jun-09 15:48 
QuestionLooking for an HTML Rendering engine (with JAVASCRIPT support) to integrate in an MFC application. Must be able to call the javascript from C++ and visversa Pin
Ahmed Charfeddine19-Jun-09 13:40
Ahmed Charfeddine19-Jun-09 13:40 
AnswerRe: Looking for an HTML Rendering engine (with JAVASCRIPT support) to integrate in an MFC application. Must be able to call the javascript from C++ and visversa Pin
Sarath C19-Jun-09 19:44
Sarath C19-Jun-09 19:44 
GeneralRe: Looking for an HTML Rendering engine (with JAVASCRIPT support) to integrate in an MFC application. Must be able to call the javascript from C++ and visversa Pin
Ahmed Charfeddine20-Jun-09 0:11
Ahmed Charfeddine20-Jun-09 0:11 
QuestionUsing MAPI to confirm valid email address format (without sending an email or accessing their Address Book)? Pin
AmVal19-Jun-09 11:05
AmVal19-Jun-09 11:05 
Our software has some fields where users enter email addresses. We don't actually send any email. A later process picks up those email addresses and sends out notices.

Bad email addresses with things such as spaces, quotes, or double '@' signs can cause serious problems for the system sending out the notices, so we are already validating for some of those things.

But we want to tighten up our validation of the email addresses as much as possible when they are entered. We're not going to go as far as trying to determine if they are valid addresses, but at least want to confirm that they are of valid 'format'.

We're not certain what all of the rules are, but someone here had the idea of tapping into Outlook. I was playing around with calling CMapiSession::Resolve() on the email addresses, and it appears that an address gets 'resolved' if it's of valid format, even if it's not in your Address Book, so exactly what we need. (Of course it will also resolve a name or id that's found in your address book, so need to either make sure there's also an '@' symbol, or replace the name with the email address for them).

But, here's the thing that I find slightly annoying. That little dialog that pops up asking the user to "allow access" to their Outlook. I would love to avoid that, and again, since we aren't actually sending an email, and don't even really need to access their Address Book, it seems like we should be able to avoid asking for access. We are only trying to make use of Outlook's validation of address format, not the part that actually tries to resolve whether it's in their address book.

Does anyone know if it's possible to separate out that functionality? Or find and swipe that chunk of code??? We'd like to make sure our format validation is consistent with Outlook's validation.

Other suggestions also welcome...

Thank you.
AnswerRe: Using MAPI to confirm valid email address format (without sending an email or accessing their Address Book)? Pin
Stuart Dootson19-Jun-09 12:40
professionalStuart Dootson19-Jun-09 12:40 
GeneralRe: Using MAPI to confirm valid email address format (without sending an email or accessing their Address Book)? Pin
kilt20-Jun-09 10:16
kilt20-Jun-09 10:16 
GeneralRe: Using MAPI to confirm valid email address format (without sending an email or accessing their Address Book)? [modified] Pin
Stuart Dootson20-Jun-09 13:52
professionalStuart Dootson20-Jun-09 13:52 
Questionsprintf and strcpy - Compiler warning Pin
dipuks19-Jun-09 7:27
dipuks19-Jun-09 7:27 
QuestionRe: sprintf and strcpy - Compiler warning Pin
David Crow19-Jun-09 7:47
David Crow19-Jun-09 7:47 
AnswerRe: sprintf and strcpy - Compiler warning Pin
Luc Pattyn19-Jun-09 7:51
sitebuilderLuc Pattyn19-Jun-09 7:51 
GeneralRe: sprintf and strcpy - Compiler warning Pin
CPallini19-Jun-09 10:05
mveCPallini19-Jun-09 10:05 
GeneralRe: sprintf and strcpy - Compiler warning Pin
p_196020-Jun-09 2:30
p_196020-Jun-09 2:30 
AnswerRe: sprintf and strcpy - Compiler warning Pin
Ozer Karaagac19-Jun-09 12:29
professionalOzer Karaagac19-Jun-09 12:29 
AnswerRe: sprintf and strcpy - Compiler warning Pin
Rajesh R Subramanian19-Jun-09 22:49
professionalRajesh R Subramanian19-Jun-09 22:49 
GeneralRe: sprintf and strcpy - Compiler warning Pin
dipuks20-Jun-09 7:52
dipuks20-Jun-09 7:52 
GeneralRe: sprintf and strcpy - Compiler warning Pin
Rajesh R Subramanian20-Jun-09 21:26
professionalRajesh R Subramanian20-Jun-09 21:26 
QuestionHEAP[myapp.exe]: Invalid allocation size - CDCDCDD0 (exceeded 7ffdefff) Pin
transoft19-Jun-09 6:32
transoft19-Jun-09 6:32 
QuestionRe: HEAP[myapp.exe]: Invalid allocation size - CDCDCDD0 (exceeded 7ffdefff) Pin
CPallini19-Jun-09 7:39
mveCPallini19-Jun-09 7:39 
AnswerRe: HEAP[myapp.exe]: Invalid allocation size - CDCDCDD0 (exceeded 7ffdefff) Pin
transoft19-Jun-09 7:49
transoft19-Jun-09 7:49 
GeneralRe: HEAP[myapp.exe]: Invalid allocation size - CDCDCDD0 (exceeded 7ffdefff) Pin
CPallini19-Jun-09 10:04
mveCPallini19-Jun-09 10:04 
GeneralRe: HEAP[myapp.exe]: Invalid allocation size - CDCDCDD0 (exceeded 7ffdefff) Pin
transoft19-Jun-09 11:30
transoft19-Jun-09 11:30 

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.