Board index » delphi » Delphi 1 application problems under win 31

Delphi 1 application problems under win 31

I have a D1 app that runs fine under both Windows 95 and Win NT 4.0. When I
run it under Windows 3.1, it crashes with a GPF the very first time it is
executed. After setting some breakpoints, I noticed it crashes before it
ever hits any of my createforms in the application .dpr file. When you
execute the program a second time it runs fine. It continues to run fine
until you restart windows. When you do that, it bombs out again on the
first run, but works fine after that. Has anyone experienced such a
problem? I'm perplexed.

Regards,

 

Re:Delphi 1 application problems under win 31


Quote
Robert Moskal wrote:

>  Robert Moskal wrote in article <5n9itv$...@orion.mxol.com>...
> >I have a D1 app that runs fine under both Windows 95 and Win NT 4.0. When
> I
> >run it under Windows 3.1, it crashes with a GPF the very first time it is
> >executed. After setting some breakpoints, I noticed it crashes before it
> >ever hits any of my createforms in the application .dpr file. When you
> >execute the program a second time it runs fine. It continues to run fine
> >until you restart windows. When you do that, it bombs out again on the
> >first run, but works fine after that. Has anyone experienced such a
> >problem? I'm perplexed.

> I have a bit more information.  It only crashes outside the IDE.  When you
> run it from within Delphi there is no problem.

Include the path to the VCL source in Options/Project/Directories/search
path, and do a build all. Make sure Break on exception is checked, and
then try running again. This should locate the line causing the
exception, let us know which...

Regards,

Erik

--
Need a custom component? Late on a project? Could use an util?
DOS Device driver? A VxD? NT drivers or services?
Applications of any kind?
Low rates, fast delivery!

When responding to news postings, please CC a copy to my email address.
Thanks.
Erik Sperling Johansen <e...@info-pro.no>

Re:Delphi 1 application problems under win 31


 Robert Moskal wrote in article <5n9itv$...@orion.mxol.com>...

Quote
>I have a D1 app that runs fine under both Windows 95 and Win NT 4.0. When
I
>run it under Windows 3.1, it crashes with a GPF the very first time it is
>executed. After setting some breakpoints, I noticed it crashes before it
>ever hits any of my createforms in the application .dpr file. When you
>execute the program a second time it runs fine. It continues to run fine
>until you restart windows. When you do that, it bombs out again on the
>first run, but works fine after that. Has anyone experienced such a
>problem? I'm perplexed.

I have a bit more information.  It only crashes outside the IDE.  When you
run it from within Delphi there is no problem.

Regards,

Robert Moskal
Brooklyn, NY

Other Threads