Click here to Skip to main content
15,885,914 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Suport for MFC Pin
Jochen Arndt3-Jul-16 21:12
professionalJochen Arndt3-Jul-16 21:12 
GeneralRe: Suport for MFC Pin
Bram van Kampen4-Jul-16 13:59
Bram van Kampen4-Jul-16 13:59 
GeneralRe: Suport for MFC Pin
Jochen Arndt4-Jul-16 21:34
professionalJochen Arndt4-Jul-16 21:34 
AnswerRe: Suport for MFC Pin
leon de boer4-Jul-16 20:55
leon de boer4-Jul-16 20:55 
GeneralRe: Suport for MFC Pin
Bram van Kampen10-Jul-16 16:49
Bram van Kampen10-Jul-16 16:49 
QuestionHow to handle runtime access violation exception Pin
Django_Untaken3-Jul-16 11:18
Django_Untaken3-Jul-16 11:18 
AnswerRe: How to handle runtime access violation exception Pin
Bram van Kampen3-Jul-16 14:32
Bram van Kampen3-Jul-16 14:32 
AnswerRe: How to handle runtime access violation exception Pin
Jochen Arndt3-Jul-16 21:29
professionalJochen Arndt3-Jul-16 21:29 
An access violation is not only thrown when a memory pointer is NULL. Often NULL pointers are even allowed as arguments.

In your case you have to check the members of the passed structures. See the documentation for the used function: FFmpeg: Encoding[^]. There is information about the structure members and links to the structure type descriptions. Note that you must not only check the buffer pointer members but also the size members and probably others. An access violation may for example occur when the size member indicates a size larger than the real buffer size.

The above link indicates also that the function is deprecated. If you have upgraded to a new FFmpeg version, consider to use replacement functions.
AnswerRe: How to handle runtime access violation exception Pin
leon de boer4-Jul-16 20:46
leon de boer4-Jul-16 20:46 
QuestionProblem with C++ arrays. Pin
Ratul Thakur30-Jun-16 3:15
Ratul Thakur30-Jun-16 3:15 
AnswerRe: Problem with C++ arrays. Pin
jeron130-Jun-16 4:17
jeron130-Jun-16 4:17 
AnswerRe: Problem with C++ arrays. Pin
k505430-Jun-16 4:29
mvek505430-Jun-16 4:29 
GeneralRe: Problem with C++ arrays. Pin
Ratul Thakur30-Jun-16 5:47
Ratul Thakur30-Jun-16 5:47 
GeneralRe: Problem with C++ arrays. Pin
k505430-Jun-16 6:06
mvek505430-Jun-16 6:06 
AnswerRe: Problem with C++ arrays. Pin
Patrice T2-Jul-16 13:14
mvePatrice T2-Jul-16 13:14 
GeneralRe: Problem with C++ arrays. Pin
leon de boer2-Jul-16 22:31
leon de boer2-Jul-16 22:31 
AnswerRe: Problem with C++ arrays. Pin
Henry Faure4-Jul-16 9:26
Henry Faure4-Jul-16 9:26 
GeneralRe: Problem with C++ arrays. Pin
jeron15-Jul-16 5:29
jeron15-Jul-16 5:29 
GeneralRe: Problem with C++ arrays. Pin
Super Lloyd6-Jul-16 17:34
Super Lloyd6-Jul-16 17:34 
GeneralRe: Problem with C++ arrays. Pin
jeron17-Jul-16 6:07
jeron17-Jul-16 6:07 
GeneralRe: Problem with C++ arrays. Pin
Super Lloyd7-Jul-16 14:38
Super Lloyd7-Jul-16 14:38 
QuestionCFileStatus m_mtime problems Pin
Member 1253112930-Jun-16 2:09
Member 1253112930-Jun-16 2:09 
AnswerRe: CFileStatus m_mtime problems Pin
Eddy Vluggen30-Jun-16 2:29
professionalEddy Vluggen30-Jun-16 2:29 
GeneralRe: CFileStatus m_mtime problems Pin
Member 1253112930-Jun-16 2:33
Member 1253112930-Jun-16 2:33 
GeneralRe: CFileStatus m_mtime problems Pin
Eddy Vluggen30-Jun-16 2:54
professionalEddy Vluggen30-Jun-16 2:54 

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.