[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
CAPE-OPEN Discussions about use and implementation of the CAPE-OPEN standard 2023-06-30T09:06:36+00:00 http://cape-open-forum.org/feed.php?f=66 2023-06-30T09:06:36+00:00 2023-06-30T09:06:36+00:00 http://cape-open-forum.org/viewtopic.php?t=764&p=2768#p2768 <![CDATA[CAPE-OPEN Binary Interop Architecture • Re: CopyFromMaterial implementation question]]> - define a custom interface that returns a pointer to the Material Object (e.g. in a low and high integer part)
- implement this interface on the material object
- in CopyFromMaterial, query source for your custom interface
- if it is not there, return an error stating that you cannot copy from a foreign material object
- if obtained, get the pointer via your custom function
- use a C++ cast to cast it to your material object
- talk to the thing directly

A slightly simpler implementation is:
- QI source for ICapeInterface, this pointer is unique
- cast it using C++ machinery to your material object (have a look at the returned pointer from the debugger, you can probably directly figure out how to cast it from there)

Note that the second implementation does not guard against the potential pitfall of the object being casted is not actually your own material object implementation, which will subsequently surely lead to a crash, but under 'normal' conditions this should not happen.

Statistics: Posted by jasper — 30 June 2023, 09:06


]]>
2023-06-28T15:30:50+00:00 2023-06-28T15:30:50+00:00 http://cape-open-forum.org/viewtopic.php?t=764&p=2767#p2767 <![CDATA[CAPE-OPEN Binary Interop Architecture • CopyFromMaterial implementation question]]> Statistics: Posted by jrdp — 28 June 2023, 15:30


]]>
2023-06-05T06:02:30+00:00 2023-06-05T06:02:30+00:00 http://cape-open-forum.org/viewtopic.php?t=762&p=2761#p2761 <![CDATA[CAPE-OPEN Binary Interop Architecture • Re: How to return UNDEFINED]]> Statistics: Posted by jasper — 05 June 2023, 06:02


]]>
2023-05-30T16:15:20+00:00 2023-05-30T16:15:20+00:00 http://cape-open-forum.org/viewtopic.php?t=762&p=2759#p2759 <![CDATA[CAPE-OPEN Binary Interop Architecture • Re: How to return UNDEFINED]]> Statistics: Posted by jrdp — 30 May 2023, 16:15


]]>
2023-05-30T13:41:51+00:00 2023-05-30T13:41:51+00:00 http://cape-open-forum.org/viewtopic.php?t=762&p=2758#p2758 <![CDATA[CAPE-OPEN Binary Interop Architecture • Re: How to return UNDEFINED]]> Statistics: Posted by jrdp — 30 May 2023, 13:41


]]>
2023-05-26T13:11:33+00:00 2023-05-26T13:11:33+00:00 http://cape-open-forum.org/viewtopic.php?t=762&p=2755#p2755 <![CDATA[CAPE-OPEN Binary Interop Architecture • Re: How to return UNDEFINED]]> Statistics: Posted by jasper — 26 May 2023, 13:11


]]>
2023-05-26T13:10:52+00:00 2023-05-26T13:10:52+00:00 http://cape-open-forum.org/viewtopic.php?t=762&p=2754#p2754 <![CDATA[CAPE-OPEN Binary Interop Architecture • Re: How to return UNDEFINED]]> Statistics: Posted by jasper — 26 May 2023, 13:10


]]>
2023-05-25T15:48:38+00:00 2023-05-25T15:48:38+00:00 http://cape-open-forum.org/viewtopic.php?t=762&p=2753#p2753 <![CDATA[CAPE-OPEN Binary Interop Architecture • How to return UNDEFINED]]> Statistics: Posted by jrdp — 25 May 2023, 15:48


]]>
2023-05-25T08:20:53+00:00 2023-05-25T08:20:53+00:00 http://cape-open-forum.org/viewtopic.php?t=761&p=2752#p2752 <![CDATA[CAPE-OPEN Binary Interop Architecture • Re: Using COBIA interface on Linux]]> Statistics: Posted by jasper — 25 May 2023, 08:20


]]>
2023-05-25T06:44:19+00:00 2023-05-25T06:44:19+00:00 http://cape-open-forum.org/viewtopic.php?t=761&p=2751#p2751 <![CDATA[CAPE-OPEN Binary Interop Architecture • Re: Using COBIA interface on Linux]]> Statistics: Posted by checkel — 25 May 2023, 06:44


]]>
2023-05-24T06:40:00+00:00 2023-05-24T06:40:00+00:00 http://cape-open-forum.org/viewtopic.php?t=761&p=2750#p2750 <![CDATA[CAPE-OPEN Binary Interop Architecture • Re: Using COBIA interface on Linux]]> Statistics: Posted by jasper — 24 May 2023, 06:40


]]>
2023-05-23T12:19:53+00:00 2023-05-23T12:19:53+00:00 http://cape-open-forum.org/viewtopic.php?t=761&p=2749#p2749 <![CDATA[CAPE-OPEN Binary Interop Architecture • Using COBIA interface on Linux]]> Statistics: Posted by checkel — 23 May 2023, 12:19


]]>
2022-01-20T10:35:23+00:00 2022-01-20T10:35:23+00:00 http://cape-open-forum.org/viewtopic.php?t=741&p=2645#p2645 <![CDATA[CAPE-OPEN Binary Interop Architecture • Re: Optional Port in COBIA unit operation]]> Statistics: Posted by ahmedsabriz — 20 January 2022, 10:35


]]>
2022-01-18T08:16:29+00:00 2022-01-18T08:16:29+00:00 http://cape-open-forum.org/viewtopic.php?t=741&p=2644#p2644 <![CDATA[CAPE-OPEN Binary Interop Architecture • Re: Optional Port in COBIA unit operation]]> Statistics: Posted by jasper — 18 January 2022, 08:16


]]>
2022-01-18T06:05:12+00:00 2022-01-18T06:05:12+00:00 http://cape-open-forum.org/viewtopic.php?t=741&p=2643#p2643 <![CDATA[CAPE-OPEN Binary Interop Architecture • Re: Optional Port in COBIA unit operation]]> Statistics: Posted by ahmedsabriz — 18 January 2022, 06:05


]]>