Click here to Skip to main content
15,892,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to differentiate a floppy drive and a USB drive in VC++? Pin
Subrat Patnaik2-Jun-10 0:04
Subrat Patnaik2-Jun-10 0:04 
AnswerRe: How to differentiate a floppy drive and a USB drive in VC++? [modified] Pin
Jackson20102-Jun-10 4:40
Jackson20102-Jun-10 4:40 
Questionmove function in maze does not work correctly Pin
hasani20071-Jun-10 21:40
hasani20071-Jun-10 21:40 
AnswerRe: move function in maze does not work correctly Pin
Nilesh Hamane1-Jun-10 22:17
Nilesh Hamane1-Jun-10 22:17 
AnswerRe: move function in maze does not work correctly Pin
chandu0042-Jun-10 0:00
chandu0042-Jun-10 0:00 
QuestionRe: move function in maze does not work correctly Pin
David Crow2-Jun-10 2:57
David Crow2-Jun-10 2:57 
AnswerRe: Nice work.. i made some changes in your code Pin
Software_Developer2-Jun-10 3:43
Software_Developer2-Jun-10 3:43 
QuestionCompile time error - 'int8_t' : redefinition; different basic types Pin
gmallax1-Jun-10 20:21
gmallax1-Jun-10 20:21 
I am working on transcoding using ffmpeg.For that,i have one class decoder for decoding purpose.That file name is video_decoder.h.
Inside this file,im using the ffmpeg header files as

extern "C"
{
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
};

And,Im using the functions of this decoder class in my existing class say FileWriter.This file name is Video_Writer.h.
so,i have included video_decoder.h in video_writer.cpp file.And ofcourse,video_writer.h also there.The problem starts here.

Inside video_writer.h the variable type int8_t is defined in <lib_mp4v2\mpeg4ip_win32.h>.

Also,Inside video_decoder.h the same variable type int8_t is defined in stdint.h.

So,the compile time error is coming as

e:\workspace\build_recorder_plugins.root\build_recorder_plugins\include\stdint.h(82) : error C2371: 'int8_t' : redefinition; different basic types
e:\workspace\build_recorder_plugins.root\build_recorder_plugins\_build\include\lib_mp4v2\mpeg4ip_win32.h(52) : see declaration of 'int8_t'

Pls help me to solve this..
AnswerRe: Compile time error - 'int8_t' : redefinition; different basic types Pin
Aescleal1-Jun-10 20:41
Aescleal1-Jun-10 20:41 
GeneralRe: Compile time error - 'int8_t' : redefinition; different basic types Pin
gmallax1-Jun-10 22:23
gmallax1-Jun-10 22:23 
GeneralRe: Compile time error - 'int8_t' : redefinition; different basic types Pin
Aescleal1-Jun-10 23:40
Aescleal1-Jun-10 23:40 
Questionblcoking port Pin
trioum1-Jun-10 20:12
trioum1-Jun-10 20:12 
QuestionScroll two windows together WIN32 Pin
arun_pk1-Jun-10 19:43
arun_pk1-Jun-10 19:43 
AnswerRe: Scroll two windows together WIN32 Pin
«_Superman_»1-Jun-10 20:12
professional«_Superman_»1-Jun-10 20:12 
GeneralRe: Scroll two windows together WIN32 Pin
Aescleal1-Jun-10 20:32
Aescleal1-Jun-10 20:32 
GeneralRe: Scroll two windows together WIN32 Pin
«_Superman_»1-Jun-10 20:36
professional«_Superman_»1-Jun-10 20:36 
GeneralRe: Scroll two windows together WIN32 Pin
Aescleal1-Jun-10 20:56
Aescleal1-Jun-10 20:56 
GeneralRe: Scroll two windows together WIN32 Pin
sourabhmehta12-Aug-10 0:55
sourabhmehta12-Aug-10 0:55 
AnswerRe: Scroll two windows together WIN32 Pin
Aescleal1-Jun-10 20:34
Aescleal1-Jun-10 20:34 
Questionmaze in c Pin
hasani20071-Jun-10 19:25
hasani20071-Jun-10 19:25 
AnswerRe: maze in c Pin
LittleYellowBird2-Jun-10 0:18
LittleYellowBird2-Jun-10 0:18 
QuestionFILE* problem Pin
DevelopmentNoob1-Jun-10 19:12
DevelopmentNoob1-Jun-10 19:12 
AnswerRe: FILE* problem Pin
«_Superman_»1-Jun-10 19:50
professional«_Superman_»1-Jun-10 19:50 
AnswerRe: FILE* problem Pin
Aescleal1-Jun-10 20:28
Aescleal1-Jun-10 20:28 
AnswerRe: FILE* problem Pin
Jackson20102-Jun-10 5:08
Jackson20102-Jun-10 5:08 

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.