Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Missing WINAPI keyword on CExtSoundPlayer::stat_ParallelPlayerProc decl. Collapse All
Subject Author Date
Guillaume Provost Aug 16, 2003 - 11:18 PM

This causes the libary to crash when it is compiled using the __fastcall calling convention.

Cheers!
Guillaume.

Technical Support Aug 17, 2003 - 9:50 AM

Hi,

We confirm this bug. To fix it you should add the WINAPI word to the declaration of the stat_ParallelPlayerProc in the ExtPopupMenuWnd.h file:

    static DWORD WINAPI stat_ParallelPlayerProc( InternalSoundThredadParms_t * pParms );

You also need to replace CRect::SwapLeftRight( &rcBkUpdate ); in the ExtPopupMenuWnd.cpp file with:

    {
        LONG temp = rcBkUpdate.left;
        rcBkUpdate.left = rcBkUpdate.right;
        rcBkUpdate.right = temp;
    }


To receive the latest library code which is free of this bug you can write a letter to the email address behind this link.