diff -r 0659d0e1a03c -r 1d28c8722707 kernel/eka/euser/epoc/up_lib.cpp --- a/kernel/eka/euser/epoc/up_lib.cpp Wed Oct 20 13:58:28 2010 +0100 +++ b/kernel/eka/euser/epoc/up_lib.cpp Tue Nov 02 15:29:23 2010 +0000 @@ -15,6 +15,7 @@ // // +#include "us_std.h" #include "up_std.h" #include #include "u32std.h" @@ -230,19 +231,14 @@ // Initialise any static data following a DLL load // { - TLinAddr ep[KMaxLibraryEntryPoints]; - TInt numEps=KMaxLibraryEntryPoints; - E32Loader::LibraryAttach(iHandle, numEps, ep); - if (numEps==0) + TEntryPointList eplist; + eplist.iNumEPs=KMaxLibraryEntryPoints; + E32Loader::LibraryAttach(iHandle, eplist.iNumEPs, eplist.iEPs); + if (eplist.iNumEPs==0) return KErrNone; - TInt i; - for (i=0; i