Click here to Skip to main content
15,925,782 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: user defined messages Pin
David Crow14-Apr-05 2:43
David Crow14-Apr-05 2:43 
Generalsend messages to other windows Pin
cuongnguyennnn13-Apr-05 22:34
susscuongnguyennnn13-Apr-05 22:34 
GeneralRe: send messages to other windows Pin
ThatsAlok13-Apr-05 23:34
ThatsAlok13-Apr-05 23:34 
GeneralRe: send messages to other windows Pin
mark novak14-Apr-05 0:47
mark novak14-Apr-05 0:47 
GeneralRe: send messages to other windows Pin
CuongNguyennn14-Apr-05 9:05
sussCuongNguyennn14-Apr-05 9:05 
GeneralRe: send messages to other windows Pin
mark novak14-Apr-05 11:48
mark novak14-Apr-05 11:48 
GeneralRe: send messages to other windows Pin
ThatsAlok14-Apr-05 19:28
ThatsAlok14-Apr-05 19:28 
GeneralAn error about RTC_VIDEO_DEVICE Pin
yeetins13-Apr-05 21:32
yeetins13-Apr-05 21:32 
When compiling or running,there is a debug error: " Run-Timeb Chenk Failure #3-the varible 'enVideo' is being used without being defined"

How can I solve this problem? thanks......



HRESULT CAVDlg::DeliverMedia(long lMediaType, RTC_MEDIA_EVENT_TYPE enType, <br />
							 RTC_MEDIA_EVENT_REASON enReason)<br />
{<br />
    RTC_VIDEO_DEVICE enVideo;<br />
    BOOL fShow;<br />
    HRESULT hr = S_OK;<br />
<br />
    <br />
    switch (lMediaType)<br />
    {<br />
    case RTCMT_VIDEO_SEND:<br />
        enVideo = RTCVD_PREVIEW;<br />
        break;<br />
<br />
    case RTCMT_VIDEO_RECEIVE:<br />
        enVideo = RTCVD_RECEIVE;<br />
        break;<br />
<br />
    case RTCMT_T120_SENDRECV:<br />
		break;<br />
<br />
	default:<br />
        return S_OK;<br />
    }<br />
<br />
    switch (enType) <br />
    {<br />
    case RTCMET_STARTED:<br />
        fShow = TRUE;<br />
        break;<br />
<br />
    case RTCMET_STOPPED:<br />
		::ShowWindow(m_hRecvVideoParent, SW_HIDE);<br />
		::SetParent(m_hRecvVideoParent, NULL);<br />
<br />
		::ShowWindow(m_hPrevVideoParent, SW_HIDE);<br />
		::SetParent(m_hPrevVideoParent, NULL);<br />
<br />
		SetState (RTCSS_IDLE);<br />
<br />
		SAFE_RELEASE(m_pSession);<br />
<br />
		DestroyWindow();<br />
		return S_OK;<br />
<br />
    case RTCMET_FAILED:<br />
        fShow = FALSE;<br />
        break;<br />
<br />
    default:<br />
        return S_OK;<br />
    }<br />
<br />
    hr = ShowVideo(enVideo, fShow);<br />
<br />
    return hr;<br />
<br />
}

GeneralRe: An error about RTC_VIDEO_DEVICE Pin
Trollslayer13-Apr-05 23:22
mentorTrollslayer13-Apr-05 23:22 
GeneralRe: An error about RTC_VIDEO_DEVICE Pin
yeetins14-Apr-05 0:20
yeetins14-Apr-05 0:20 
GeneralRemote communication Pin
itkid13-Apr-05 20:00
itkid13-Apr-05 20:00 
GeneralRe: Remote communication Pin
22491713-Apr-05 21:15
22491713-Apr-05 21:15 
GeneralRe: Remote communication Pin
itkid13-Apr-05 22:31
itkid13-Apr-05 22:31 
GeneralRe: Remote communication Pin
ThatsAlok13-Apr-05 23:55
ThatsAlok13-Apr-05 23:55 
GeneralRe: Remote communication Pin
itkid14-Apr-05 0:23
itkid14-Apr-05 0:23 
GeneralRe: Remote communication Pin
ThatsAlok14-Apr-05 1:30
ThatsAlok14-Apr-05 1:30 
GeneralInclusion of header file in project Pin
swarnamanoo13-Apr-05 19:27
swarnamanoo13-Apr-05 19:27 
GeneralRe: Inclusion of header file in project Pin
mark novak14-Apr-05 0:56
mark novak14-Apr-05 0:56 
Questionread binary? Pin
chal_adiera13-Apr-05 19:23
chal_adiera13-Apr-05 19:23 
AnswerRe: read binary? Pin
ddmcr13-Apr-05 21:56
ddmcr13-Apr-05 21:56 
GeneralRe: read binary? Pin
chal_adiera13-Apr-05 22:53
chal_adiera13-Apr-05 22:53 
AnswerRe: read binary? Pin
David Crow14-Apr-05 2:41
David Crow14-Apr-05 2:41 
GeneralRe: read binary? Pin
chal_adiera14-Apr-05 17:38
chal_adiera14-Apr-05 17:38 
GeneralRe: read binary? Pin
David Crow15-Apr-05 2:27
David Crow15-Apr-05 2:27 
GeneralService with logon user Pin
K@LPESH13-Apr-05 19:15
K@LPESH13-Apr-05 19:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.