Click here to Skip to main content
16,007,472 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGet SMTP server name Pin
YaronNir5-Jul-06 5:27
YaronNir5-Jul-06 5:27 
QuestionRe: Get SMTP server name Pin
David Crow5-Jul-06 5:34
David Crow5-Jul-06 5:34 
AnswerRe: Get SMTP server name Pin
YaronNir6-Jul-06 1:40
YaronNir6-Jul-06 1:40 
GeneralRe: Get SMTP server name Pin
David Crow6-Jul-06 2:39
David Crow6-Jul-06 2:39 
GeneralRe: Get SMTP server name Pin
YaronNir6-Jul-06 3:06
YaronNir6-Jul-06 3:06 
QuestionRe: Get SMTP server name Pin
David Crow6-Jul-06 4:39
David Crow6-Jul-06 4:39 
AnswerRe: Get SMTP server name Pin
YaronNir6-Jul-06 4:45
YaronNir6-Jul-06 4:45 
GeneralRe: Get SMTP server name Pin
David Crow6-Jul-06 6:40
David Crow6-Jul-06 6:40 
YaronNir wrote:
in a Small research i did, i found out that in order to use DnsQuery you need to specify the name of the owner of the record set queried (first parameter). this isn't good for me.


What are you talking about? This should work fine:

DNS_RECORD *ppQueryResultsSet = NULL;
DNS_STATUS statusDNS = DnsQuery("yaron.net", DNS_TYPE_MX, DNS_QUERY_STANDARD, NULL, &ppQueryResultsSet, NULL);
if (statusDNS == ERROR_SUCCESS)
    cout << ppQueryResultsSet->Data.MX.pNameExchange << endl;



"The largest fire starts but with the smallest spark." - David Crow

"Judge not by the eye but by the heart." - Native American Proverb


QuestionRich Edit control Pin
Manjunath S5-Jul-06 4:55
Manjunath S5-Jul-06 4:55 
AnswerRe: Rich Edit control [modified] Pin
Viorel.5-Jul-06 4:58
Viorel.5-Jul-06 4:58 
QuestionRe: Rich Edit control Pin
Manjunath S5-Jul-06 5:11
Manjunath S5-Jul-06 5:11 
AnswerRe: Rich Edit control Pin
Viorel.5-Jul-06 5:22
Viorel.5-Jul-06 5:22 
QuestionRe: Rich Edit control Pin
David Crow5-Jul-06 5:02
David Crow5-Jul-06 5:02 
AnswerRe: Rich Edit control Pin
earl5-Jul-06 5:09
earl5-Jul-06 5:09 
QuestionControl Event Handler Pin
Daniel Kanev5-Jul-06 4:50
Daniel Kanev5-Jul-06 4:50 
AnswerRe: Control Event Handler Pin
earl5-Jul-06 4:54
earl5-Jul-06 4:54 
GeneralRe: Control Event Handler Pin
Daniel Kanev5-Jul-06 5:12
Daniel Kanev5-Jul-06 5:12 
GeneralRe: Control Event Handler Pin
earl5-Jul-06 5:30
earl5-Jul-06 5:30 
GeneralRe: Control Event Handler Pin
Justin Tay5-Jul-06 5:45
Justin Tay5-Jul-06 5:45 
Questionusing a win32 code in program! Pin
farshad.f5-Jul-06 4:45
farshad.f5-Jul-06 4:45 
AnswerRe: using a win32 code in program! Pin
Zac Howland5-Jul-06 4:51
Zac Howland5-Jul-06 4:51 
AnswerRe: using a win32 code in program! Pin
Sarath C5-Jul-06 4:55
Sarath C5-Jul-06 4:55 
QuestionHow to AddString to child dialog Pin
Max++5-Jul-06 4:26
Max++5-Jul-06 4:26 
AnswerRe: How to AddString to child dialog Pin
Sarath C5-Jul-06 4:46
Sarath C5-Jul-06 4:46 
QuestionThread ..Serial communication..COM DLL Pin
RockyJames5-Jul-06 3:57
RockyJames5-Jul-06 3:57 

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.