--- a/kernel/eka/euser/epoc/symc/uc_exec.cpp Mon Apr 26 18:47:40 2010 +0200
+++ b/kernel/eka/euser/epoc/symc/uc_exec.cpp Mon Apr 26 23:41:25 2010 +0200
@@ -16,7 +16,7 @@
//
-#define __GEN_USER_EXEC_CODE__
+//#define __GEN_USER_EXEC_CODE__
#include "../win32/uc_std.h"
#include <e32svr.h>
@@ -329,6 +329,12 @@
//
#ifndef __GEN_USER_EXEC_CODE__
+class CProcess : public CBase
+ {
+
+ };
+
+
//RHeap gAllocator;
@@ -1248,9 +1254,14 @@
SLOW_EXEC1(EExecLibraryAttached);
}
-__EXECDECL__ TInt E32Loader::StaticCallList(TInt&, TLinAddr*)
+__EXECDECL__ TInt E32Loader::StaticCallList(TInt& aEntryPointCount, TLinAddr* /*aUnused*/)
{
SLOW_EXEC2(EExecStaticCallList);
+ //SL: We hijack this function for initializing our process see User::InitProcess
+ //aEntryPointCount=0; //Tell the caller we don't have any DLL entry point
+ //__asm ret;
+
+ //return KErrNone;
}
__EXECDECL__ TInt E32Loader::LibraryDetach(TInt&, TLinAddr*)