After creating a stripped down miniature Enclave, I discovered InitializeEnclave fails with 0x8007007E. After hours of pulling my hair out, it appears initialization of enclaves requires vertdll.dll in the enclave IAT. Can you confirm this is the case? (I used a hollow enclave with a DllMain and a single return 42 test function, which ultimately resulted in a DLL with no imported functions.