Click here to Skip to main content
15,881,715 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What is alternative function for atof() in unicoding ? Pin
Mark Salsbery3-Jan-07 7:14
Mark Salsbery3-Jan-07 7:14 
Questiondll problem Pin
manu_22052-Jan-07 20:03
manu_22052-Jan-07 20:03 
AnswerRe: dll problem Pin
kakan2-Jan-07 20:15
professionalkakan2-Jan-07 20:15 
QuestionRe: dll problem Pin
manu_22052-Jan-07 20:22
manu_22052-Jan-07 20:22 
GeneralRe: dll problem Pin
manu_22052-Jan-07 20:27
manu_22052-Jan-07 20:27 
AnswerRe: dll problem Pin
guestcat3-Jan-07 13:33
guestcat3-Jan-07 13:33 
AnswerRe: dll problem Pin
Hamid_RT3-Jan-07 17:52
Hamid_RT3-Jan-07 17:52 
Questionabout MCIERROR err = mciSendCommand(....) function Pin
Raja Bose C Leo2-Jan-07 19:09
Raja Bose C Leo2-Jan-07 19:09 
hi friends,
I got a problem while using this mciSendCommand(....) function. Actually I want to play PAL video files so I used the MCI_SETVIDEO using mciSendCommand(...) function for setting it as PAL video but I am getting the error returned from that function as MCIERR_MISSING_PARAMETER

void InitialiseMCIWindow()
{
UINT ut;
MCI_GENERIC_PARMS gen;

if((c_Player=MCIWndCreate(hwndParent,AfxGetInstanceHandle(),
WS_CHILD | MCIWNDF_SHOWNAME |
MCIWNDF_SHOWMODE |
WS_VISIBLE , m_sPath))==0)
MessageBox("Error in initialise");

gen.dwCallback = MCI_DGV_SETVIDEO_ITEM | MCI_DGV_SETVIDEO_SOURCE | MCI_DGV_SETVIDEO_SRC_PAL ;//
ut = MCIWndGetDeviceID(c_Player);

MCIERROR err = mciSendCommand((MCIDEVICEID)ut,MCI_SETVIDEO,MCI_NOTIFY,(DWORD_PTR) (LPMCI_GENERIC_PARMS) &gen);

if( MCIERR_MISSING_PARAMETER == err )
MessageBox("Error Got");
// if(err == 0)
// MessageBox("Success");
// else
// MessageBox("Failed");

.............

}



Can anyone help me with this problem???

With regards

Raja Bose

QuestionRe: about MCIERROR err = mciSendCommand(....) function Pin
kakan2-Jan-07 19:15
professionalkakan2-Jan-07 19:15 
AnswerRe: about MCIERROR err = mciSendCommand(....) function Pin
Raja Bose C Leo3-Jan-07 1:38
Raja Bose C Leo3-Jan-07 1:38 
GeneralRe: about MCIERROR err = mciSendCommand(....) function Pin
kakan3-Jan-07 2:22
professionalkakan3-Jan-07 2:22 
AnswerRe: about MCIERROR err = mciSendCommand(....) function Pin
Mark Salsbery3-Jan-07 7:24
Mark Salsbery3-Jan-07 7:24 
GeneralRe: about MCIERROR err = mciSendCommand(....) function [modified] Pin
Raja Bose C Leo4-Jan-07 0:34
Raja Bose C Leo4-Jan-07 0:34 
GeneralRe: about MCIERROR err = mciSendCommand(....) function Pin
Mark Salsbery4-Jan-07 5:10
Mark Salsbery4-Jan-07 5:10 
AnswerRe: about MCIERROR err = mciSendCommand(....) function Pin
Hamid_RT3-Jan-07 17:48
Hamid_RT3-Jan-07 17:48 
Questionstore certain amount of total number Pin
davvid2-Jan-07 19:02
davvid2-Jan-07 19:02 
AnswerRe: store certain amount of total number Pin
Christian Graus2-Jan-07 19:12
protectorChristian Graus2-Jan-07 19:12 
GeneralRe: store certain amount of total number Pin
davvid2-Jan-07 20:10
davvid2-Jan-07 20:10 
GeneralRe: store certain amount of total number Pin
Christian Graus2-Jan-07 22:15
protectorChristian Graus2-Jan-07 22:15 
QuestionCan Custom control with generic CWnd use CScrollView? Pin
cyn82-Jan-07 18:41
cyn82-Jan-07 18:41 
AnswerRe: Can Custom control with generic CWnd use CScrollView? Pin
kasturi_haribabu3-Jan-07 0:19
kasturi_haribabu3-Jan-07 0:19 
AnswerRe: Can Custom control with generic CWnd use CScrollView? Pin
dabs3-Jan-07 3:06
dabs3-Jan-07 3:06 
Questionwhy is connect returning -1? Pin
arbster2-Jan-07 18:38
arbster2-Jan-07 18:38 
AnswerRe: why is connect returning -1? Pin
Richard Andrew x642-Jan-07 18:41
professionalRichard Andrew x642-Jan-07 18:41 
GeneralRe: why is connect returning -1? Pin
arbster2-Jan-07 19:02
arbster2-Jan-07 19:02 

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.