Quote:
Originally Posted by Dave Scheck
Since we never created a definition for A::func(), the operating system had problems creating the virtual function table and crashed the program.
|
That's not quite correct... since A::func() was not implemented, the vxWorks loader could not load our compiled program because it couldn't resolve all the symbols. The compiled .out file is basically a dynamically-linked library (DLL), and one of the jobs of the vxWorks loader is to resolve all the symbols in the .out file before it starts it. It couldn't do that so it presented an error message and gave up trying to load it. That left the Rio running fine but with no user program on it (DS says "No Code"). Nothing crashed.