On Sun, 30 Jan 2005, Marco van de Voort wrote:
> > // Call C++ function and pass to it our "special" interface
> > Result := D3DXLoadMeshHierarchyFromX_FPC_{$}(Filename, MeshOptions,
> > pD3DDevice, AllocI, pUserDataLoader, ppFrameHierarchy, ppAnimController);
> >
> > Dec(PInteger(AllocI)^
Delphi and FreePascal simplest interfaces already includes IUnknown. So using
raw interfaces is incompatible here too.
No.
You could try to use CORBA interfaces, they don't have IInterface (or
IUnknown) as the parent.
There is a compiler switch for this.
Thanks, I'll look at it. Seems really bette
On Sun, 30 Jan 2005, Alexey Barkovoy wrote:
> - Original Message -
> From: "Florian Klaempfl" <[EMAIL PROTECTED]>
>
> >> For example "DECLARE_INTERFACE_(IClassFactory, IUnknown)" in C++ is
> >> expanded
> >> to "struct FAR IClassFactory : public IUnknown", so really public parts of
> >>
> // Call C++ function and pass to it our "special" interface
> Result := D3DXLoadMeshHierarchyFromX_FPC_{$}(Filename, MeshOptions,
> pD3DDevice, AllocI, pUserDataLoader, ppFrameHierarchy, ppAnimController);
>
> Dec(PInteger(AllocI)^, $C); // Patch interface VMT - BACK
> end;
>
> But I rea
- Original Message -
From: "Florian Klaempfl" <[EMAIL PROTECTED]>
For example "DECLARE_INTERFACE_(IClassFactory, IUnknown)" in C++ is expanded
to "struct FAR IClassFactory : public IUnknown", so really public parts of
VMT (with positive offset) are always [should be] compatible. Surely
Alexey Barkovoy wrote:
- Original Message - From: "Michael Van Canneyt"
<[EMAIL PROTECTED]>
Delphi is compatible at least with Borland C++ and MS VC++. And
taking in accout
how COM intefaces are implemented in C++ (I'm supposing here all C++
compilers
support the same syntax) - each C++
- Original Message -
From: "Michael Van Canneyt" <[EMAIL PROTECTED]>
Delphi is compatible at least with Borland C++ and MS VC++. And taking in
accout
how COM intefaces are implemented in C++ (I'm supposing here all C++
compilers
support the same syntax) - each C++ compiler supporting MS
Alexey Barkovoy wrote:
> Delphi is compatible at least with Borland C++ and MS VC++. And taking in
> accout
> how COM intefaces are implemented in C++ (I'm supposing here all C++ compilers
> support the same syntax) - each C++ compiler supporting MS way to declare COM
> interfaces has compatible
On Sun, 30 Jan 2005, Alexey Barkovoy wrote:
> >> I where any chance to see FreePascal generating VMT's for classes that is
> >> more compatible with C++ / TurboPascal / Delphi one?
> >> To explain mine question: recently I've been porting Delphi framework
> >> interfacing to C++ code to FPC and
I where any chance to see FreePascal generating VMT's for classes that is
more compatible with C++ / TurboPascal / Delphi one?
To explain mine question: recently I've been porting Delphi framework
interfacing to C++ code to FPC and finded out that althrow Delphi VMT layout
is compatible to C++ o
I where any chance to see FreePascal generating VMT's for classes that is
more compatible with C++ / TurboPascal / Delphi one?
To explain mine question: recently I've been porting Delphi framework
interfacing to C++ code to FPC and finded out that althrow Delphi VMT layout
is compatible to C++ o
On 29 jan 2005, at 22:41, Alexey Barkovoy wrote:
I where any chance to see FreePascal generating VMT's for classes that
is more compatible with C++ / TurboPascal / Delphi one?
To explain mine question: recently I've been porting Delphi framework
interfacing to C++ code to FPC and finded out that
Hi,
I where any chance to see FreePascal generating VMT's for classes that is more
compatible with C++ / TurboPascal / Delphi one?
To explain mine question: recently I've been porting Delphi framework
interfacing to C++ code to FPC and finded out that althrow Delphi VMT layout is
compatible to C
13 matches
Mail list logo