[fpc-pascal] Firebird embedded supported on Windows 64 by SEH patch

2013-03-08 Thread Reinier Olislagers
Sergei Gorelkin enabled Win64 SEH support in trunk r23732: * Make Win64 SEH support enabled by default. If necessary to disable, compiler should be cycled with OPT=-dDISABLE_WIN64_SEH. Mantis #24012. Seems this fixes issues on Win64 with e.g. embedded Firebird dlls, and I'm sure many other DLLs.

Re: [fpc-pascal] Sigsegv with refcounting interface

2013-03-08 Thread Joao Morais
On Fri, Mar 8, 2013 at 4:09 PM, Flávio Etrusco wrote: > >> procedure addintf(const aintf: IUnknown); >> (...) >> addintf(TInterfacedObject.Create); >> (...) > > It's a pity, but I don't know whether it's fixable (or if needs to be > "fixed") in the compiler. Works in Delphi 7 with FastMM4. >

Re: [fpc-pascal] Sigsegv with refcounting interface

2013-03-08 Thread Flávio Etrusco
> > var > vintfl: TInterfaceList; > BTW You should use a IInterfaceList variable > procedure addintf(const aintf: IUnknown); > (...) > addintf(TInterfacedObject.Create); > (...) It's a pity, but I don't know whether it's fixable (or if needs to be "fixed") in the compiler. The TInterfacedO