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] 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

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

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

2023-10-31 Thread Anthony Walter via fpc-pascal
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? I am writing a cross platform embeddable JavaScript toolkit for Free Pascal. I wanted to use IDispatch with variants so that the experience with be more