[fpc-pascal] exitcode=2 what is that?

2007-03-30 Thread liyupeng
Hi,list,
this is the first time of using free pascal!
 
after I compiled my program successful, I run it. The information is 
"exitcode=2".
 
what is that mean?
 
thanks!
 
_
中国十大热门旅游景点
http://search.msn.com/results.aspx?q=%E4%B8%AD%E5%9B%BD%E5%8D%81%E5%A4%A7%E9%A3%8E%E6%99%AF&mkt=zh-CN&form=QBRE___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] exitcode=2 what is that?

2007-03-30 Thread Vincent Snijders
liyupeng schreef:
> Hi,list,
> this is the first time of using free pascal!
>  
> after I compiled my program successful, I run it. The information is 
> "exitcode=2".
>  
> what is that mean?
>  

It means: File not found

See runtime error list:
http://www.freepascal.org/docs-html/user/userap4.html

Try compiling with -gl, it may give you a usable stack trace, where the wrong 
file
name is used.

Vincent
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] A randon posting on the Borland web server

2007-03-30 Thread Matt Emson
Has anyone seen this: a randon posting on the Borland web server... anyone
care to relieve the poor fellow ;-) ?

"This is how FPC window looks on my monitor
at it's maximum size. Any idea/way to make it
bigger?

http://www.exsotron.com/exs_pics/bucket/freepascal.jpg";

He seems to be refering to the IDE.

This was in a thread called "FPC" on "borland.public.delphi.non-technical".
I've sen a few of you guys there before, so, um..?

M

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] A randon posting on the Borland web server

2007-03-30 Thread Marco van de Voort
> Has anyone seen this: a randon posting on the Borland web server... anyone
> care to relieve the poor fellow ;-) ?
> 
> "This is how FPC window looks on my monitor
> at it's maximum size. Any idea/way to make it
> bigger?
> 
> http://www.exsotron.com/exs_pics/bucket/freepascal.jpg";
> 
> He seems to be refering to the IDE.
> 
> This was in a thread called "FPC" on "borland.public.delphi.non-technical".
> I've sen a few of you guys there before, so, um..?

The picture link is dead, but in general it is simply a matter of increasing
terminal/dosbox fontsize.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] 0.9.22 released

2007-03-30 Thread Mattias Gaertner
The Lazarus team is glad to announce the 0.9.22 release. This release
is based on fpc 2.0.4.

This release can be downloaded from the sourceforge download page:
http://sourceforge.net/project/showfiles.php?group_id=89339

Detailed list of changes:

LazDaemon: a package providing components and IDE items to easily
  create windows services and linux daemons from Michael Van Canneyt
Large improvements in LCL interfaces for
  carbon, gtk, gtk2, qt, wince and win32

converted iso translations to utf-8 and removed all non utf-8
translations Updated translations:
  brazilian: Antônio Galvão
  finnish: from Seppo Suutarla
  german: from Joerg Braun
  indonesian: from Zaenal Mutaqin
  italian: from Mario Bonati
  japanese: from Haruyuki Fujimaki
  polish: from Pawel
  russian: from Maxim Ganetsky
  slovak: from OI and helix84
  spanish: from Jean Solis
  
All interfaces:
  implementing setting global cursors (Screen.Cursor), loading custom
  cursors (from .cur files or from resources) and handling
  changing cursor while drag operation (DragCursor).
  Added shapes (as .cur and .lrs files) for
missed system cursors (crDrag, crNoDrag, crMultyDrag, ...)

gtk interface:
  omitting TComboBoxBox LM_CHANGED events during popup
  using default when gdk does not know the physical screen size,
fixing crash on some laptops
  added menu items short cut labels, popup sub menu of menu bar
  font for TListBox items  from sergkam
gtk2 interface:
  fixed compilation for non X based display
gtk2: improved synedit speed

carbon interface:
  Improved fonts, key handling, modal forms, Carbon TTimer
from Tom Gregorovic and Giulio Bernardi
  Removed fpcmacosall.pas, it is now part of FPC.

win32 interface:
  Fixed openfiledialogs on windows 98 and earlier
  Use GetWindowLongW and SetWindowLongW for UnicodeEnabledOS (bug 8403)
  made LCLIntf.Rectangle and TCanvas.Rectangle compatible
with Windows.Rectangle winapi function (bug 8342)
  Do not show designer windows in the taskbar
  Fixed focus after restoring a minimized window (bug 7946)

Qt interface: Message box implementation by Philip Hess

wince interface: several improvements from Roozbeh
  Added TTimer.
  Error dialogs now appear.
  Events are now working.
  Reverted all changes to make X button close the application:
  In wince X button should just minimize application, you have
  to manually add a feature to exit program.


components:
TAChart: from Philippe Martinole and Luis Rodrigues (bug 8269)
trayicon: added support for qt
   added tootip and popup menu support for qt from Felipe
h2paswizard:
  added tool to automatically add named types for implicit types
  multiple C header files can now be merged into one unit
SimpleIDEIntf: for easy testing IDE plugins outside IDE
IDE printing package from Darius

macosx installer: include gtk2 widgetset, based on X for now
rpm: using relative paths for desktop menu item,
  supporting more distributions

lazbuild: implemented overriding global compiler filename

codetools:
  local variable assignment completion: checking for Self and Result
  implemented include directives with sub paths
  code completion: implemented adding method declaration for
method body at cursor (reverse class completion)
  added heuristic to scan the Makefile.fpc files of the FPC sources
for better finding sources of FPC units
  added MacPAS mode specials: IFC, ELSEC, ELIFC, ENDC,
defined identifier, undefined identifier,
SETC, SETC name := value, out as parameter name,
property as parameter name

LCL: lots of test programs
LCL: Form.RestoredLeft/Top is now read from Left/Top
  while the form is in wsNormal state.
LCL: added property TCustomListBox.Count for Delphi compatability
LCL: FileListBox mask defaults to '*' on windows too,
  so directories without . in the name can be found too.
LCL: TCustomComboBox: do not fire OnSelect
  if ItemIndex is changed to -1
LCL: added TPointerToPointerTree.Remove
LCL: TSpeedButton: moving glyph right, down when down
LCL: TBitmap: freeing savestream on setting handle,
  added faster function to set handles: TBitmap.SetHandles
LCL: published Borderspacing for DB controls (bug 8472)
LCL: fixed FileUtil.FileIsExecutable to return false
  for directories (bug 8454)
IDE: don't save existing unit to the test directory,
  even if it is part of the project (bug 8271)
IDE: added file browse button in edit tool dialog (bug 8353)
  from David Guadagnini
IDE: when adding a package for dragging a component onto a form,
  try the unit owner of the class first, before the package
IDE: fixed check of FPC source directory,
  it doesn't require the compile sources anymore
IDE: check if debugger path name is an executable
  to prevent problems like bug 8454
LCL: made TPopupMenu.Popup virtual (Delphi compatible, #8395)
LCL: Added canvas gradientfill based on patch from David Guadagnini
IDE: formeditor patch from Yury Sidorov
  show Exception message text is displayed when exception occurs
  in component's const

Re: [fpc-pascal] A randon posting on the Borland web server

2007-03-30 Thread Matt Emson
> The picture link is dead, but in general it is simply a matter of
increasing
> terminal/dosbox fontsize.

Odd, works okay for me... Okay, I'll post this ;-)

M

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] 0.9.22 released

2007-03-30 Thread Graeme Geldenhuys

Well done to all!

Graeme.


On 3/30/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote:

The Lazarus team is glad to announce the 0.9.22 release. This release
is based on fpc 2.0.4.

This release can be downloaded from the sourceforge download page:
http://sourceforge.net/project/showfiles.php?group_id=89339

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] A randon posting on the Borland web server

2007-03-30 Thread Tomas Hajny
Matt Emson napsal(a):
>> The picture link is dead, but in general it is simply a matter of
> increasing
>> terminal/dosbox fontsize.
>
> Odd, works okay for me... Okay, I'll post this ;-)

One additional comment - if he meant window resolution (number of rows and
columns) rather than physical window size (his "bigger" isn't clear in
this context), that can be obviously changed using Layout/Window Size in
Properties (preferably performed on the created shortcut - it wouldn't
come into effect for IDE immediately if performed on existing window with
running IDE).

Tomas

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal