cancel
Showing results for 
Search instead for 
Did you mean: 

Cube Prog API Error write memory

zhoupn
Associate

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.

1 REPLY 1
Aziz BRIGUI
ST Employee

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.