From larrydalton71 at gmail.com Thu Sep 5 20:06:04 2024 From: larrydalton71 at gmail.com (Larry Dalton) Date: Thu, 5 Sep 2024 14:06:04 -0400 Subject: [Lazarus] tsqlquery to excel Message-ID: I am trying to access an .xlsm workbook from lazarus free pascal, using ODBC connector and tsqlquery. The ODBC Connector shows connected, but when I try to open the tsqlquery, the error code I get is "_Could not start transaction! ODBC error details:LastReturnCode:SQL_error;Record 1:;SqlState:HYC00;NativeError:105;Message:[Microsoft][ODBC Excel Driver ]Optional feature not implemented'. I am on Windows 11, using Lazarus 3.2. I don't know if that is a Lazarus Error, an ODBC Error, or Excel error. Any help? -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael at freepascal.org Thu Sep 5 20:21:48 2024 From: michael at freepascal.org (Michael Van Canneyt) Date: Thu, 5 Sep 2024 20:21:48 +0200 (CEST) Subject: [Lazarus] tsqlquery to excel In-Reply-To: References: Message-ID: <314d7270-f9cd-84c4-7920-3dbd517e55bb@freepascal.org> On Thu, 5 Sep 2024, Larry Dalton via lazarus wrote: > I am trying to access an .xlsm workbook from lazarus free pascal, using > ODBC connector and tsqlquery. > > The ODBC Connector shows connected, but when I try to open the tsqlquery, > the error code I get is "_Could not start transaction! ODBC error > details:LastReturnCode:SQL_error;Record > 1:;SqlState:HYC00;NativeError:105;Message:[Microsoft][ODBC Excel Driver > ]Optional feature not implemented'. I am on Windows 11, using Lazarus 3.2. > I don't know if that is a Lazarus Error, an ODBC Error, or Excel error. ODBC or Excel. Michael. From larrydalton71 at gmail.com Thu Sep 5 22:23:40 2024 From: larrydalton71 at gmail.com (Larry Dalton) Date: Thu, 5 Sep 2024 16:23:40 -0400 Subject: [Lazarus] tsqlquery to excel In-Reply-To: <314d7270-f9cd-84c4-7920-3dbd517e55bb@freepascal.org> References: <314d7270-f9cd-84c4-7920-3dbd517e55bb@freepascal.org> Message-ID: <1A152D50-BCF3-4EFD-8BB4-5DC0D6460A68@gmail.com> That?s what I thought. Any Excel experts out there who use Lazarus? Sent from my iPhone > On Sep 5, 2024, at 14:22, Michael Van Canneyt via lazarus wrote: > > ? > >> On Thu, 5 Sep 2024, Larry Dalton via lazarus wrote: >> >> I am trying to access an .xlsm workbook from lazarus free pascal, using >> ODBC connector and tsqlquery. >> >> The ODBC Connector shows connected, but when I try to open the tsqlquery, >> the error code I get is "_Could not start transaction! ODBC error >> details:LastReturnCode:SQL_error;Record >> 1:;SqlState:HYC00;NativeError:105;Message:[Microsoft][ODBC Excel Driver >> ]Optional feature not implemented'. I am on Windows 11, using Lazarus 3.2. >> I don't know if that is a Lazarus Error, an ODBC Error, or Excel error. > > ODBC or Excel. > > Michael. > -- > _______________________________________________ > lazarus mailing list > lazarus at lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus From wv99999 at gmail.com Thu Sep 5 23:45:22 2024 From: wv99999 at gmail.com (Wolf) Date: Fri, 6 Sep 2024 09:45:22 +1200 Subject: [Lazarus] Lazarus Icon Size Message-ID: My computer uses a 43 inch TV screen for a monitor, running at 4096x2160 resolution. This is an appropriate resolution to run programs like? Firefox or LibreOffice, since its icon sizes are customizable. For my Lazarus 3.4, dated 2024-05-26, I get icons like these i.e. an individual icon is 30x30 pixels. Since my cursor needs to be 48 pixels wide (and thus obliterates any tool help), to make it findable on the large screen, I am looking for a facility to selectively, i.e. without affecting text size in any of the editors, increase icon size in the tool bars. Does such a setting exist? Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot_20240906_092439.jpg Type: image/jpeg Size: 5685 bytes Desc: not available URL: From flavio.etrusco at gmail.com Fri Sep 6 03:46:16 2024 From: flavio.etrusco at gmail.com (=?UTF-8?Q?Fl=C3=A1vio_Etrusco?=) Date: Thu, 5 Sep 2024 22:46:16 -0300 Subject: [Lazarus] tsqlquery to excel In-Reply-To: References: Message-ID: Em qui., 5 de set. de 2024 ?s 15:16, Larry Dalton via lazarus < lazarus at lists.lazarus-ide.org> escreveu: > I am trying to access an .xlsm workbook from lazarus free pascal, using > ODBC connector and tsqlquery. > > The ODBC Connector shows connected, but when I try to open the tsqlquery, > the error code I get is "_Could not start transaction! ODBC error > details:LastReturnCode:SQL_error;Record > 1:;SqlState:HYC00;NativeError:105;Message:[Microsoft][ODBC Excel Driver > ]Optional feature not implemented'. I am on Windows 11, using Lazarus 3.2. > I don't know if that is a Lazarus Error, an ODBC Error, or Excel error. > > Any help? > -- > Do you have experience with the ODBC Excel adapter? I have none, but I assume the driver would be very limited. Have you tried using TTable? Do you get a stack trace that points to a specific method in TSqlQuery? -------------- next part -------------- An HTML attachment was scrubbed... URL: From flavio.etrusco at gmail.com Fri Sep 6 03:55:08 2024 From: flavio.etrusco at gmail.com (=?UTF-8?Q?Fl=C3=A1vio_Etrusco?=) Date: Thu, 5 Sep 2024 22:55:08 -0300 Subject: [Lazarus] Lazarus Icon Size In-Reply-To: References: Message-ID: Em qui., 5 de set. de 2024 ?s 18:51, Wolf via lazarus < lazarus at lists.lazarus-ide.org> escreveu: > My computer uses a 43 inch TV screen for a monitor, running at 4096x2160 > resolution. This is an appropriate resolution to run programs like Firefox > or LibreOffice, since its icon sizes are customizable. For my Lazarus 3.4, > dated 2024-05-26, I get icons like these > > > i.e. an individual icon is 30x30 pixels. Since my cursor needs to be 48 > pixels wide (and thus obliterates any tool help), to make it findable on > the large screen, I am looking for a facility to selectively, i.e. without > affecting text size in any of the editors, increase icon size in the tool > bars. Does such a setting exist? > > Thank you > -- > There doesn't seem to be any. Is the Components window (also accessible by the "Show All" option in the context menu) any better? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot_20240906_092439.jpg Type: image/jpeg Size: 5685 bytes Desc: not available URL: From larrydalton71 at gmail.com Sat Sep 7 19:08:00 2024 From: larrydalton71 at gmail.com (Larry Dalton) Date: Sat, 7 Sep 2024 13:08:00 -0400 Subject: [Lazarus] Still trying to connect to Microsoft Excel Message-ID: I need help with this EXCEL Error code: "Could not start transaction! ODBC error details: LastReturnCode:SQL_ERROR;Record 1:SqlStat:HYC00; NativeError:106;Message:[Microsot][ODBC Excel Driver]Optional feature not implemented;" I am trying to acces an Excel Workbook from a Lazarus pascal application using TSQLQuery I am using Microsoft365 Excel, on a Windows11 os, and Lazarus 3.2. I am using a TODBCconnection with the following settings: Name:OdbcConnection1; Driver: Microsoft Excel Driver (*.xls, *.xlsx, *.xlsm, .xlsb) Params: DBQ=C:\Programs\InventoryData\inventory.xlsm Connected=true Transaction= SqlTransaction1 I am connecting this with TSQLQuery with following settings: AutoCalcFields= true (I?ve tried both true and false with this one and doesn?t matter) Database=ODBCConnection1 ParseSQL=true SQL=Select * from [Cadillacs$] Transaction=SQLTransaction1 UsePrimaryKeyAsKey=false (tried both ways) -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmlandmesser at gmx.de Sun Sep 8 15:39:37 2024 From: jmlandmesser at gmx.de (John Landmesser) Date: Sun, 8 Sep 2024 15:39:37 +0200 Subject: [Lazarus] MenueItems keep highligted Message-ID: See: https://imgur.com/J3rRXgY.png I would expect only actual selected item would be highlighted, but this issue persists even if i refresh application on: Linux XFCE. Linux Cinnamon, Linux KDE but not on; Windows 10 SystemInformation ( multiboot) : > Generated on 2024-09-08 15:36:1725802605 > > #################### inxi -Fxzc0 ######################## > > System: > ? Kernel: 6.1.106-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1 > ? Desktop: Xfce v: 4.18.1 Distro: Manjaro base: Arch Linux > Machine: > ? Type: Laptop System: LENOVO product: 81RS v: Lenovo Yoga S740-14IIL > serial: > ? Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: required> UEFI: LENOVO > ??? v: BYCN39WW date: 05/28/2021 > Battery: > ? ID-1: BAT0 charge: 64.4 Wh (98.6%) condition: 65.3/62.0 Wh (105.3%) > volts: 17.1 min: 15.4 > ??? model: LGC L19L4PD2 status: full > CPU: > ? Info: quad core model: Intel Core i7-1065G7 bits: 64 type: MT MCP > arch: Ice Lake rev: 5 cache: > ??? L1: 320 KiB L2: 2 MiB L3: 8 MiB > ? Speed (MHz): avg: 400 min/max: 400/3900 cores: 1: 400 2: 400 3: 400 > 4: 400 5: 400 6: 400 7: 400 > ??? 8: 400 bogomips: 23968 > ? Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx > Graphics: > ? Device-1: Intel Iris Plus Graphics G7 vendor: Lenovo driver: i915 v: > kernel arch: Gen-11 > ??? bus-ID: 00:02.0 > ? Device-2: NVIDIA GP108M [GeForce MX250] vendor: Lenovo driver: > nvidia v: 550.107.02 > ??? arch: Pascal bus-ID: 2b:00.0 > ? Device-3: Chicony Integrated Camera driver: uvcvideo type: USB > bus-ID: 3-5:5 > ? Display: x11 server: X.Org v: 21.1.13 driver: X: loaded: > modesetting,nvidia unloaded: nouveau > ??? dri: iris gpu: i915 resolution: 1: 1920x1080~60Hz 2: N/A > ? API: EGL v: 1.5 drivers: iris,kms_swrast,nvidia,swrast platforms: > ??? active: gbm,x11,surfaceless,device inactive: wayland,device-1 > ? API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: > 24.1.6-arch1.1 glx-v: 1.4 > ??? direct-render: yes renderer: Mesa Intel Iris Plus Graphics (ICL GT2) > Audio: > ? Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Lenovo driver: > sof-audio-pci-intel-icl > ??? bus-ID: 00:1f.3 > ? API: ALSA v: k6.1.106-1-MANJARO status: kernel-api > ? Server-1: PipeWire v: 1.2.3 status: active > Network: > ? Device-1: Intel Ice Lake-LP PCH CNVi WiFi driver: iwlwifi v: kernel > bus-ID: 00:14.3 > ? IF: wlp0s20f3 state: up mac: > ? Device-2: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 > type: USB bus-ID: 2-1.4:4 > ? IF: enp0s13f0u1u4 state: up speed: 1000 Mbps duplex: full mac: > Bluetooth: > ? Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB > bus-ID: 3-10:8 > ? Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends > Drives: > ? Local Storage: total: 1.86 TiB used: 155.62 GiB (8.2%) > ? ID-1: /dev/nvme0n1 vendor: Micron model: MTFDHBA1T0TCK size: 953.87 > GiB temp: 46.9 C > ? ID-2: /dev/sda vendor: Western Digital model: WD10EARX-00N0YB0 size: > 931.51 GiB type: USB > ? ID-3: /dev/sdb vendor: Kingston model: DataTraveler 2.0 size: 14.54 > GiB type: USB > Partition: > ? ID-1: / size: 57.85 GiB used: 36.63 GiB (63.3%) fs: ext4 dev: > /dev/nvme0n1p8 > ? ID-2: /boot/efi size: 259.5 MiB used: 103.6 MiB (39.9%) fs: vfat > dev: /dev/nvme0n1p1 > Swap: > ? ID-1: swap-1 type: partition size: 16.67 GiB used: 0 KiB (0.0%) dev: > /dev/nvme0n1p9 > Sensors: > ? System Temperatures: cpu: 49.0 C mobo: N/A > ? Fan Speeds (rpm): N/A > Info: > ? Memory: total: 16 GiB note: est. available: 15.19 GiB used: 2.32 GiB > (15.2%) > ? Processes: 262 Uptime: 47m Init: systemd > ? Packages: 1724 Compilers: clang: 18.1.8 gcc: 14.2.1 Client: Unknown > Client: wrapper-2.0 > ??? inxi: 3.3.36 > > Should i write a bug report for this ? From jmlandmesser at gmx.de Sun Sep 8 15:45:19 2024 From: jmlandmesser at gmx.de (John Landmesser) Date: Sun, 8 Sep 2024 15:45:19 +0200 Subject: [Lazarus] MenueItems keep highligted In-Reply-To: References: Message-ID: Forgot to mention: Lazarus 3.99 (rev main_3_99-2571-gb83d086ebd) FPC 3.2.2 x86_64-linux-gtk2 Its a TMainMenue Am 08.09.24 um 15:39 schrieb John Landmesser via lazarus: > See: > > https://imgur.com/J3rRXgY.png > > I would expect only actual selected item would be highlighted, but this > issue persists even if i refresh application on: > > Linux XFCE. Linux Cinnamon, Linux KDE > > but not on; > > Windows 10 > > SystemInformation ( multiboot) : > >> Generated on 2024-09-08 15:36:1725802605 >> >> #################### inxi -Fxzc0 ######################## >> >> System: >> ? Kernel: 6.1.106-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: >> 14.2.1 >> ? Desktop: Xfce v: 4.18.1 Distro: Manjaro base: Arch Linux >> Machine: >> ? Type: Laptop System: LENOVO product: 81RS v: Lenovo Yoga S740-14IIL >> serial: >> ? Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: > required> UEFI: LENOVO >> ??? v: BYCN39WW date: 05/28/2021 >> Battery: >> ? ID-1: BAT0 charge: 64.4 Wh (98.6%) condition: 65.3/62.0 Wh (105.3%) >> volts: 17.1 min: 15.4 >> ??? model: LGC L19L4PD2 status: full >> CPU: >> ? Info: quad core model: Intel Core i7-1065G7 bits: 64 type: MT MCP >> arch: Ice Lake rev: 5 cache: >> ??? L1: 320 KiB L2: 2 MiB L3: 8 MiB >> ? Speed (MHz): avg: 400 min/max: 400/3900 cores: 1: 400 2: 400 3: 400 >> 4: 400 5: 400 6: 400 7: 400 >> ??? 8: 400 bogomips: 23968 >> ? Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx >> Graphics: >> ? Device-1: Intel Iris Plus Graphics G7 vendor: Lenovo driver: i915 v: >> kernel arch: Gen-11 >> ??? bus-ID: 00:02.0 >> ? Device-2: NVIDIA GP108M [GeForce MX250] vendor: Lenovo driver: >> nvidia v: 550.107.02 >> ??? arch: Pascal bus-ID: 2b:00.0 >> ? Device-3: Chicony Integrated Camera driver: uvcvideo type: USB >> bus-ID: 3-5:5 >> ? Display: x11 server: X.Org v: 21.1.13 driver: X: loaded: >> modesetting,nvidia unloaded: nouveau >> ??? dri: iris gpu: i915 resolution: 1: 1920x1080~60Hz 2: N/A >> ? API: EGL v: 1.5 drivers: iris,kms_swrast,nvidia,swrast platforms: >> ??? active: gbm,x11,surfaceless,device inactive: wayland,device-1 >> ? API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: >> 24.1.6-arch1.1 glx-v: 1.4 >> ??? direct-render: yes renderer: Mesa Intel Iris Plus Graphics (ICL GT2) >> Audio: >> ? Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Lenovo driver: >> sof-audio-pci-intel-icl >> ??? bus-ID: 00:1f.3 >> ? API: ALSA v: k6.1.106-1-MANJARO status: kernel-api >> ? Server-1: PipeWire v: 1.2.3 status: active >> Network: >> ? Device-1: Intel Ice Lake-LP PCH CNVi WiFi driver: iwlwifi v: kernel >> bus-ID: 00:14.3 >> ? IF: wlp0s20f3 state: up mac: >> ? Device-2: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 >> type: USB bus-ID: 2-1.4:4 >> ? IF: enp0s13f0u1u4 state: up speed: 1000 Mbps duplex: full mac: >> >> Bluetooth: >> ? Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB >> bus-ID: 3-10:8 >> ? Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends >> Drives: >> ? Local Storage: total: 1.86 TiB used: 155.62 GiB (8.2%) >> ? ID-1: /dev/nvme0n1 vendor: Micron model: MTFDHBA1T0TCK size: 953.87 >> GiB temp: 46.9 C >> ? ID-2: /dev/sda vendor: Western Digital model: WD10EARX-00N0YB0 size: >> 931.51 GiB type: USB >> ? ID-3: /dev/sdb vendor: Kingston model: DataTraveler 2.0 size: 14.54 >> GiB type: USB >> Partition: >> ? ID-1: / size: 57.85 GiB used: 36.63 GiB (63.3%) fs: ext4 dev: >> /dev/nvme0n1p8 >> ? ID-2: /boot/efi size: 259.5 MiB used: 103.6 MiB (39.9%) fs: vfat >> dev: /dev/nvme0n1p1 >> Swap: >> ? ID-1: swap-1 type: partition size: 16.67 GiB used: 0 KiB (0.0%) dev: >> /dev/nvme0n1p9 >> Sensors: >> ? System Temperatures: cpu: 49.0 C mobo: N/A >> ? Fan Speeds (rpm): N/A >> Info: >> ? Memory: total: 16 GiB note: est. available: 15.19 GiB used: 2.32 GiB >> (15.2%) >> ? Processes: 262 Uptime: 47m Init: systemd >> ? Packages: 1724 Compilers: clang: 18.1.8 gcc: 14.2.1 Client: Unknown >> Client: wrapper-2.0 >> ??? inxi: 3.3.36 >> >> > Should i write a bug report for this ? > > > From jmlandmesser at gmx.de Sun Sep 8 17:04:29 2024 From: jmlandmesser at gmx.de (John Landmesser) Date: Sun, 8 Sep 2024 17:04:29 +0200 Subject: [Lazarus] MenueItems keep highligted In-Reply-To: References: Message-ID: Must be an error by myself ... sample apps just run fine :-( Am 08.09.24 um 15:45 schrieb John Landmesser via lazarus: > Forgot to mention: > > Lazarus 3.99 (rev main_3_99-2571-gb83d086ebd) FPC 3.2.2 x86_64-linux-gtk2 > > Its a TMainMenue > > > Am 08.09.24 um 15:39 schrieb John Landmesser via lazarus: >> See: >> >> https://imgur.com/J3rRXgY.png >> >> I would expect only actual selected item would be highlighted, but this >> issue persists even if i refresh application on: >> >> Linux XFCE. Linux Cinnamon, Linux KDE >> >> but not on; >> >> Windows 10 >> >> SystemInformation ( multiboot) : >> >>> Generated on 2024-09-08 15:36:1725802605 >>> >>> #################### inxi -Fxzc0 ######################## >>> >>> System: >>> ? Kernel: 6.1.106-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: >>> 14.2.1 >>> ? Desktop: Xfce v: 4.18.1 Distro: Manjaro base: Arch Linux >>> Machine: >>> ? Type: Laptop System: LENOVO product: 81RS v: Lenovo Yoga S740-14IIL >>> serial: >>> ? Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: >> required> UEFI: LENOVO >>> ??? v: BYCN39WW date: 05/28/2021 >>> Battery: >>> ? ID-1: BAT0 charge: 64.4 Wh (98.6%) condition: 65.3/62.0 Wh (105.3%) >>> volts: 17.1 min: 15.4 >>> ??? model: LGC L19L4PD2 status: full >>> CPU: >>> ? Info: quad core model: Intel Core i7-1065G7 bits: 64 type: MT MCP >>> arch: Ice Lake rev: 5 cache: >>> ??? L1: 320 KiB L2: 2 MiB L3: 8 MiB >>> ? Speed (MHz): avg: 400 min/max: 400/3900 cores: 1: 400 2: 400 3: 400 >>> 4: 400 5: 400 6: 400 7: 400 >>> ??? 8: 400 bogomips: 23968 >>> ? Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx >>> Graphics: >>> ? Device-1: Intel Iris Plus Graphics G7 vendor: Lenovo driver: i915 v: >>> kernel arch: Gen-11 >>> ??? bus-ID: 00:02.0 >>> ? Device-2: NVIDIA GP108M [GeForce MX250] vendor: Lenovo driver: >>> nvidia v: 550.107.02 >>> ??? arch: Pascal bus-ID: 2b:00.0 >>> ? Device-3: Chicony Integrated Camera driver: uvcvideo type: USB >>> bus-ID: 3-5:5 >>> ? Display: x11 server: X.Org v: 21.1.13 driver: X: loaded: >>> modesetting,nvidia unloaded: nouveau >>> ??? dri: iris gpu: i915 resolution: 1: 1920x1080~60Hz 2: N/A >>> ? API: EGL v: 1.5 drivers: iris,kms_swrast,nvidia,swrast platforms: >>> ??? active: gbm,x11,surfaceless,device inactive: wayland,device-1 >>> ? API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: >>> 24.1.6-arch1.1 glx-v: 1.4 >>> ??? direct-render: yes renderer: Mesa Intel Iris Plus Graphics (ICL >>> GT2) >>> Audio: >>> ? Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Lenovo driver: >>> sof-audio-pci-intel-icl >>> ??? bus-ID: 00:1f.3 >>> ? API: ALSA v: k6.1.106-1-MANJARO status: kernel-api >>> ? Server-1: PipeWire v: 1.2.3 status: active >>> Network: >>> ? Device-1: Intel Ice Lake-LP PCH CNVi WiFi driver: iwlwifi v: kernel >>> bus-ID: 00:14.3 >>> ? IF: wlp0s20f3 state: up mac: >>> ? Device-2: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 >>> type: USB bus-ID: 2-1.4:4 >>> ? IF: enp0s13f0u1u4 state: up speed: 1000 Mbps duplex: full mac: >>> >>> Bluetooth: >>> ? Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB >>> bus-ID: 3-10:8 >>> ? Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends >>> Drives: >>> ? Local Storage: total: 1.86 TiB used: 155.62 GiB (8.2%) >>> ? ID-1: /dev/nvme0n1 vendor: Micron model: MTFDHBA1T0TCK size: 953.87 >>> GiB temp: 46.9 C >>> ? ID-2: /dev/sda vendor: Western Digital model: WD10EARX-00N0YB0 size: >>> 931.51 GiB type: USB >>> ? ID-3: /dev/sdb vendor: Kingston model: DataTraveler 2.0 size: 14.54 >>> GiB type: USB >>> Partition: >>> ? ID-1: / size: 57.85 GiB used: 36.63 GiB (63.3%) fs: ext4 dev: >>> /dev/nvme0n1p8 >>> ? ID-2: /boot/efi size: 259.5 MiB used: 103.6 MiB (39.9%) fs: vfat >>> dev: /dev/nvme0n1p1 >>> Swap: >>> ? ID-1: swap-1 type: partition size: 16.67 GiB used: 0 KiB (0.0%) dev: >>> /dev/nvme0n1p9 >>> Sensors: >>> ? System Temperatures: cpu: 49.0 C mobo: N/A >>> ? Fan Speeds (rpm): N/A >>> Info: >>> ? Memory: total: 16 GiB note: est. available: 15.19 GiB used: 2.32 GiB >>> (15.2%) >>> ? Processes: 262 Uptime: 47m Init: systemd >>> ? Packages: 1724 Compilers: clang: 18.1.8 gcc: 14.2.1 Client: Unknown >>> Client: wrapper-2.0 >>> ??? inxi: 3.3.36 >>> >>> >> Should i write a bug report for this ? >> >> >> > From lazarus at kluug.net Wed Sep 11 10:32:32 2024 From: lazarus at kluug.net (Ondrej Pokorny) Date: Wed, 11 Sep 2024 10:32:32 +0200 Subject: [Lazarus] tsqlquery to excel In-Reply-To: <1A152D50-BCF3-4EFD-8BB4-5DC0D6460A68@gmail.com> References: <314d7270-f9cd-84c4-7920-3dbd517e55bb@freepascal.org> <1A152D50-BCF3-4EFD-8BB4-5DC0D6460A68@gmail.com> Message-ID: <6cd2b84c-c8fb-47a8-8fd3-e76153a500d9@kluug.net> On 05.09.2024 22:23, Larry Dalton via lazarus wrote: > That?s what I thought. Any Excel experts out there who use Lazarus? Check https://wiki.lazarus.freepascal.org/FPSpreadsheet Ondrej From bartjunk64 at gmail.com Thu Sep 12 12:27:09 2024 From: bartjunk64 at gmail.com (Bart) Date: Thu, 12 Sep 2024 12:27:09 +0200 Subject: [Lazarus] TMenu(Item) AutoLineReduction: help needed from Delphi users/owners Message-ID: Hi, We've recently implemented the AutoLineReduction property for TMenu(Item). The current implementation is based upon the Delphi docs and some limited user input. So, questions remain. For those who have a recent Delphi installed, can you please try to answer these 2 questions (I have D7, which is, to be mild, a bit ancient). Question 1. Given the following Menu: TopLevel - ItemA - Separator - ItemB - Separator - ItemC Given that TopLevelA.GetAutoLineRedction will return True. Now I do: ItemB.Visible := False Then I do: TopLevel.RethinkLines. This will hide one of the 2 now consective separators (in our implementation it hides the second one). So it will show as TopLevel - ItemA - Separator - ItemC I suppose this is how Delphi works as well. So far, so good. Now I do: ItemB.Visible := True Then I do: TopLevel.RethinkLines. I implemented RethinkLines such that it will now restore the separator after ItemB, because this makes sense to me. But I have absolutely no idea if Delphi does this as well. Question 2 Given the following Menu: TopLevel - Separator - ItemA - Separator - Separator - ItemB - Separator - Separator - ItemC - Separator And TopLevel.AutoLineReduction starts out as maManual, so all separators are visible. Now I do: TopLevel.AutoLineReduction := maAutomatic Then I do: TopLevel.RethinkLines It will now show as: - ItemA - Separator - ItemB - Separator - ItemC This is Delphi compatible AFAIK. Now I do: TopLevel.AutoLineReduction := maManual Then I do: TopLevel.RethinkLines I implemented RethinkLines so that this will set all separators Visble property to True again. This makes sense to me, as it performs the opposite action of maAutomatic. But again, I'm not really sure this is what Delphi does in this case. So, your (Delphi users/owners) help is appreciated. Thanks in advance. -- Bart -------------- next part -------------- An HTML attachment was scrubbed... URL: From werner.pamler at freenet.de Thu Sep 12 15:06:47 2024 From: werner.pamler at freenet.de (Werner Pamler) Date: Thu, 12 Sep 2024 15:06:47 +0200 Subject: [Lazarus] TMenu(Item) AutoLineReduction: help needed from Delphi users/owners In-Reply-To: References: Message-ID: This is with Delphi XE 11.3 (Community Edition) (do you know that the Community Edition is free? Its license conditions (non-commercial or commercial if total revenues < 5000 $) certainly apply to FPC/Laz development): > Question 1. > > Given the following Menu: > TopLevel > - ItemA > - Separator > - ItemB > - Separator > - ItemC > > Given that TopLevelA.GetAutoLineRedction will return True. TMenuItem.GetAutoLineReduction is protected. I used subclassing to verify that it is true > Now I do: ItemB.Visible := False > Then I do: TopLevel.RethinkLines. > > This will hide one of the 2 now consective separators (in our > implementation it hides the second one). > So it will show as > TopLevel > - ItemA > - Separator > - ItemC > > I suppose this is how Delphi works as well. Yes. > Now I do: ItemB.Visible := True > Then I do: TopLevel.RethinkLines. > > I implemented RethinkLines such that it will now restore the separator > after ItemB, because this makes sense to me. > But I have absolutely no idea if Delphi does this as well. Restores ItemB and the separator > Question 2 > > Given the following Menu: > TopLevel > - Separator > - ItemA > - Separator > - Separator > - ItemB > - Separator > - Separator > - ItemC > - Separator > > And TopLevel.AutoLineReduction starts out as maManual, so all > separators are visible. Yes > Now I do: TopLevel.AutoLineReduction := maAutomatic > Then I do: TopLevel.RethinkLines > > It will now show as: > - ItemA > - Separator > - ItemB > - Separator > - ItemC > > This is Delphi compatible AFAIK. Hmmm... I have this code in a button. When I click on this button immediately after running the project, you are right, there are only single separators. But when I first open the menu to verify the double separators and then click on the button, nothing changes, and the double separators remain... > Now I do: TopLevel.AutoLineReduction := maManual > Then I do: TopLevel.RethinkLines > > I implemented RethinkLines so that this will set all separators Visble > property to True again. > This makes sense to me, as it performs the opposite action of maAutomatic. > But again, I'm not really sure this is what Delphi does in this case. I added a second button for the maManual code. Running the program and clicking both buttons in the order of your description, nothing changes - there are still single separators. From bartjunk64 at gmail.com Thu Sep 12 19:06:35 2024 From: bartjunk64 at gmail.com (Bart) Date: Thu, 12 Sep 2024 19:06:35 +0200 Subject: [Lazarus] TMenu(Item) AutoLineReduction: help needed from Delphi users/owners In-Reply-To: References: Message-ID: On Thu, Sep 12, 2024 at 3:16?PM Werner Pamler via lazarus wrote: > > I suppose this is how Delphi works as well. > Yes. Thanks for confirming. > > But I have absolutely no idea if Delphi does this as well. > Restores ItemB RethinkLines did not restore ItemB, we did it on purpose before calling RethinkLines. > and the separator So, I did it OK then in this case. > > Question 2 > > And TopLevel.AutoLineReduction starts out as maManual, so all > > separators are visible. > Yes > > Now I do: TopLevel.AutoLineReduction := maAutomatic > > Then I do: TopLevel.RethinkLines > > > > It will now show as: > > - ItemA > > - Separator > > - ItemB > > - Separator > > - ItemC > > > > This is Delphi compatible AFAIK. > Hmmm... I have this code in a button. When I click on this button > immediately after running the project, you are right, there are only > single separators. But when I first open the menu to verify the double > separators and then click on the button, nothing changes, and the double > separators remain... So, RethinkLines only works if the menu was never shown before? That's confusing to say the least. It's also not what the documents suggest, > > I implemented RethinkLines so that this will set all separators Visble > > property to True again. > I added a second button for the maManual code. Running the program and > clicking both buttons in the order of your description, nothing changes > - there are still single separators. This begs the question: what is the use of having maManual in that case. But that part of the code can easily be removed/commented out. I did implement it that way based upon a comment in the bugtracker though, so that confuses me even more. -- Bart From michael at freepascal.org Wed Sep 18 11:52:15 2024 From: michael at freepascal.org (Michael Van Canneyt) Date: Wed, 18 Sep 2024 11:52:15 +0200 (CEST) Subject: [Lazarus] Cursor past EOL Message-ID: <7e74e3fe-7c22-7b90-0d5-f0199adbfcae@freepascal.org> Hi, In the Tools - Options menu, if you search for 'EOL' then you will notice that there are 2 'Cursor past EOL'-alike options. One under Editor - General, one under Codetools - General. Is this intentional ? If so, what is the difference ? The one under "codetools" seems not to have any effect (or I misunderstand the effect). If it is obsolete, maybe it can be removed ? I recommended the second one to a user, and he complained it did not work, it took me some time to realize he needed the first one... Michael. From lazarus at mfriebe.de Wed Sep 18 12:01:02 2024 From: lazarus at mfriebe.de (Martin Frb) Date: Wed, 18 Sep 2024 12:01:02 +0200 Subject: [Lazarus] Cursor past EOL In-Reply-To: <7e74e3fe-7c22-7b90-0d5-f0199adbfcae@freepascal.org> References: <7e74e3fe-7c22-7b90-0d5-f0199adbfcae@freepascal.org> Message-ID: IIRC... / not verified the one under codetools is used if codetools places the cursor (after creating code). If you complete a class, and a new method body is created, then it will place the cursor 2 non-existing spaces into the line. With this option, codetools will have the permission to do so, even if the caret can otherwise *not* be after EOL. On 18/09/2024 11:52, Michael Van Canneyt via lazarus wrote: > Cursor past EOL'-alike options From jmlandmesser at gmx.de Wed Sep 18 15:03:35 2024 From: jmlandmesser at gmx.de (John Landmesser) Date: Wed, 18 Sep 2024 15:03:35 +0200 Subject: [Lazarus] LCLWidgetType:=qt5 not to configure in source code ? Message-ID: <70bba99e-acc2-46e6-9778-7b34b482663e@gmx.de> I can set LCLWidgetType:=qt5 in an extra build mode. But i was asking myself why not use something like this: > unit Config; > > interface > > {$IFDEF linux} > const > ? WidgetType = 'qt5'; > {$ELSE} > ? const > ? WidgetType = 'gtk2'; > {$ENDIF} > > implementation > > end. ?include this unit in uses clause of mainform ... has no effect ! Ok, but why ? Tipps are welcome ... John Landmesser From nc-gaertnma at netcologne.de Wed Sep 18 15:22:12 2024 From: nc-gaertnma at netcologne.de (Mattias Gaertner) Date: Wed, 18 Sep 2024 15:22:12 +0200 Subject: [Lazarus] LCLWidgetType:=qt5 not to configure in source code ? In-Reply-To: <70bba99e-acc2-46e6-9778-7b34b482663e@gmx.de> References: <70bba99e-acc2-46e6-9778-7b34b482663e@gmx.de> Message-ID: <51b65e53-6aa6-4be7-af2c-5c4eaf7dfbe0@netcologne.de> On 9/18/24 15:03, John Landmesser via lazarus wrote: > I can set LCLWidgetType:=qt5 in an extra build mode. But i was asking > myself why not use something like this: > >> unit Config; >> >> interface >> >> {$IFDEF linux} >> const >> ? WidgetType = 'qt5'; >> {$ELSE} >> ? const >> ? WidgetType = 'gtk2'; >> {$ENDIF} >> >> implementation >> >> end. > > ?include this unit in uses clause of mainform ... has no effect ! > > Ok, but why ? The LCLWidgetType is an IDE macro. The package lcl has some conditionals to add unit paths and for some widgettypes linker options. If you want to compile a lcl app without Lazarus/lazbuild and without passing command line options, then you could add unit paths to the source. You loose comfort - you have been warned. Mattias From jmlandmesser at gmx.de Wed Sep 18 15:43:59 2024 From: jmlandmesser at gmx.de (John Landmesser) Date: Wed, 18 Sep 2024 15:43:59 +0200 Subject: [Lazarus] LCLWidgetType:=qt5 not to configure in source code ? In-Reply-To: <51b65e53-6aa6-4be7-af2c-5c4eaf7dfbe0@netcologne.de> References: <70bba99e-acc2-46e6-9778-7b34b482663e@gmx.de> <51b65e53-6aa6-4be7-af2c-5c4eaf7dfbe0@netcologne.de> Message-ID: <05427767-b5c0-4da6-a2c5-8efb494dd916@gmx.de> Am 18.09.24 um 15:22 schrieb Mattias Gaertner via lazarus: > > > On 9/18/24 15:03, John Landmesser via lazarus wrote: >> I can set LCLWidgetType:=qt5 in an extra build mode. But i was asking >> myself why not use something like this: >> >>> unit Config; >>> >>> interface >>> >>> {$IFDEF linux} >>> const >>> ? WidgetType = 'qt5'; >>> {$ELSE} >>> ? const >>> ? WidgetType = 'gtk2'; >>> {$ENDIF} >>> >>> implementation >>> >>> end. >> >> ??include this unit in uses clause of mainform ... has no effect ! >> >> Ok, but why ? > > The LCLWidgetType is an IDE macro. The package lcl has some > conditionals to add unit paths and for some widgettypes linker options. > If you want to compile a lcl app without Lazarus/lazbuild and without > passing command line options, then you could add unit paths to the > source. You loose comfort - you have been warned. > > > Mattias > Thanks, i keep using build modes ... better for a noob like me :-) From larrydalton71 at gmail.com Sun Sep 22 17:49:21 2024 From: larrydalton71 at gmail.com (Larry Dalton) Date: Sun, 22 Sep 2024 11:49:21 -0400 Subject: [Lazarus] Android applications Message-ID: I am trying my first Android app, using lazarus 3.2.2, on Windows 11. When I try to build the application, I get the error C:\lazarus\fpc\3.2.2\bin\x86_64-win64\fpc.exe does not support target arm-linux. In the configurator "Build Lazarus", the settings I have are 'Profile to Build='Clean up + Build All' LCL Widget Type=win32/win64 Target OS= linux Target CPU=arm. What's my next step to correct this? Copilot AI says download cross-compiler for arm-linux -------------- next part -------------- An HTML attachment was scrubbed... URL: From jean.suzineau at wanadoo.fr Mon Sep 23 00:21:51 2024 From: jean.suzineau at wanadoo.fr (Jean SUZINEAU) Date: Mon, 23 Sep 2024 00:21:51 +0200 Subject: [Lazarus] Android applications In-Reply-To: References: Message-ID: May be it would be easier to use LAMW Lazarus for Android module Wizard ? It can install on Windows all the stuff needed to build applications for Android with Lazarus. https://wiki.lazarus.freepascal.org/LAMW From larrydalton71 at gmail.com Mon Sep 23 01:23:43 2024 From: larrydalton71 at gmail.com (Larry Dalton) Date: Sun, 22 Sep 2024 19:23:43 -0400 Subject: [Lazarus] Android applications In-Reply-To: References: Message-ID: It?s already loaded and installed. Still get the same error code On Sun, Sep 22, 2024 at 18:22 Jean SUZINEAU via lazarus < lazarus at lists.lazarus-ide.org> wrote: > May be it would be easier to use LAMW Lazarus for Android module Wizard ? > > It can install on Windows all the stuff needed to build applications for > Android with Lazarus. > > https://wiki.lazarus.freepascal.org/LAMW > > -- > _______________________________________________ > lazarus mailing list > lazarus at lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jean.suzineau at wanadoo.fr Mon Sep 23 09:15:12 2024 From: jean.suzineau at wanadoo.fr (Jean SUZINEAU) Date: Mon, 23 Sep 2024 09:15:12 +0200 Subject: [Lazarus] Android applications In-Reply-To: References: Message-ID: <6b7a4f65-0fc3-4e7b-badc-f30b14f3dd91@wanadoo.fr> Usually to build the application with LAMW, I use the? Lazarus menu "Run" /? "[LAMW] Build Android Apk and Run" The LAMW application consist of a dll project controls.lpr loaded by the android java program through JNI. For controls.lpr, the target OS is Android, target CPU arm. From nc-gaertnma at netcologne.de Mon Sep 23 09:25:11 2024 From: nc-gaertnma at netcologne.de (Mattias Gaertner) Date: Mon, 23 Sep 2024 09:25:11 +0200 Subject: [Lazarus] Android applications In-Reply-To: References: Message-ID: <2c356d14-f06f-4335-baac-a88773638d91@netcologne.de> On 9/22/24 17:49, Larry Dalton via lazarus wrote: > I am trying my first Android app, using lazarus 3.2.2, on Windows 11. When > I try to build the application, I get the error > C:\lazarus\fpc\3.2.2\bin\x86_64-win64\fpc.exe does not support target > arm-linux. You need to install a fpc cross compiler for arm-linux. Copilot was correct here. > In the configurator "Build Lazarus", the settings I have are > 'Profile to Build='Clean up + Build All' The "Build Lazarus" is for building the IDE. For your project look into Project / Project Options / Compiler Options. Mattias From bo.berglund at gmail.com Tue Sep 24 09:09:07 2024 From: bo.berglund at gmail.com (Bo Berglund) Date: Tue, 24 Sep 2024 09:09:07 +0200 Subject: [Lazarus] Can Lazarus/FPC sign the created executables (Windows)? Message-ID: I have run into a problem where certain customers require the applications to be "signed" and now I wonder if there is an option somewhere in Lazarus or FPC to do that when building an app? If so how does one go about it? Googling brings up stuff about Windows SDK etc, but I want to stay with FPC if possible.... Has someone here already done this and can share the way to do it? -- Bo Berglund Developer in Sweden From michael at freepascal.org Tue Sep 24 11:12:11 2024 From: michael at freepascal.org (Michael Van Canneyt) Date: Tue, 24 Sep 2024 11:12:11 +0200 (CEST) Subject: [Lazarus] Can Lazarus/FPC sign the created executables (Windows)? In-Reply-To: References: Message-ID: On Tue, 24 Sep 2024, Bo Berglund via lazarus wrote: > I have run into a problem where certain customers require the applications to be > "signed" and now I wonder if there is an option somewhere in Lazarus or FPC to > do that when building an app? > > If so how does one go about it? > > Googling brings up stuff about Windows SDK etc, but I want to stay with FPC if > possible.... > > Has someone here already done this and can share the way to do it? Signing needs to be done outside of the compiler. Lazarus can probably make a nice GUI for it and do the signing after the compile step is finished, but it is not part of the compiling step. It's just a matter of executing the windows "signtool" with the correct options. (and the signtool is indeed part of the SDK, so you will need it in each case) Michael. From lazarus at mfriebe.de Tue Sep 24 11:20:26 2024 From: lazarus at mfriebe.de (Martin Frb) Date: Tue, 24 Sep 2024 11:20:26 +0200 Subject: [Lazarus] Can Lazarus/FPC sign the created executables (Windows)? In-Reply-To: References: Message-ID: <43124f02-d27d-40f4-9127-7c70210fa9c3@mfriebe.de> On 24/09/2024 09:09, Bo Berglund via lazarus wrote: > I have run into a problem where certain customers require the applications to be > "signed" and now I wonder if there is an option somewhere in Lazarus or FPC to > do that when building an app? > > If so how does one go about it? > > Googling brings up stuff about Windows SDK etc, but I want to stay with FPC if > possible.... > > Has someone here already done this and can share the way to do it? " Project Options" => "Compiler Commands" You can use "Execute after" to invoke the "signtool.exe" (can be downloaded from Microsoft). Neither Lazarus, nor Fpc contain the functionality of the signtool (or any similar software). The rest depends on the certificate that you use to sign with. (I.e. where/how it is stored/accessed) From bo.berglund at gmail.com Tue Sep 24 12:15:49 2024 From: bo.berglund at gmail.com (Bo Berglund) Date: Tue, 24 Sep 2024 12:15:49 +0200 Subject: [Lazarus] Can Lazarus/FPC sign the created executables (Windows)? References: <43124f02-d27d-40f4-9127-7c70210fa9c3@mfriebe.de> Message-ID: On Tue, 24 Sep 2024 11:20:26 +0200, Martin Frb via lazarus wrote: >On 24/09/2024 09:09, Bo Berglund via lazarus wrote: >> I have run into a problem where certain customers require the applications to be >> "signed" and now I wonder if there is an option somewhere in Lazarus or FPC to >> do that when building an app? >> >> If so how does one go about it? >> >> Googling brings up stuff about Windows SDK etc, but I want to stay with FPC if >> possible.... >> >> Has someone here already done this and can share the way to do it? >" Project Options" => "Compiler Commands" > >You can use "Execute after" to invoke the "signtool.exe" (can be >downloaded from Microsoft). >Neither Lazarus, nor Fpc contain the functionality of the signtool (or >any similar software). > >The rest depends on the certificate that you use to sign with. (I.e. >where/how it is stored/accessed) OK, thanks. I downloaded the Windows SDK installer and when I ran it I got to a selection page where I could select to ONLY install the signing tool. The InnoSetup6 install builder does have support for signing so I will go there for further research. -- Bo Berglund Developer in Sweden From lazarus at mfriebe.de Tue Sep 24 12:32:21 2024 From: lazarus at mfriebe.de (Martin Frb) Date: Tue, 24 Sep 2024 12:32:21 +0200 Subject: [Lazarus] Can Lazarus/FPC sign the created executables (Windows)? In-Reply-To: References: <43124f02-d27d-40f4-9127-7c70210fa9c3@mfriebe.de> Message-ID: On 24/09/2024 12:15, Bo Berglund via lazarus wrote: > OK, thanks. > > I downloaded the Windows SDK installer and when I ran it I got to a selection > page where I could select to ONLY install the signing tool. > > The InnoSetup6 install builder does have support for signing so I will go there > for further research. Well, do you have a certificate? This is the command I use ?? signtool.exe? sign /tr http://timestamp.digicert.com /td sha256 /fd sha256 /a ? ? C:\path\to\target.exe The params are explained on https://learn.microsoft.com/en-us/dotnet/framework/tools/signtool-exe The /tr .... /td...? is optional, but recommended. And there is a list of time servers that can be used If you have more than one certificate (added to the windows certificate store), then you may need to add something to select the one you want.... Usually, if you buy a cert, you get a piece of hardware? (e.g. usb dongle) and instructions which extra software to use to add the cert from that hardware to the cert store. (and it will only work while the dongle is plugged in). If you want to use a self issued cert, you need to find a tutorial on that => but windows will not trust self signed certs... (Well the user may or may not be able to add your cert to their trusted cert list, but I have no idea ...) -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael at freepascal.org Tue Sep 24 13:09:14 2024 From: michael at freepascal.org (Michael Van Canneyt) Date: Tue, 24 Sep 2024 13:09:14 +0200 (CEST) Subject: [Lazarus] Can Lazarus/FPC sign the created executables (Windows)? In-Reply-To: References: <43124f02-d27d-40f4-9127-7c70210fa9c3@mfriebe.de> Message-ID: <1b1f059-f37-7b69-2eda-fa38b9444ba5@freepascal.org> On Tue, 24 Sep 2024, Martin Frb via lazarus wrote: > On 24/09/2024 12:15, Bo Berglund via lazarus wrote: >> OK, thanks. >> >> I downloaded the Windows SDK installer and when I ran it I got to a >> selection >> page where I could select to ONLY install the signing tool. >> >> The InnoSetup6 install builder does have support for signing so I will go >> there >> for further research. > > Well, do you have a certificate? > > This is the command I use > ?? signtool.exe? sign /tr http://timestamp.digicert.com /td sha256 /fd sha256 > /a ? ? C:\path\to\target.exe > The params are explained on > https://learn.microsoft.com/en-us/dotnet/framework/tools/signtool-exe > > The /tr .... /td...? is optional, but recommended. And there is a list of > time servers that can be used > > If you have more than one certificate (added to the windows certificate > store), then you may need to add something to select the one you want.... > > > Usually, if you buy a cert, you get a piece of hardware? (e.g. usb dongle) > and instructions which extra software to use to add the cert from that > hardware to the cert store. (and it will only work while the dongle is > plugged in). > > If you want to use a self issued cert, you need to find a tutorial on that => > but windows will not trust self signed certs... (Well the user may or may not > be able to add your cert to their trusted cert list, but I have no idea ...) It's maybe an idea to add a small wizard for this to the IDE, for beginners this would be easier. Michael. From larrydalton71 at gmail.com Wed Sep 25 05:32:35 2024 From: larrydalton71 at gmail.com (Larry Dalton) Date: Tue, 24 Sep 2024 23:32:35 -0400 Subject: [Lazarus] Android applications In-Reply-To: <2c356d14-f06f-4335-baac-a88773638d91@netcologne.de> References: <2c356d14-f06f-4335-baac-a88773638d91@netcologne.de> Message-ID: I need to know which cross compiler I need, and where I can download it On Mon, Sep 23, 2024 at 03:25 Mattias Gaertner via lazarus < lazarus at lists.lazarus-ide.org> wrote: > > > On 9/22/24 17:49, Larry Dalton via lazarus wrote: > > I am trying my first Android app, using lazarus 3.2.2, on Windows 11. > When > > I try to build the application, I get the error > > C:\lazarus\fpc\3.2.2\bin\x86_64-win64\fpc.exe does not support target > > arm-linux. > > You need to install a fpc cross compiler for arm-linux. Copilot was > correct here. > > > > In the configurator "Build Lazarus", the settings I have are > > 'Profile to Build='Clean up + Build All' > > The "Build Lazarus" is for building the IDE. > For your project look into Project / Project Options / Compiler Options. > > > Mattias > > -- > _______________________________________________ > lazarus mailing list > lazarus at lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmlandmesser at gmx.de Wed Sep 25 10:13:34 2024 From: jmlandmesser at gmx.de (John Landmesser) Date: Wed, 25 Sep 2024 10:13:34 +0200 Subject: [Lazarus] Android applications In-Reply-To: References: <2c356d14-f06f-4335-baac-a88773638d91@netcologne.de> Message-ID: Perhaps have a look at fpupdeluxe. See https://castle-engine.io/fpcupdeluxe#_cross_compilation_to_android No. i never did that ! Good luck John Landmesser Am 25.09.24 um 05:32 schrieb Larry Dalton via lazarus: > I need to know which cross compiler I need, ?and where I can download it > > On Mon, Sep 23, 2024 at 03:25 Mattias Gaertner via lazarus > wrote: > > > > On 9/22/24 17:49, Larry Dalton via lazarus wrote: > > I am trying my first Android app, using lazarus 3.2.2, on > Windows 11. When > > I try to build the application, I get the error > > C:\lazarus\fpc\3.2.2\bin\x86_64-win64\fpc.exe does not support > target > > arm-linux. > > You need to install a fpc cross compiler for arm-linux. Copilot was > correct here. > > ?> > ? In the configurator "Build Lazarus", the settings I have are > > 'Profile to Build='Clean up + Build All' > > The "Build Lazarus" is for building the IDE. > For your project look into Project / Project Options / Compiler > Options. > > > Mattias > > -- > _______________________________________________ > lazarus mailing list > lazarus at lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nc-gaertnma at netcologne.de Mon Sep 30 13:03:16 2024 From: nc-gaertnma at netcologne.de (Mattias Gaertner) Date: Mon, 30 Sep 2024 13:03:16 +0200 Subject: [Lazarus] Lazarus Bugfix Release 3.6 Message-ID: The Lazarus team is glad to announce the release of Lazarus 3.6. This is a bugfix release and was built with FPC 3.2.2. Here is the list of changes for Lazarus and Free Pascal: http://wiki.lazarus.freepascal.org/Lazarus_3.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_3.2.2 Here is the list of fixes for Lazarus 3.x: https://gitlab.com/freepascal.org/lazarus/lazarus/-/commits/fixes_3_0/ The release is available for download on SourceForge: http://sourceforge.net/projects/lazarus/files/ Choose your CPU, OS, distro and then the "Lazarus 3.6" directory. Checksums for the SourceForge files: https://www.lazarus-ide.org/index.php?page=checksums#3_6 The Windows installers are now code signed. The signature uses the name of the Foundation: "Stichting Programming Free Pascal & Lazarus Foundation" Minimum requirements: Windows: 2k, 32 or 64bit, Qt, Qt5, Qt6 (64bit only) FreeBSD/Linux: gtk 2.24 for gtk2, qt4.5 for qt, qt5.6 for qt5, Qt6.2 for qt6, 32 or 64bit. Mac OS X: Cocoa (64bit) 10.12, Carbon (32bit) 10.5 to 10.14, Qt and Qt5 (32 or 64bit), Qt6 (64bit only). Note: Since Macos Sonoma 14 debugging takes some time to start the application, especially on first start. Mattias