|
thanks
"Success is the ability to go from one failure to another with no loss of enthusiasm." - W.Churchill
|
|
|
|
|
hello,
Can somebody please tell how to send email in C++ using smtp. I wan't to make a function of this form.
bool SendMail(string strFrom,string str strTo,string strMsg);
But I don't know what to do??????????
|
|
|
|
|
|
You can also try blat[^].
The two most common elements in the universe are Hydrogen and stupidity. - Harlan Ellison
Awasu 2.1.3 [^]: A free RSS reader with support for Code Project.
|
|
|
|
|
|
My program has an editbox for input an integer from 1 to 100.
I used:
DDV_MinMaxInt(pDX, m_Number, 1, 100);
When i input 101 into this editbox, it show a error message of windown: "Please input the integer from 1 to 100".
If i run my program in Windown Japanese, this error message must by Japanese. But my program show a error message by English when i run it in Windown Japanese.
I don't understand. Please help me this problem.
|
|
|
|
|
Is your editbox common control?
Set dialog's language property to japanese that dialog has the
editbox.
|
|
|
|
|
Thank for your reply:
>Is your editbox common control?
Yes, it's.
>Set dialog's language property to japanese that dialog has the editbox.
I seted dialog's language property to Japanese. But it still show message by English.
Is there any function to set again language?
|
|
|
|
|
if you are static linking MFC, try changing it to use shared MFC DLL
(in project settings)
|
|
|
|
|
I changed it to use shared MFC DLL. But i get some error:
error LNK2001: unresolved external symbol ___argc
error LNK2001: unresolved external symbol ___argv
error LNK2001: unresolved external symbol __mbctype
error LNK2001: unresolved external symbol __mbctype
error LNK2019: unresolved external symbol __mbctype referenced in function "void __stdcall _AfxAbbreviateName(char *,int,int)" (?_AfxAbbreviateName@@YGXPADHH@Z)
fatal error LNK1120: 3 unresolved externals
|
|
|
|
|
I'm sorry, I can't think of what is causing these errors
if this is part of a large project, I suggest you first try what you want to do with a simpler project containing only a single edit box, with range limiting
I suppose you are building on an english OS and then copying the binary to a japanese OS. the problem may be that you are statically linking the library that produces the message, so changing to the shared DLL should make the program use the library installed on the OS (you obviously need to install MFC on the target machine)
hope this helps...
I'm unable to reproduce your problem since I've only got one OS (japanese)
|
|
|
|
|
|
and...
Set >Main< Dialog's language property to janpanese.
else, remake dialog. It may be that bug.
^^;
|
|
|
|
|
use UpdateData() at the last after you programatically check ,if its not in the range provide your on messagebox which takes string from the japanese Resource by this way you can generealize your application.
Hope this solves your problem
Regards
Farpointer
-- modified at 11:29 Saturday 22nd October, 2005
|
|
|
|
|
How to create new thread in VC??
Hung
|
|
|
|
|
If using MFC, AfxCreateThread()
If using just CRT, _beginthreadex()
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
|
How to show Balloon tips!(not tooptip)
We can see this when connected ext storage drives.
Do not VS6.0(with Platform SERVER 2003 feb SDK) support?
-- example --
m_nidIconData.cbSize=sizeof(NOTIFYICONDATA);
m_nidIconData.uFlags = NIF_INFO;
m_nidIconData.uTimeout = uTimeout;
m_nidIconData.dwInfoFlags = dwInfoFlags;
strcpy(m_nidIconData.szInfo, szMsg ? szMsg : _T(""));
strcpy(m_nidIconData.szInfoTitle, szTitle ? szTitle : _T(""));
Shell_NotifyIcon( NIM_MODIFY, &m_nidIconData );
-- error result --
'NIF_INFO' : undeclared identifier
Answer plz~ ^^
|
|
|
|
|
I think it's NIF_MESSAGE instead of NIF_INFO
SkyWalker
|
|
|
|
|
|
ch2ho wrote: -- error result --
'NIF_INFO' : undeclared identifier
Check make sure that VS6 is using the Platform SDK includes.
DEBUGGING : Removing the needles from the haystack.
|
|
|
|
|
I wrote "with Platform SERVER 2003 feb SDK" in prepost.
I had checked.
Anyway, thank you~.
|
|
|
|
|
Hi,
I created an EDITBOX.
I want it limited up to 5 upper case characters.
I set the property upper case to True. So, it works
fine with that but I am not sure how to limit
the user to enter up 5 characters.
Any help would be appreciated!
Thanks,
Kevin
|
|
|
|
|
If using MFC, look at CEdit::SetLimitText() call.
If using plain windows, look at the EM_LIMITTEXT message.
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
-- modified at 21:55 Friday 21st October, 2005
|
|
|
|
|
Hi friends,
I have developed one application and i want to measure the time take by each module. I can get the time difference if it is in second however few module took time less than second. Can you please help me how to get the difference when it is millisecond or less than that. Thank you in advance.
Regards
-- modified at 17:30 Friday 21st October, 2005
|
|
|
|