Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.

0x200f in simulation mode

kalogiannis__konstan
1,516 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
1,516 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

0 Kudos
5 Replies
Kuppusamy_R_Intel
1,516 Views

Hi konstantinos,

Could you share the code, will verify and get back 

Thanks,
Kuppusamy.R

0 Kudos
kalogiannis__konstan
1,516 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

 

0 Kudos
Surenthar_S_Intel
1,517 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

0 Kudos
kalogiannis__konstan
1,516 Views

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

0 Kudos
chen__yu
Beginner
1,516 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.
0 Kudos
Reply