- hr = IDirectPlayX_GetSessionDesc( pDP[0], lpData[0], NULL );
+/* hr = IDirectPlayX_GetSessionDesc( pDP[0], lpData[0], NULL ); checkHR( DPERR_INVALIDPARAM, hr ); dwDataSize=-1; hr = IDirectPlayX_GetSessionDesc( pDP[0], lpData[0], &dwDataSize ); checkHR( DPERR_INVALIDPARAMS, hr );
- check( -1, dwDataSize );
- check( -1, dwDataSize );*/
You can't just comment out parts, if those crash on Windows put them in compilable block inside if (0) and add appropriate comment.