Re: [fpc-pascal] mciSendString with long file names

2022-09-20 Thread Alexander Hofmann via fpc-pascal
Hi, I'm not so sure if that's an FPC-only issue. MCI commands like that have been around for a while, so spaces might not have been "considered" in the first place. A workaround was presented years ago, I can only find the archived version: https://ftp.zx.net.nz/pub/archive/ftp.microsoft.com/M

Re: [fpc-pascal] Reading AM2302 temp/humid sensor on RaspberryPi?

2018-08-23 Thread Alexander Hofmann
Hi, I recently built a Weather-Station using an RPi and Lazarus/FPC, but: anything that's not I2C or SPI (or otherwise supported within the RPi hardware) is IHMO hard to realize. I went on and used an AVR (Arduino) to interface the DHT11, and hooked that up to the Pi with UART (just before dumping

Re: [fpc-pascal] Question on Calling Conventions (for: PascalScript on Win x64)

2012-09-06 Thread Alexander Hofmann
Am 06.09.2012 09:27, schrieb Carlo Kok: > Op 6-9-2012 02:43, Martin schreef: >> On 06/09/2012 01:28, Alexander Hofmann wrote: >>> You were right of course! I could have sweared I looked over the >>> differences of x86 and x64 numerous times, but.. .well. >>> &

Re: [fpc-pascal] Question on Calling Conventions (for: PascalScript on Win x64)

2012-09-05 Thread Alexander Hofmann
Am 05.09.2012 20:18, schrieb Florian Klämpfl: > Am 05.09.2012 18:27, schrieb Alexander Hofmann: > o Called from FPC: rcx: 0 (nil), rdx: Class Reference, r8: Value of > aOwner o Called from Script: rcx: Class Reference, rdx: 1 (!?), r8: > Value of aOwner (at least so it seems) > >

[fpc-pascal] Question on Calling Conventions (for: PascalScript on Win x64)

2012-09-05 Thread Alexander Hofmann
Hi there. This is a cross-post (cross-mail ?) to http://www.lazarus.freepascal.org/index.php/topic,17978.0.html as I got the hint there that it might be better to ask on the list instead of in the forum, at least concerning the calling conventions - but I'll ask the whole lot, anyway; I hope that'