Click here to Skip to main content
15,921,577 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: File Monitor Source Code Pin
Stephane Rodriguez.1-Nov-02 10:22
Stephane Rodriguez.1-Nov-02 10:22 
GeneralRe: File Monitor Source Code Pin
Jay21-Nov-02 10:44
Jay21-Nov-02 10:44 
GeneralRe: File Monitor Source Code Pin
Stephane Rodriguez.1-Nov-02 19:56
Stephane Rodriguez.1-Nov-02 19:56 
GeneralRe: File Monitor Source Code Pin
Jay21-Nov-02 11:54
Jay21-Nov-02 11:54 
GeneralEditing list view subitems Pin
Edilson Vasconcelos de Melo Junior1-Nov-02 8:45
Edilson Vasconcelos de Melo Junior1-Nov-02 8:45 
GeneralWinSock Pin
Steven M Hunt1-Nov-02 8:38
Steven M Hunt1-Nov-02 8:38 
GeneralRe: WinSock Pin
David Viggiano1-Nov-02 9:12
David Viggiano1-Nov-02 9:12 
QuestionWhat is wrong with this way of initializing vfw drivers? Pin
Redeemer-dk1-Nov-02 7:59
Redeemer-dk1-Nov-02 7:59 
ICINFO icinfo;
HIC hic;

icinfo.dwSize = sizeof(icinfo);
icinfo.fccType = ICTYPE_VIDEO;
char szNoWideChar[128];

for (int i = 0; ICInfo(ICTYPE_VIDEO, i, &icinfo); i++)
{
    hic = ICOpen(icinfo.fccType, icinfo.fccHandler, ICMODE_QUERY);
    if (hic)
    {
        ICGetInfo(hic, &icinfo, sizeof(icinfo));

        WideCharToMultiByte(CP_ACP, 0, icinfo.szDescription, -1, szNoWideChar, sizeof szNoWideChar, NULL, NULL);
        SendMessage(GetDlgItem(ghWnd, IDC_COMPRESSORS), LB_ADDSTRING, -1, (LPARAM)szNoWideChar);
    }
}


This causes a user breakpoint the first time i reach the for (int i =... statement. Why?

All input appreceated!

-Rune Svendsen
AnswerRe: What is wrong with this way of initializing vfw drivers? Pin
Stephane Rodriguez.1-Nov-02 10:26
Stephane Rodriguez.1-Nov-02 10:26 
GeneralRe: What is wrong with this way of initializing vfw drivers? Pin
Redeemer-dk1-Nov-02 11:07
Redeemer-dk1-Nov-02 11:07 
GeneralSending Email Pin
Shamoon1-Nov-02 7:34
Shamoon1-Nov-02 7:34 
GeneralRe: Sending Email Pin
ian mariano1-Nov-02 8:05
ian mariano1-Nov-02 8:05 
GeneralRe: Sending Email Pin
Paul Oss1-Nov-02 10:55
Paul Oss1-Nov-02 10:55 
GeneralRe: Sending Email Pin
Ravi Bhavnani1-Nov-02 11:08
professionalRavi Bhavnani1-Nov-02 11:08 
GeneralRe: Sending Email Pin
Paul Oss1-Nov-02 11:12
Paul Oss1-Nov-02 11:12 
GeneralRe: Sending Email Pin
markkuk2-Nov-02 0:40
markkuk2-Nov-02 0:40 
GeneralChanging Icon displayed by Windows Explorer for MFC program Pin
Harold Bamford1-Nov-02 7:26
Harold Bamford1-Nov-02 7:26 
GeneralRe: Changing Icon displayed by Windows Explorer for MFC program Pin
Rohit  Sinha1-Nov-02 9:29
Rohit  Sinha1-Nov-02 9:29 
GeneralRe: Changing Icon displayed by Windows Explorer for MFC program Pin
Harold Bamford1-Nov-02 9:47
Harold Bamford1-Nov-02 9:47 
GeneralRe: Changing Icon displayed by Windows Explorer for MFC program Pin
Gary R. Wheeler2-Nov-02 3:14
Gary R. Wheeler2-Nov-02 3:14 
GeneralRe: Changing Icon displayed by Windows Explorer for MFC program Pin
Harold Bamford12-Nov-02 5:57
Harold Bamford12-Nov-02 5:57 
GeneralProcessing TTN_NEEDTEXT Pin
Aaron Schaefer1-Nov-02 5:10
Aaron Schaefer1-Nov-02 5:10 
GeneralRe: Processing TTN_NEEDTEXT Pin
Roger Allen1-Nov-02 5:43
Roger Allen1-Nov-02 5:43 
GeneralRe: Processing TTN_NEEDTEXT Pin
Aaron Schaefer1-Nov-02 5:56
Aaron Schaefer1-Nov-02 5:56 
GeneralRe: Processing TTN_NEEDTEXT Pin
Roger Allen1-Nov-02 6:05
Roger Allen1-Nov-02 6:05 

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.