I have C++ code that contains Classes with inheritance.
For some reason upon a call to a virtual function the app crashes.
From what I understand there is a problem in the startup code that doesn't call the constructors and destructors.
virtual int sum() = 0;
Calls in main:
pObjectA = &objectB;
total += pObjectA->sum();
The exception happens upon the call to sum.
Can anyone help me resolve this issue?