RE: [fpc-pascal]FPC 1.9.x assembler register conventions

2004-05-09 Thread paradice
Excellent answers. Thank you very much! > -Original Message- > From: Tomas Hajny [mailto:[EMAIL PROTECTED] > Sent: Sunday, 9 May 2004 4:44 a.m. > To: [EMAIL PROTECTED] > Subject: Re: [fpc-pascal]FPC 1.9.x assembler register conventions > > Hi Lawrence > > I'll try to answer your questions

[fpc-pascal]FPC 1.9.x assembler register conventions

2004-05-08 Thread paradice
Hi everyone - I'm currently somewhere near the beginning of porting all my assembler code to the Register calling mechanism, but I have a couple of questions I haven't managed to find the answers to online - can anyone help? 1. What registers do we have to preserve when leaving the assembler func

[fpc-pascal]Winsock DLL - 1.9.3 beta

2004-02-23 Thread paradice
Hi everyone - I am currently in the process of testing all of my code with the new 1.9.3 betas (I downloaded win32 1.9.2 and added the latest snapshot)and I think I have come across a problem with the Winsock unit. When running a winsock program I get the following error message at run-time: The

[fpc-pascal]fpc 1.9.0 beta - error 200306065

2003-11-12 Thread paradice
I get the above error code when compiling a specific unit with the new 1.9.0 beta under Win32. It doesn't occur under either 1.0.10 or 1.0.6, which are the other two versions I keep around to test things. It only occurs when *compiling* the unit. When *building* the unit, it compiles perfectly, bu

RE: [fpc-pascal]Heaptrace problem?

2003-09-30 Thread paradice
Yes - thank you very much, your indicated solution (I went in and added the "oldbp" variable) solved the problem perfectly. > -Original Message- > From: Vincent Snijders [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 30 September 2003 5:56 a.m. > To: [EMAIL PROTECTED] > Subject: Re: [fpc-pas

[fpc-pascal]Heaptrace problem?

2003-09-24 Thread paradice
Hi - Just wondering if anyone else had has problems with the "heaptrace" option on 1.0.10? (This only applies to Win32, and for me, only appears on WinME and not WinXP...) I have created a 60-line example program that illustrates the problem: http://www.paradicesoftware.com/exceptz.pas (the pro

RE: [fpc-pascal]Pascal applications running ME

2003-06-25 Thread paradice
Hi - If there is an old program that "Works in DOS" it is not a win32 exe (unless you recompile it) Other than that, I do 90% of my development on WinME (testing also on Win2k and WinXP) and have never had any problems running either Go32v2 or Win32 applications on this platform. Does the error st

RE: [fpc-pascal]Constructor failing...

2003-03-21 Thread paradice
> > But, when I use fail in my simple example program, it returns > NIL okay but > > the Heaptrace function tells me I have two unfreed memory blocks (36 > > bytes). > > I can't see a memory leak anywhere else in that program, what > could cause > > this? (Heaptrace output is as follows: I am using

RE: [fpc-pascal]Constructor failing...

2003-03-19 Thread paradice
> > > Hi again - > > > > another question; what is the best way to "fail" a constructor call? For > > example, I have a constructor "timage.loadimage()", and I want it to > > return > > "nil" if it encounters a problem (e.g. the file name doesn't exist). My > > Use fail :-) But, when I use fail in

[fpc-pascal]Constructor failing...

2003-03-19 Thread paradice
Hi again - another question; what is the best way to "fail" a constructor call? For example, I have a constructor "timage.loadimage()", and I want it to return "nil" if it encounters a problem (e.g. the file name doesn't exist). My example program is this: type mytestclass= class bo

[fpc-pascal]Smartlinking question

2003-03-19 Thread paradice
Hi all - Is there anyway I can tell exactly which procedures/functions/methods etc. are being discarded when I build an EXE with smartlinking (Win32 or DOS)??? I'm not concerned that it is doing anything wrong (I've never had a problem with it at all) but I would just like to see how much of my un