Skip to main content
Visitor II
April 16, 2024
Question

Cube Prog API Error write memory

  • April 16, 2024
  • 1 reply
  • 794 views

I am using C# to wrap the native CubeProgrammer_API.dll to call download file. I am running on x64 machine.

When I compile the C# code as x86 and use the x86 version of the DLLs from the SDK, the download went fine.

However if I compile the same code as x64 and use the x64 version of the DLLs from the SDK, I am getting a -10 from the downloadfile.

Does anyone know a reason for this puzzling behavior?

Thanks.

This topic has been closed for replies.

1 reply

Aziz BRIGUI
Technical Moderator
April 24, 2024

Hello @zhoupn

 

Could you share a project demonstrating the issue ? CubeProgrammer API does not provide any C# examples for now. A sample project could simplify things for our teams and other community members.

 

Thanks in advance

Aziz

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.