Re: [fpc-pascal] Windows unit problems

2004-06-10 Thread Matthews
Thank you. That was exactly what I needed. -Lukas At 06:30 AM 09-06-04, you wrote: Hello, > I'm attempting to retrieve information about the current resolution > settings, but I'm not having much luck. I've downloaded the Borland Win32 > API, but I'm still stuck with creating the device context, a

[fpc-pascal] Windows unit problems

2004-06-08 Thread Matthews
I'm attempting to retrieve information about the current resolution settings, but I'm not having much luck. I've downloaded the Borland Win32 API, but I'm still stuck with creating the device context, and so on. I need some massive help with this... =( Thanks in advance. -Lukas PS The code be

[fpc-pascal] File copying

2004-05-02 Thread Matthews
I'm writing code that includes file copying, but the method I'm currently using is far too slow. I'm currently just reading a file character by character, and spitting it out to another file, character by character. Unfortunately, that's brutally slow. Any suggestions on a better method? -Luk

[fpc-pascal] Accessing the registry

2004-05-02 Thread Matthews
I would like to access the registry, but cannot figure out how to get anywhere with it. I am currently using the 1.0.10 compiler on win32 and have been unable to find any documentation for the Registry unit that was shipped with fpc. Any suggestions or pointers to documentation, examples, or

Re: [fpc-pascal] Weird DosError values

2004-02-18 Thread Matthews
Marco: I'm using 1k blocks. -Lukas At 04:29 PM 2/18/2004, you wrote: How large is your buffer? Do you try to read 2/4/8k blocks ? ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Weird DosError values

2004-02-18 Thread Matthews
estion: In the future, should I just host my code on geocities (or something) and then include a link to it instead? -Lukas At 05:11 AM 2/17/2004, you wrote: From: "Matthews" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sujbect: [fpc-pascal] Weird DosError value

[fpc-pascal] Weird DosError values

2004-02-16 Thread Matthews
Hello all. I'm using a function and a procedure, both which deal with finding files in the same directory, and then either counting them, or reading them, but I'm getting some very weird values for DosError. I'm using v1.0.10, and I continue to get a value of 183 from DosError in the function