Click here to Skip to main content
15,896,154 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionProblem with CreateProcess Pin
rajeevktripathi3-Jul-06 2:13
rajeevktripathi3-Jul-06 2:13 
AnswerRe: Problem with CreateProcess Pin
Garth J Lancaster3-Jul-06 2:23
professionalGarth J Lancaster3-Jul-06 2:23 
AnswerRe: Problem with CreateProcess Pin
Viorel.3-Jul-06 2:30
Viorel.3-Jul-06 2:30 
AnswerRe: Problem with CreateProcess Pin
Viorel.3-Jul-06 2:47
Viorel.3-Jul-06 2:47 
AnswerRe: Problem with CreateProcess Pin
valikac3-Jul-06 6:44
valikac3-Jul-06 6:44 
Questionabout timer Pin
happy_ram3-Jul-06 1:53
happy_ram3-Jul-06 1:53 
AnswerRe: about timer Pin
Maximilien3-Jul-06 1:57
Maximilien3-Jul-06 1:57 
GeneralRe: about timer Pin
happy_ram3-Jul-06 2:00
happy_ram3-Jul-06 2:00 
yah
void CMPEGPlayerDlg::OnPlay() 
{

	// TODO: Add your control notification handler code here


     
	 Onstop();
	
	  int k = m_list7.GetCurSel();
	
	  	 m_list7.GetText(k,m_SongName);
		if(!m_SongName.IsEmpty()) 
	 {
			  OpenNew(m_SongName);
			 MessageBox(m_SongName);
	 }
	 if(m_Player.PlayerMode() == pmReady) 
	 {
	  MessageBox("bye");
		 m_Player.Play();
	 }
			SetTimer(0, 1000, NULL);
}

here it is working because it is in the same class
where as
void CMPEGPlayerDlg::OnPlay(CString string)
{
Onstop();
	
	/*  int k = m_list7.GetCurSel();
	  CString str;
	  str.Format("%d",k);
	  MessageBox(str);
	  	 m_list7.GetText(k,m_SongName);*/
	 m_SongName=string;
		if(!m_SongName.IsEmpty()) 
	 {
			  OpenNew(m_SongName);
			  MessageBox(m_SongName);
	 }
	 if(m_Player.PlayerMode() == pmReady) 
	 {
	  MessageBox("hi");
		 m_Player.Play();
	 }	
SetTimer(ID_TIMER, 1000,NULL);
	
}

herer not working because this fuction is calling from different class.
ram
AnswerRe: about timer Pin
see me3-Jul-06 2:02
see me3-Jul-06 2:02 
GeneralRe: about timer Pin
happy_ram3-Jul-06 2:18
happy_ram3-Jul-06 2:18 
AnswerRe: about timer Pin
Viorel.3-Jul-06 2:03
Viorel.3-Jul-06 2:03 
GeneralRe: about timer Pin
happy_ram3-Jul-06 2:17
happy_ram3-Jul-06 2:17 
AnswerRe: about timer Pin
Hamid_RT3-Jul-06 3:14
Hamid_RT3-Jul-06 3:14 
Questionhow can i debug my project ! Pin
jalsa G3-Jul-06 1:52
jalsa G3-Jul-06 1:52 
AnswerRe: how can i debug my project ! Pin
Maximilien3-Jul-06 1:55
Maximilien3-Jul-06 1:55 
GeneralRe: how can i debug my project ! Pin
jalsa G3-Jul-06 2:07
jalsa G3-Jul-06 2:07 
GeneralRe: how can i debug my project ! Pin
jalsa G3-Jul-06 2:21
jalsa G3-Jul-06 2:21 
QuestionPicture & Bitmap Pin
Diglu3-Jul-06 1:34
Diglu3-Jul-06 1:34 
AnswerRe: Picture & Bitmap Pin
Rilhas9-Jul-06 5:21
Rilhas9-Jul-06 5:21 
QuestionIsThereany DirectShow People? Pin
atimpoo3-Jul-06 1:34
atimpoo3-Jul-06 1:34 
QuestionC++ project Pin
Nirmal Khatri3-Jul-06 1:13
Nirmal Khatri3-Jul-06 1:13 
AnswerRe: C++ project [modified] Pin
see me3-Jul-06 1:25
see me3-Jul-06 1:25 
GeneralRe: C++ project Pin
Hamid_RT3-Jul-06 1:42
Hamid_RT3-Jul-06 1:42 
AnswerRe: C++ project [modified] Pin
_AnsHUMAN_ 3-Jul-06 1:27
_AnsHUMAN_ 3-Jul-06 1:27 
AnswerRe: C++ project Pin
Hamid_RT3-Jul-06 1:40
Hamid_RT3-Jul-06 1:40 

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.