Now there are some very common mistakes you have been doing and so try and rectifying that.

1. You have the same bitmap loading in the OnView Function and try having the bitmap loaded and just Do BitBlt in the OnView Function.
2. Try releasing the Bitmap object if its already there or don't load if once loaded. Something like checking it to the NULL

please share the details of the crash as well so that we can also know the context better.