OpenGL - Crashes in IDE - Runs OK in Windows

A Neophyte's Question:

This is my first experience with OpenGL and I think I'd better come to grips
with this problem before going on...
Using the C++ BUILDER DEVELOPERS GUIDE by Hollingworth, et al, I loaded
their Chapter 26 Solar System sample project.
When I run this in the Borland IDE I get repeated interruptions with this
message:  RECEIVED TOO MANY CONSECUTIVE EXCEPTIONS - ACCESS VIOLATION AT...
The offending operation is apparently:  move ax, gs: [ecx]

However, the compiled executable file runs great without any interruptions!
How is it that it can crash in the IDE and run OK outside the IDE?

Thanks,
Nick