Re: [fpc-pascal] IDispatch with Variant is not working on Linux. Why?

2023-11-01 Thread Michael Van Canneyt via fpc-pascal
On Tue, 31 Oct 2023, Anthony Walter via fpc-pascal wrote: Is there any reason why the late binding of properties and methods through of IDispatch interface with the Variant type is not working on Linux? Variant dispatching requires OS bindings. They are enabled when the ComObj unit is inc

Re: [fpc-pascal] IDispatch with Variant is not working on Linux. Why?

2023-11-01 Thread Anthony Walter via fpc-pascal
Thank you Micahel, I was doing some research last night and found that there are two specific stubs in the System unit that are implemented by the ComObj unit. Specifically, a stub for safe call exception handling and dispatch invoke. I was working with my example and added my own OS agnostic impl

Re: [fpc-pascal] IDispatch with Variant is not working on Linux. Why?

2023-11-01 Thread Michael Van Canneyt via fpc-pascal
On Wed, 1 Nov 2023, Anthony Walter via fpc-pascal wrote: Thank you Micahel, I was doing some research last night and found that there are two specific stubs in the System unit that are implemented by the ComObj unit. Specifically, a stub for safe call exception handling and dispatch invoke.

Re: [fpc-pascal] Creating capturers

2023-11-01 Thread Sven Barth via fpc-pascal
Am 01.11.2023 um 06:18 schrieb Hairy Pixels via fpc-pascal: I'm curious how the capturer is created in the case of anonymous functions. I know the function needs to create a capturer when nested functions are declared but what happens if there is an anonymous function which is declared in the