Recent

Author Topic: Error "an unhandled exception has occurred..." Lazarus  (Read 3022 times)

ENRICO

  • New Member
  • *
  • Posts: 17
Error "an unhandled exception has occurred..." Lazarus
« on: November 08, 2017, 10:50:22 am »
hello, i'm trying to write a simple line code and i'm finding this problem: an unhandled exception has occurred..." pic related.
i tried to unistall and reinstall everything, but i'm still finding this problem.
lazarus works just fine with writing a new application, but if i write on a new program i'm finding this error.
what's the solution? thanks

(running on a windows 64 bit)

thanks,
Enrico

Thaddy

  • Hero Member
  • *****
  • Posts: 14376
  • Sensorship about opinions does not belong here.
Re: Error "an unhandled exception has occurred..." Lazarus
« Reply #1 on: November 08, 2017, 11:26:32 am »
Show the code ... (or handle the exception)?

I see it is windows so add {$apptype console}
Code: Pascal  [Select][+][-]
  1. program x;
  2. {$apptype console}
  3. begin
  4. writeln('abcd');
  5. end.
« Last Edit: November 08, 2017, 11:28:45 am by Thaddy »
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

ENRICO

  • New Member
  • *
  • Posts: 17
Re: Error "an unhandled exception has occurred..." Lazarus
« Reply #2 on: November 08, 2017, 11:41:48 am »
amazing man, it works.

thank you very much.

e

 

TinyPortal © 2005-2018