Re: [fpc-pascal] Changes in 2.4.0

2010-03-30 Thread Jonas Maebe
On 30 Mar 2010, at 16:47, lists.fpc-pas...@duinheks.nl wrote: JM > The RTL sources indicate that they are only available when you compile your JM > application using Delphi (-Mdelphi or {$mode delphi}) or ObjFPC (-Mobjfpc JM > or {$mode objfpc}) syntax modes. The funny thing is, that I hav

Re: [fpc-pascal] Changes in 2.4.0

2010-03-30 Thread lists . fpc-pascal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Jonas, Today, Mar 30, Jonas Maebe wrote to FPC-Pascal users discussions about Re:...: Thanks to you and Michael for the speedy reply. JM > > One of the first things I stumbled upon was the absence of JM > > ResourceStringTableCount, GetResourc

Re: [fpc-pascal] Changes in 2.4.0

2010-03-30 Thread Michael Van Canneyt
These functions still exist. You must use -S2 or -Sd to see them. Or put {$mode objfpc} or {$mode delphi} in your sources. Michael. On Tue, 30 Mar 2010, lists.fpc-pas...@duinheks.nl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, After quite a long time of absence from FPC, I

Re: [fpc-pascal] Changes in 2.4.0

2010-03-30 Thread Jonas Maebe
On 30 Mar 2010, at 16:17, lists.fpc-pas...@duinheks.nl wrote: After quite a long time of absence from FPC, I decided to pick it up again. One of the first things I stumbled upon was the absence of ResourceStringTableCount, GetResourceStringHash and related functions. The RTL sources indicate

[fpc-pascal] Changes in 2.4.0

2010-03-30 Thread lists . fpc-pascal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, After quite a long time of absence from FPC, I decided to pick it up again. One of the first things I stumbled upon was the absence of ResourceStringTableCount, GetResourceStringHash and related functions. Is there somewhere a list that tells

Re: [fpc-pascal] Newbie problems with memory leak and access violation/AV

2010-03-30 Thread Jim
On 30-3-2010 9:28, Michael Van Canneyt wrote: > After allocating an object which you will free in the same routine, > you should ALWAYS put a try..finally statement, and free the object in > the > finally clause: ++ makes sense. > After that, the error still happens, but at least there is no memor

Re: [fpc-pascal] Newbie problems with memory leak and access violation/AV

2010-03-30 Thread Michael Van Canneyt
On Tue, 30 Mar 2010, Jim wrote: Hi all, Background: Hobby programmer; Microsoft Access VBA/Visual Basic 6/Visual Basic.Net background. I'm a FreePascal newbie but have fiddled with it some time ago. Was looking into learning C++ but that seems too curly, so started again. I've decided to writ

[fpc-pascal] Newbie problems with memory leak and access violation/AV

2010-03-30 Thread Jim
Hi all, Background: Hobby programmer; Microsoft Access VBA/Visual Basic 6/Visual Basic.Net background. I'm a FreePascal newbie but have fiddled with it some time ago. Was looking into learning C++ but that seems too curly, so started again. I've decided to write a file scanner program that indexes