|
| Re: Delphi D7 to Delphi 2007: application compiles fine but cannot run |
 |
26 Mar 2008 12:04:54 -0700 |
Claus Nielsen wrote:
> Hi,
> I have a fairly large application written in Delphi7. I have ported
> it to Delphi 2007 and fixed a few problems concerning formless
> Quickreports, but nothing much else.
>
> The application compiles without warnings, but when I try to run it,
> it halts and displays a green line at the "begin" in the project
file
> (why?).
Might be a problem in a unit initialization. Do a Build all and then
run the program outside the IDE (Shift-Ctrl-F12). Do you get an
exception dialog this way?
--
Peter Below (TeamB)
Don't be a vampire (http://slash7.com/pages/vampires),
use the newsgroup archives :
http://www.tamaracka.com/search.htm
|
| Post Reply
|
| Delphi D7 to Delphi 2007: application compiles fine but cannot run |
 |
Wed, 26 Mar 2008 16:36:38 +010 |
Hi,
I have a fairly large application written in Delphi7. I have ported it to
Delphi 2007 and fixed a few problems concerning formless Quickreports, but
nothing much else.
The application compiles without warnings, but when I try to run it, it
halts and displays a green line at the "begin" in the project file
(why?).
If I press F7, it crashes in the Application.initialize, opens the unit? CPU
and proudly displays an access violation in some "push esi" assembler
line.
- Very nice, but does this leave me with any clue as to what may be wrong?
Claus
|
| Post Reply
|
| Re: Delphi D7 to Delphi 2007: application compiles fine but cannot run |
 |
Fri, 28 Mar 2008 12:46:17 +010 |
Hi,
Ahah! - The application could be started outside the IDE albeit with an
exception stating that "class TPieSeries could not be found". This
quickly
lead me to the problem, namely a TChart component that somehow did not
behave well after the transition to Delphi 2007. I replaced the component in
the IDE and now the application runs fine.
Thank you!
Claus
"Peter Below (TeamB)" <none@nomail.please> wrote in message
news:xn0fo5ij02y6bq00a@newsgroups.borland.com...
> Claus Nielsen wrote:
>
>> Hi,
>> I have a fairly large application written in Delphi7. I have ported
>> it to Delphi 2007 and fixed a few problems concerning formless
>> Quickreports, but nothing much else.
>>
>> The application compiles without warnings, but when I try to run it,
>> it halts and displays a green line at the "begin" in the
project file
>> (why?).
>
> Might be a problem in a unit initialization. Do a Build all and then
> run the program outside the IDE (Shift-Ctrl-F12). Do you get an
> exception dialog this way?
>
>
>
> --
> Peter Below (TeamB)
> Don't be a vampire (http://slash7.com/pages/vampires),
> use the newsgroup archives :
> http://www.tamaracka.com/search.htm
> http://groups.google.com
|
| Post Reply
|
|
|
|
|
|
|
|
|
|