14 Replies Latest reply on Jan 19, 2010 4:11 PM by omkaranathan

    Using OpenCL beta from a .NET application causes a memory access violation exception

    Frio

      Hello,

      I am trying to experiment with the beta OpenCL SDK calling OpenCL from a C# .NET managed application.

      Any call to the OpenCL API causes a memory access violation exception, both when calling OpenCL directly from C# or when creating a native dll and calling the OpenCL API from a function in the native dll. 

      I added a C# console application project to your OpenCLSamplesVS solution and created manual bindings to the OpenCL dll, the result is always a memory exception reading location 0x00000000.

      Cheers,

      Frio