Chop out the code that handles "additional _E32Dll entry point after last ordinal position". I can't agree with that as how the DLL is supposed to work, and gives errors for me. Maybe the scripts to re-generate the jump tables have not been tried recently so its not a problem that's been hit by others.
// 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 "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:
//
TARGET tcap_one.exe
CAPABILITY WriteDeviceData SwEvent
TARGETTYPE EXE
SOURCEPATH ../tcapability
SOURCE TCapTest.CPP
OS_LAYER_SYSTEMINCLUDE
LIBRARY euser.lib ws32.lib gdi.lib efsrv.lib
START WINS
WIN32_LIBRARY gdi32.lib user32.lib
END
VENDORID 0x70000001
SMPSAFE