Forum > Windows

[SOLVED]BUG?? win8 lazarus 1.2.4/1.2.6 run projects twice

(1/2) > >>

KiokoKenda:
long time ago i left pascal in order to explore differents solutions.
this days i got back to lazarus as i used to do, but something wrong is going on.
when i execute my project i get this:
building goes well
a window with my project come up
after 10-15 seconds that window kill himself without a reason
a new instance with my project start where i have all the prject runing ok.

im working on a i3 running win8.1
already uninstalled lazarus 3-4 times, following istructions only 32 bit version,
same problem with 1.2.4 and 1.2.6 version of lazarus.
FPC 2.6.4
I cant find a solution or, maybe, a fix on a wrong setup (debug options enabled or not all the projects run twices, first for limited time 10-15 seconds, second all good)

pls help, it is frustrating to wait everytime to play the second instance of project .
ty

engkin:
Did you try to run your application outside Lazarus?

taazz:

--- Quote from: KiokoKenda on October 21, 2014, 07:43:29 pm ---long time ago i left pascal in order to explore differents solutions.
this days i got back to lazarus as i used to do, but something wrong is going on.
when i execute my project i get this:
building goes well
a window with my project come up
after 10-15 seconds that window kill himself without a reason
a new instance with my project start where i have all the prject runing ok.


--- End quote ---

1st instance dies an uneventful death why?
The 2nd instance is started automatically or you start it manually after the 1st instance's death?

You should ask why it fails in the first place try to add some kind of logging to find out what is failing and if the same code works the second time what is different?

tr_escape:
Hello ,

I think you are using Avast Antivirus or like as this antivirus.
Did you check it?

Because lazarus creating a new process in the disk and if your antivirus looking for this operation it can be.

Good luck.

wp:
This annoying feature is one of the reasons why I left Avast.

You can instruct Avast to ignore your folder with Lazarus projects (and its subfolders). I forgot the exact procedure how to do it, maybe "Settings" - "Antivirus" - "Exceptions" - "Add"

Navigation

[0] Message Index

[#] Next page

Go to full version