Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. User breakpoint called from code at 0x77f9f9df

User breakpoint called from code at 0x77f9f9df

Scheduled Pinned Locked Moved C / C++ / MFC
debuggingquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    redeemer
    wrote on last edited by
    #1

    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

    D 1 Reply Last reply
    0
    • R 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

      D Offline
      D Offline
      Daniel Lohmann
      wrote on last edited by
      #2

      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 )

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups