Click here to Skip to main content
15,909,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwhy is MSVCP71D.dll being used? Pin
Hariharan.T5-Apr-07 21:49
Hariharan.T5-Apr-07 21:49 
AnswerRe: why is MSVCP71D.dll being used? Pin
toxcct5-Apr-07 22:47
toxcct5-Apr-07 22:47 
GeneralRe: why is MSVCP71D.dll being used? Pin
Hariharan.T5-Apr-07 23:02
Hariharan.T5-Apr-07 23:02 
QuestionRe: why is MSVCP71D.dll being used? Pin
David Crow6-Apr-07 2:58
David Crow6-Apr-07 2:58 
AnswerRe: why is MSVCP71D.dll being used? Pin
Hariharan.T12-Apr-07 23:29
Hariharan.T12-Apr-07 23:29 
QuestionDNS server Pin
saisp5-Apr-07 21:32
saisp5-Apr-07 21:32 
AnswerRe: DNS server Pin
Dmitry Khudorozhkov6-Apr-07 0:45
Dmitry Khudorozhkov6-Apr-07 0:45 
AnswerRe: DNS server Pin
David Crow6-Apr-07 3:21
David Crow6-Apr-07 3:21 
IWbemServices *pService = NULL;
IEnumWbemClassObject *pEnum = NULL;
...
HRESULT hr = pService->CreateInstanceEnum(_bstr_t("Win32_NetworkAdapterConfiguration"),
                                          WBEM_FLAG_RETURN_IMMEDIATELY | WBEM_FLAG_FORWARD_ONLY, 
                                          NULL, &pEnum);
  
if (WBEM_S_NO_ERROR == hr)
{
    IWbemClassObject *pClass = NULL;
    ULONG ulReturned;
 
    hr = pEnum->Next(WBEM_INFINITE, 1, &pClass, &ulReturned);
    if (WBEM_S_NO_ERROR == hr)
    {
        _variant_t v;
        hr = pClass->Get(L"DNSServerSearchOrder", 0, &v, NULL, NULL);
        if (VT_NULL != v.vt)
        {
            LONG lBound;
            BSTR Value;
            SafeArrayGetUBound(V_ARRAY(&v), 1, &lBound);
            while (lBound >= 0)
            {
                SafeArrayGetElement(V_ARRAY(&v), &lBound, &Value);
                TRACE("DNSServerSearchOrder[%u] = %S\n", lBound, Value);
                lBound--;
            }
        }
    }
}



"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

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


AnswerRe: DNS server Pin
ThatsAlok20-Apr-07 22:01
ThatsAlok20-Apr-07 22:01 
Questionregarding WAV to MP3 converter Pin
puneet_cha5-Apr-07 21:28
puneet_cha5-Apr-07 21:28 
AnswerRe: regarding WAV to MP3 converter Pin
Dmitry Khudorozhkov6-Apr-07 0:52
Dmitry Khudorozhkov6-Apr-07 0:52 
QuestionHow Save Windows Live Messenger Chat History Logging Pin
MyNothing5-Apr-07 21:18
MyNothing5-Apr-07 21:18 
QuestionHow Save Windows Live Messenger Chat History Logging?? Pin
MyNothing5-Apr-07 21:14
MyNothing5-Apr-07 21:14 
QuestionPassing parameters to function problem. Pin
viral_umang@hotmail.com5-Apr-07 20:32
viral_umang@hotmail.com5-Apr-07 20:32 
AnswerRe: Passing parameters to function problem. Pin
cp98765-Apr-07 20:48
cp98765-Apr-07 20:48 
AnswerRe: Passing parameters to function problem. Pin
rp_suman5-Apr-07 21:36
rp_suman5-Apr-07 21:36 
AnswerRe: Passing parameters to function problem. [modified] Pin
CPallini5-Apr-07 23:37
mveCPallini5-Apr-07 23:37 
QuestionWinHttp.h and WinHttp.lib Pin
Nikhil Trivedi5-Apr-07 20:32
Nikhil Trivedi5-Apr-07 20:32 
AnswerRe: WinHttp.h and WinHttp.lib Pin
prasad_som5-Apr-07 22:19
prasad_som5-Apr-07 22:19 
GeneralRe: WinHttp.h and WinHttp.lib Pin
Nikhil Trivedi6-Apr-07 0:12
Nikhil Trivedi6-Apr-07 0:12 
AnswerRe: WinHttp.h and WinHttp.lib Pin
prasad_som6-Apr-07 1:56
prasad_som6-Apr-07 1:56 
QuestionRe: WinHttp.h and WinHttp.lib Pin
Nikhil Trivedi6-Apr-07 19:37
Nikhil Trivedi6-Apr-07 19:37 
QuestionC++ headers help.. Pin
Prashanth KP5-Apr-07 19:51
Prashanth KP5-Apr-07 19:51 
AnswerRe: C++ headers help.. Pin
prasad_som5-Apr-07 22:23
prasad_som5-Apr-07 22:23 
Questionscreen capturing Pin
khema5-Apr-07 19:12
khema5-Apr-07 19:12 

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.