Re: Apparent bug in Win32::API if function returns a float or a double



Which compiler did you use to build the dll ?

I used Delphi, I hope that doesn't lower my cred ;)

However, I have quite a lot of experience at both exposing and consuming
DLLs across the Delphi / C++ boundary, and I'm certain that is not the
source of the problem. Delphi allows you to specify stdcall / cdecl, and
I've verified I was doing that correctly.


I prefer to use Inline::C to access external libraries as I find it
more logical (less intuitive).

One of my colleagues has suggested I investigate something called XS...


.



Relevant Pages

  • Trouble executing COM+ DLL
    ... We got 4 servers. ... There is a COM+-application defined using roles for security. ... They are all running a COM+-application containing several DLLs ... We are now migrating to Delphi 2005. ...
    (microsoft.public.win32.programmer.ole)
  • Re: VB6, VB2005, or Something Else?
    ... Also you can't compile a DLL with RealBasic at the mean time, ... to 10 years, except for the DLLs. ... library) in Delphi is much more complete and robust than VB itself. ... Microsoft .NET Framework v1.1 Redistributable ...
    (microsoft.public.vb.general.discussion)
  • Re: .Net applications, not optimized for CPU at all?
    ... I mean apart from 'hello world' class of applications (which are comparable to the size of Delphi when using BPLs), the .Net EXE and DLL didn't strike me as being particularly lean at all compared to native versions. ... The .Net DLLs especially are huge, things like Tao.OpenGL, at 2 MB+, is about 10 times the size of the equivalent Delphi *DCU*, and even Microsoft-provided DLLs are huge for the amount of things they do, meaning it's not a programming mistake of non-microsofties that makes the DLLs big, f.i. ... IME .Net EXEs and DLLs size is in the same order of magnitude as their code size, just like for DCUs in Delphi, except that in native Delphi applications, the linker links those DCU into EXE/DLL, that are typically one order of magnitude smaller than their DCUs. ...
    (borland.public.delphi.non-technical)
  • Re: Rekursive Strukturen Parsen in Delphi
    ... kann man Calling-Konventionen etc. komplett vergessen, ... Es geht hier um die Benutzung von bestehenden DLLs, ... Delphi Interface Units genau um die exakte ABI der zugehörigen DLLs ... "The difference between fiction and reality? ...
    (de.comp.lang.delphi.misc)
  • Re: Refering to From of ActiveX DLL
    ... >> Personally I use Delphi for DLLs, ... >I don't know much about Delphi. ... IMO all programmers should have two languages ... 'MASM is a high level language' ...
    (microsoft.public.vb.general.discussion)