Without seeing your actual code, it is hard to say, but chances are that Form3
has simply not been created yet when you are calling Form3->Show()
. You are getting an error at a memory address close to 0, which is a good indication that you are likely accessing a NULL pointer.
You don't need to call Show()
unless you want more control over WHEN the Forms are shown. You could simply set their Visible
property to true at design-time and let the VCL show them for you when Application->Run()
is called to start the message loop.