2016-09-30 18:19 GMT+02:00 stdreamer :
> On 30/09/2016 17:24 μμ, Michalis Kamburelis wrote:
>>
>> 4. And how about going even more further, and just generate an
>> internal GUIDs (random, or based on a memory address) when no GUID is
>> explicitly specified? This way "is", "as", "Supports" always j
On 30/09/2016 17:24 μμ, Michalis Kamburelis wrote:
4. And how about going even more further, and just generate an
internal GUIDs (random, or based on a memory address) when no GUID is
explicitly specified? This way "is", "as", "Supports" always just
work. And it removes the need to do 1., 2., 3.
This thread, and my own tests, showed that you need to assign GUIDs to
interfaces to have reliable "is", even for CORBA interfaces.
I'm wondering, would it be possible to improve here things on the
compiler side (at least only in FPC-specific modes or under some
modeswitch), to make things safer?
On 2016-09-29 22:50, David Emerson wrote:
> One of these days I've got to try MSEide again.
MSEide is awesome. I use it for Console, fpGUI and even LCL programming.
Regards,
Graeme
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
My public PGP k
On Thursday 29 September 2016 23:50:04 David Emerson wrote:
> On 09/28/2016 10:42 PM, Martin Schreiber wrote:
> > Corba-style interfaces can use any string as ID so for local interfaces
> > it is possible to use shorter ID-strings for better performance.
>
> Is this described anywhere in the docume
On 09/29/2016 06:06 AM, Sven Barth wrote:
Am 29.09.2016 11:34 schrieb "Martin Schreiber" mailto:mse00...@gmail.com>>:
On Thursday 29 September 2016 10:49:03 Graeme Geldenhuys wrote:
> On 2016-09-29 06:42, Martin Schreiber wrote:
> > abcintf:= iabc(abc);
> > "
> > which has the best performance
On 09/28/2016 10:42 PM, Martin Schreiber wrote:
Corba-style interfaces can use any string as ID so for local interfaces it is
possible to use shorter ID-strings for better performance.
Is this described anywhere in the documentation?
> MSEide constructs such ID's by RightClick-'Insert UID'. Ex
Am 29.09.2016 11:34 schrieb "Martin Schreiber" :
>
> On Thursday 29 September 2016 10:49:03 Graeme Geldenhuys wrote:
> > On 2016-09-29 06:42, Martin Schreiber wrote:
> > > abcintf:= iabc(abc);
> > > "
> > > which has the best performance.
> >
> > But you must still remember to check if abcintf has
On Thursday 29 September 2016 10:49:03 Graeme Geldenhuys wrote:
> On 2016-09-29 06:42, Martin Schreiber wrote:
> > abcintf:= iabc(abc);
> > "
> > which has the best performance.
>
> But you must still remember to check if abcintf has been successfully
> assigned.
>
There will be a compiler error i
On 2016-09-29 06:42, Martin Schreiber wrote:
> abcintf:= iabc(abc);
> "
> which has the best performace.
But you must still remember to check if abcintf has been successfully
assigned.
[personal opinion]
Hence I still prefer the Supports(..) call as it can be used directly in
a boolean expressio
On Thursday 29 September 2016 01:14:44 David Emerson wrote:
> On 09/28/2016 03:31 PM, Graeme Geldenhuys wrote:
> > On 2016-09-28 22:59, David Emerson wrote:
> >> Alternately, if I give a GUID does an interface not automatically become
> >> COM + managed?
> >
> > No definitely not! The GUID just hel
On Wednesday 28 September 2016 21:40:39 Lars wrote:
> On Wed, September 28, 2016 2:24 am, Graeme Geldenhuys wrote:
> > On 2016-09-28 08:38, David Emerson wrote:
> >> I'm testing out CORBA interfaces before changing all my code to use
> >> them (I would prefer not to have managed types for interface
On 09/28/2016 03:31 PM, Graeme Geldenhuys wrote:
On 2016-09-28 22:59, David Emerson wrote:
Alternately, if I give a GUID does an interface not automatically become
COM + managed?
No definitely not! The GUID just helps the compiler or RTL identify an
Interface.
Oh fabulous! Thanks much. I def
On Wed, September 28, 2016 3:44 pm, Graeme Geldenhuys wrote:
> Others like the fact that COM Interfaces are reference counted - they
> sometimes come in handy, but do tend to complicate matters much more.
>
And Corba interfaces.. you have to implement that yourself?
I found this
http://www.lenh
On 2016-09-28 22:59, David Emerson wrote:
> Is it possible to use Supports / QueryInterface / GetInterface /
> something else, without having a GUID?
I'm not sure. I just had a look at my code. It seems all my [Corba]
Interface have GUID's defined too. I never noticed - probably down to
habit from
On 09/28/2016 01:24 AM, Graeme Geldenhuys wrote:
On 2016-09-28 08:38, David Emerson wrote:
I'm testing out CORBA interfaces before changing all my code to use them
(I would prefer not to have managed types for interfaces).
I've been using CORBA style interfaces for years, and it was always
wor
On 09/28/2016 12:40 PM, Lars wrote:
Curious, where do corba interfaces come in handy ? When can you use them
that object oriented code won't offer the same features?
For multiple inheritence, since fpc does not support multiple
inheritence without interfaces. Interfaces are an addition to obj
On 2016-09-28 20:40, Lars wrote:
> i.e. what's the basic point of using an interface compared to objects and
> inheritance and procedures? Where do they really shine?
Not to repeat tons of information already available on the Internet -
Google is your friend.
Objects, Inheritance and Interfaces a
On Wed, 28 Sep 2016, Lars wrote:
On Wed, September 28, 2016 2:24 am, Graeme Geldenhuys wrote:
On 2016-09-28 08:38, David Emerson wrote:
I'm testing out CORBA interfaces before changing all my code to use
them (I would prefer not to have managed types for interfaces).
I've been using CORB
On Wed, September 28, 2016 2:24 am, Graeme Geldenhuys wrote:
> On 2016-09-28 08:38, David Emerson wrote:
>
>> I'm testing out CORBA interfaces before changing all my code to use
>> them (I would prefer not to have managed types for interfaces).
>>
>
> I've been using CORBA style interfaces for year
On 2016-09-28 08:38, David Emerson wrote:
> I'm testing out CORBA interfaces before changing all my code to use them
> (I would prefer not to have managed types for interfaces).
I've been using CORBA style interfaces for years, and it was always
worked well for me. I must add, I never use the is/
21 matches
Mail list logo