User breakpoint called from code at 0x77f9f9df
-
What does that mean? The messagebox appears and it goes into assembly debugging, i'm trying to enumerate all the available compression driver on the system, here's the code:
void onConvert()
{
acmDriverEnum((ACMDRIVERENUMCB)listCallback, NULL, ACM_DRIVERENUMF_DISABLED);
}BOOL WINAPI listCallback(HACMDRIVERID hadid, DWORD dwInstance, DWORD fdwSupport)
{
if (fdwSupport == ACMDRIVERDETAILS_SUPPORTF_CODEC)
{
ACMDRIVERDETAILS details;
int box;
int test;
details.cbStruct = sizeof(details);box = acmDriverDetails(hadid, &details, NULL); SendMessage(GetDlgItem(ghWnd, IDC\_CODECS), LB\_ADDSTRING, 0, (LPARAM)details.szLongName); } return true;
}
First i call the onConvert and then it uses the listCallback function to enumerate the different drivers. Thanks in advance -Redeemer
-
What does that mean? The messagebox appears and it goes into assembly debugging, i'm trying to enumerate all the available compression driver on the system, here's the code:
void onConvert()
{
acmDriverEnum((ACMDRIVERENUMCB)listCallback, NULL, ACM_DRIVERENUMF_DISABLED);
}BOOL WINAPI listCallback(HACMDRIVERID hadid, DWORD dwInstance, DWORD fdwSupport)
{
if (fdwSupport == ACMDRIVERDETAILS_SUPPORTF_CODEC)
{
ACMDRIVERDETAILS details;
int box;
int test;
details.cbStruct = sizeof(details);box = acmDriverDetails(hadid, &details, NULL); SendMessage(GetDlgItem(ghWnd, IDC\_CODECS), LB\_ADDSTRING, 0, (LPARAM)details.szLongName); } return true;
}
First i call the onConvert and then it uses the listCallback function to enumerate the different drivers. Thanks in advance -Redeemer
Hm... - Did you placed a breakpoint on the very first statement of your listCallback? - The cast to ACMDRIVERENUMCB for the first parameter to acmDriverEnum() should not be necessary. If the compiler complains about it, there is something wrong. -- Daniel Lohmann http://www.losoft.de (Hey, this page is worth looking! You can find some free and handy NT tools there :-D )