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
2,816 次查看

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 项奖励
1 解答
Surenthar_S_Intel
2,816 次查看

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 项奖励
5 回复数
Kuppusamy_R_Intel
2,816 次查看

Hi konstantinos,

Could you share the code, will verify and get back 

Thanks,
Kuppusamy.R

0 项奖励
kalogiannis__konstan
2,816 次查看

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 项奖励
Surenthar_S_Intel
2,817 次查看

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 项奖励
kalogiannis__konstan
2,816 次查看

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

0 项奖励
chen__yu
初学者
2,816 次查看
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 项奖励
回复