"Description of the R6025 run-time error in Visual C++"

C++ R6025 run-time

Van egy program, ami a felhasználónál néha összeomlik a fenti hibaüzenettel. A fejlesztői szerint a hiba nem a programban van.

Mi ír erre az nagy internet?

Description of the R6025 run-time error in Visual C++

SUMMARY

This article discusses an issue that may occur when you are developing a program.

[...]

SYMPTOMS

The C++ program fails and reports the following run-time error:
runtime error R6025
- pure virtual function call

[...]

CAUSE

This error occurs when your application indirectly calls a pure virtual member function in a context where a call to the function is not valid. In most cases, the compiler detects this and reports the error when building the application. But depending on how your code is written, sometimes the problem is detected only at run-time.

[...]

RESOLUTION

Calling a pure virtual function is a programming error, so you need to find the call to the pure virtual function and rewrite the code so it is not called.

STATUS

This behavior is by design.

A nap költői kérdése: ki itten a hunyó?

Hozzászólások

A jelzett számmal én is találtam egy másik hibaleírást, nem lehet, hogy az abban leírtak miatt keletkezett a futásidejű hiba?

G.
============================================
"Share what you know. Learn what you don't."

Off: Miért ferde az ablak a pixelekhez képest? Ez valami optikai csalódás?

A compiler. ;)

Viccet félretéve, a fejlesztő. De tessék neki pontosan leírni, hogyan reprodukálható a hiba, különben az életben nem jön rá hol a probléma (ha már a compilernek sem megy).

Szomorú, de igaz: mindig az a programozó viszi el a balhét, aki legközelebb van a felhasználóhoz... A felhasználó nem fogad el olyan kifogásokat, hogy 'ezt a részt csak kiollóztam valahonnan' meg 'ez valami libraryból jön', ő működést akar, amilyen telhetetlen fajta.