Recent

Author Topic: Errormessage  (Read 5685 times)

T-bear

  • Full Member
  • ***
  • Posts: 160
Errormessage
« on: August 16, 2010, 03:51:07 pm »
Hi,
when i try to start the program this errormessage is shown:
project1.lpr(21,1) Error: Can't create object file: C:\Dokumente und Einstellungen\Thorbj?rn\Desktop\Neuer Ordner\project1.exe

Here is projekt1.lpr:
program project1;

{$mode objfpc}{$H+}

uses
  {$IFDEF UNIX}{$IFDEF UseCThreads}
  cthreads,
  {$ENDIF}{$ENDIF}
  Interfaces, // this includes the LCL widgetset
  Forms, Unit1, LResources, Unit2, Unit3;

{$IFDEF WINDOWS}{$R project1.rc}{$ENDIF}

begin
  {$I project1.lrs}
  Application.Initialize;
  Application.CreateForm(TLevel1, Level1);
  Application.CreateForm(TForm1, Form1);
  Application.CreateForm(TLevel2, Level2);
  Application.Run;
end.                                   

Does anyone know what that means?
Thanks.

eny

  • Hero Member
  • *****
  • Posts: 1648
Re: Errormessage
« Reply #1 on: August 16, 2010, 07:00:26 pm »
One of the reasons can be that the program is still running; either visibly or in the background.
All posts based on: Win10 (Win64); Lazarus 3_4  (x64) 25-05-2024 (unless specified otherwise...)

captian jaster

  • Guest
Re: Errormessage
« Reply #2 on: August 16, 2010, 09:16:13 pm »
The best way to stop this is to stop the program using lazarus  :-X

eny

  • Hero Member
  • *****
  • Posts: 1648
Re: Errormessage
« Reply #3 on: August 16, 2010, 09:35:03 pm »
The best way to stop your program is making sure the main form is closed.
Which in TS' case is Level1.
All posts based on: Win10 (Win64); Lazarus 3_4  (x64) 25-05-2024 (unless specified otherwise...)

T-bear

  • Full Member
  • ***
  • Posts: 160
Re: Errormessage
« Reply #4 on: August 17, 2010, 01:56:37 pm »
Yes i now what it was now. I had run the *.exe and it didnt end. Now i have the problem that i have to use the taskmanager to end it. Anyone who nows exactly how to fix that problem.
Thanks!

zariq

  • Full Member
  • ***
  • Posts: 109
Re: Errormessage
« Reply #5 on: August 17, 2010, 06:31:41 pm »
Have you tried "Reset debugger" option from the "RUN" menu. That usually does the trick.

 

TinyPortal © 2005-2018