Re: [fpc-pascal] CORBA interfaces: no IInterface and TInterfaceList support

2016-10-08 Thread Sven Barth
Am 09.10.2016 00:13 schrieb "Graeme Geldenhuys" < mailingli...@geldenhuys.co.uk>: > > Hi, > > Why doesn't CORBA have the equivalent of IInterface? Because that interface type doesn't need it, just like TP-style objects don't need it. IInterface (aka IUnknown) merely exists due to the reference cou

Re: [fpc-pascal] string to widestring : what are the difficulties ?

2016-10-08 Thread Sven Barth
Am 08.10.2016 22:48 schrieb "Ched" < charles.edouard.des.vastes.vig...@gmail.com>: > In http://www.freepascal.org/docs-html/ref/refsu14.html#x37-43.2.8 , the stack sized used by a Shortstring is Declared length + 2 . Why not Declared length + 1 ? 1 Byte length and a zero byte to allow easy con

[fpc-pascal] CORBA interfaces: no IInterface and TInterfaceList support

2016-10-08 Thread Graeme Geldenhuys
Hi, Why doesn't CORBA have the equivalent of IInterface? I have to resort to creating something like this. type IEmptyInterface = interface ['{C2196B92-8D96-11E6-A5D6-C86000E37EB0}'] end; and and then make sure all my CORBA interfaces descend from IEmptyInterface. The reason I need to do

[fpc-pascal] string to widestring : what are the difficulties ?

2016-10-08 Thread Ched
Hello, In http://www.freepascal.org/docs-html/ref/refsu14.html#x37-43.2.8 , the stack sized used by a Shortstring is Declared length + 2 . Why not Declared length + 1 ? Is it easy to change software codes using strings encoded in CP437 to widestring ? I hope so as widestring has no refcou