Trying to figure out how to implement my WINC like compatibility layer. Going the emulation way is probably not so smart. We should not use the kernel but rather hook native functions in the Exec calls.
// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// Test Localisation DLL
//
//
TARGET elocl.95
CAPABILITY All
TARGETTYPE dll
NOEXPORTLIBRARY
SOURCEPATH ../src
SOURCE ls_cytest.cpp ls_lntest.cpp ls_mstest.cpp
SOURCE ls_lat1.cpp ls_table.cpp ls_test.cpp
OS_LAYER_SYSTEMINCLUDE_SYMBIAN
SYMBIAN_BASE_SYSTEMINCLUDE(kernel)
USERINCLUDE ../src
#if defined(WINS)
DEFFILE /epoc32/release/wins/elocl.def
#elif defined(GCC32) && !defined(X86GCC)
DEFFILE \epoc32\release\marm\elocl.def
#else
DEFFILE /epoc32/include/def/eabi/elocl.def
#endif
LIBRARY euser.lib
START WINS
BASEADDRESS 0x58000000
END
UID 0x100039e6 0x1000B067
VENDORID 0x70000001
SMPSAFE