Click here to Skip to main content
15,921,622 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Check if a sofware is installed in system or not Pin
divilin thiyagaraj21-Oct-08 22:03
divilin thiyagaraj21-Oct-08 22:03 
AnswerRe: How to Check if a sofware is installed in system or not Pin
David Crow22-Oct-08 3:40
David Crow22-Oct-08 3:40 
GeneralRe: How to Check if a sofware is installed in system or not Pin
divilin thiyagaraj22-Oct-08 20:03
divilin thiyagaraj22-Oct-08 20:03 
GeneralRe: How to Check if a sofware is installed in system or not Pin
Anup N23-Oct-08 1:47
Anup N23-Oct-08 1:47 
GeneralRe: How to Check if a sofware is installed in system or not Pin
David Crow23-Oct-08 3:08
David Crow23-Oct-08 3:08 
Questionmfc sdi help Pin
soongez21-Oct-08 21:08
soongez21-Oct-08 21:08 
AnswerRe: mfc sdi help Pin
Cedric Moonen21-Oct-08 21:26
Cedric Moonen21-Oct-08 21:26 
Questionquestion for avcodec_open of ffmpeg Pin
finn_nast21-Oct-08 20:46
finn_nast21-Oct-08 20:46 
I got a problem when using ffmpeg library.
Hope anybody could do me this favor!

that is :

pavcodec_register_all();                           //success
avc = pavcodec_find_decoder(CODEC_ID_WMV3);        //success
if (avc == NULL)
{
    MessageBox(NULL, "CODEC_ID_WMV3 decoder Not Found !", NULL, MB_OK);
    FreeLibrary(hMod);
    return FALSE;
}
avctx = (AVCodecContext *)pavcodec_alloc_content();//success
if (avctx == NULL)
{
    FreeLibrary(hMod);
    return FALSE;
}
avctx->extradata = (uint8_t *)malloc(dataSize);
avctx->extradata_size = dataSize;


iRet = pavcodec_open(avctx, avc)

                   // failed here!!!! And error code is 0x7e (module not found !!!)

if (iRet != 0)
{
    iRet = (int)GetLastError();
    FreeLibrary(hMod);
    return FALSE;
}



I can't figure out the reason for that fail...

if anybody know why and the correct way to do with that ,please do me this favor! Thanks!!!
AnswerRe: question for avcodec_open of ffmpeg Pin
SandipG 21-Oct-08 21:36
SandipG 21-Oct-08 21:36 
AnswerRe: question for avcodec_open of ffmpeg Pin
sashoalm21-Oct-08 23:48
sashoalm21-Oct-08 23:48 
GeneralRe: question for avcodec_open of ffmpeg Pin
finn_nast22-Oct-08 0:11
finn_nast22-Oct-08 0:11 
GeneralRe: question for avcodec_open of ffmpeg Pin
sashoalm22-Oct-08 0:49
sashoalm22-Oct-08 0:49 
GeneralRe: question for avcodec_open of ffmpeg Pin
finn_nast22-Oct-08 1:26
finn_nast22-Oct-08 1:26 
GeneralRe: question for avcodec_open of ffmpeg Pin
sashoalm23-Oct-08 0:06
sashoalm23-Oct-08 0:06 
Question[Message Deleted] Pin
anna mathew21-Oct-08 20:42
anna mathew21-Oct-08 20:42 
AnswerRe: VC++ database programming Pin
Iain Clarke, Warrior Programmer21-Oct-08 21:46
Iain Clarke, Warrior Programmer21-Oct-08 21:46 
QuestionSending a File to server through HTTP [modified] Pin
Dhiraj kumar Saini21-Oct-08 19:43
Dhiraj kumar Saini21-Oct-08 19:43 
QuestionFile String Sorting Pin
cpvc++21-Oct-08 19:37
cpvc++21-Oct-08 19:37 
AnswerRe: File String Sorting Pin
enhzflep21-Oct-08 20:12
enhzflep21-Oct-08 20:12 
AnswerRe: File String Sorting Pin
Cedric Moonen21-Oct-08 20:33
Cedric Moonen21-Oct-08 20:33 
GeneralRe: File String Sorting Pin
Iain Clarke, Warrior Programmer21-Oct-08 21:48
Iain Clarke, Warrior Programmer21-Oct-08 21:48 
GeneralRe: File String Sorting Pin
Cedric Moonen21-Oct-08 22:09
Cedric Moonen21-Oct-08 22:09 
GeneralRe: File String Sorting Pin
BadKarma21-Oct-08 23:47
BadKarma21-Oct-08 23:47 
QuestionSize of Structure Pin
Anu_Bala21-Oct-08 19:21
Anu_Bala21-Oct-08 19:21 
AnswerRe: Size of Structure Pin
Mark Salsbery21-Oct-08 19:39
Mark Salsbery21-Oct-08 19:39 

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.