Menu

#6 Attempting to display track lengths crashes

closed-fixed
nobody
None
5
2004-05-10
2004-04-27
Chris Smith
No

When "Load Track Lengths" is set to a value other than
1 (ie: track lengths are to be displayed on songs other
than the current one) then the plugin/winamp may crash
when displaying the playlist. So far this appears to
only happen on WinME

Discussion

  • Chris Smith

    Chris Smith - 2004-04-27

    Logged In: YES
    user_id=1025088

    This is due to some wierd memory issues. Current suggestion
    for a fix:

    basicFileInfoStruct *file_info = LocalAlloc(LPTR,
    sizeof(basicFileInfoStruct));

    file_info->filename = filename;
    file_info->quickCheck = 0;
    if (file_info->filename) {
    if (SendMessage(m_hwnd,WM_WA_IPC,(WPARAM)file_info,
    IPC_GET_BASIC_FILE_INFO)) {
    ...
    }
    }
    LocalFree(file_info);

     
  • Chris Smith

    Chris Smith - 2004-05-10

    Logged In: YES
    user_id=1025088

    Now uses "LocalAlloc", hopefully this will work now

     
  • Chris Smith

    Chris Smith - 2004-05-10
    • status: open --> closed-fixed
     

Log in to post a comment.