6 Replies Latest reply on Oct 24, 2009 2:41 PM by mael

    Name mangling in OpenCL.dll



      I'm using OpenCL from another language (Delphi). When importing the API-functions from OpenCL.dll the name-mangling requires me to specify the mangled name instead of the real function name. Since name-mangling is compiler dependent and it differs from the function names found in the header files it makes importing more fragile than necessary.

      Please disable it by using something like

      #ifdef __cplusplus
      extern "C" {

      // exports go here
      #ifdef __cplusplus

      Regards, Maël Hörz