Ask the Expert

NetMeeting and DirectX application will not work at the same time

I use the following code in my application that uses DirectX to draw images. Also, I want to use NetMeeting to make an audio call. So, I start NetMeeting and the moment I start it, the images are lost in my application, and further on I am unable to view images. I have to restart my application.

I use the following C++ code to find the driver capability for overlay support. The last condition fails only if I start NetMeeting. Otherwise it works fine. What does NetMeeting have to do disable the driver capability for overlay? How can this be countered?

/*****************/
DDCAPS  capsDrv;
HRESULT ddrval;
INIT_DIRECTDRAW_STRUCT(capsDrv);
ddrval = g_lpdd->GetCaps(&capsDrv, NULL);
if (FAILED(ddrval))
{
return FALSE;
}
if (!(capsDrv.dwCaps & DDCAPS_OVERLAY))
{
return FALSE;
}

/*******************/

Thanks.


Requires Free Membership to View

With you trying to use DirectX and NetMeeting trying to use DirectX, something has to give. From what I understand, you can't do both at the same time.

This was first published in February 2002

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: