equal
deleted
inserted
replaced
97 |
97 |
98 |
98 |
99 EXPORT_C void BootEpoc(TBool aAutoRun) |
99 EXPORT_C void BootEpoc(TBool aAutoRun) |
100 { |
100 { |
101 //SL: |
101 //SL: |
102 HINSTANCE epoc = LoadLibraryA("ekern.dll"); |
102 //HINSTANCE epoc = LoadLibraryA("ekern.dll"); |
103 //HINSTANCE epoc = LoadLibraryA("ekern.exe"); |
103 HINSTANCE epoc = LoadLibraryA("ekern.exe"); |
104 if (epoc) |
104 if (epoc) |
105 { |
105 { |
106 TBootEpoc ep = (TBootEpoc)GetProcAddress(epoc, "_E32Startup"); |
106 TBootEpoc ep = (TBootEpoc)GetProcAddress(epoc, "_E32Startup"); |
107 if (ep) |
107 if (ep) |
108 ep(aAutoRun); |
108 ep(aAutoRun); |