Intel® Software Guard Extensions (Intel® SGX)
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.

0x200f in simulation mode

kalogiannis__konstan
548 Views

Hi,
I tried testing a simple program in simulation mode(used the simulation librariers) but sgx_create_enclave returns code 0x200f.

I searched the forum and i found a similar question but the given solution,working directory set to $(OutDir), only seems to hide/solve the "[sgx_create_enclavew ..\..\..\psw\urts\win\urts.cpp:83] Couldn't open file with
CreateFile()" error message

What can i do to solve this error??

 

0 Kudos
1 Solution
Surenthar_S_Intel
548 Views

Hi Konstantinos,

Please find the modified source code of yours from below link.

https://drive.google.com/open?id=0B4N3YNdBPBe8VThaY3UzUVdIWkE 

Note: 
1. You didn't build the application in simulation mode.
2. You didn't use the enclave.signed.dll file inside the application code.

Thanks and Regards,
Surenthar Selvaraj

View solution in original post

5 Replies
Kuppusamy_R_Intel
548 Views

Hi konstantinos,

Could you share the code, will verify and get back 

Thanks,
Kuppusamy.R

kalogiannis__konstan
548 Views

https://drive.google.com/open?id=0B3-iM1JFqhZ1aWFUV2tXZHpZYnM

I had by accident changed the mode of the normal application to release mode,reverting it back made the error reappear(cant open file)

 

 

edit1: I tried having them under the same project,just in case,but the problem persisted

 

Surenthar_S_Intel
549 Views

Hi Konstantinos,

Please find the modified source code of yours from below link.

https://drive.google.com/open?id=0B4N3YNdBPBe8VThaY3UzUVdIWkE 

Note: 
1. You didn't build the application in simulation mode.
2. You didn't use the enclave.signed.dll file inside the application code.

Thanks and Regards,
Surenthar Selvaraj

kalogiannis__konstan
548 Views

Thank you very much,seeing the configurations(application side) sorted many things in my head.

chen__yu
Beginner
548 Views
Hello,I have a error:0x200f. However,I had changed the currenting output Dirs. The code is copy from the demo. it will be nice if you can help me.
Reply