diff -r 6aeef2faff80 -r 5f371025658c egl/eglswitch/src/eglswitch.cpp --- a/egl/eglswitch/src/eglswitch.cpp Fri Jul 02 18:48:10 2010 +0100 +++ b/egl/eglswitch/src/eglswitch.cpp Fri Jul 16 18:54:03 2010 +0100 @@ -59,21 +59,14 @@ address = GetProcAddress(aDll, (LPCSTR)i); if (address == NULL) { + RDebug::Printf("No entry point at %d\n", i); Stop("... has too few exported functions"); } vector[i] = address; } - // There's an additional _E32Dll entry point after last ordinal position. - // Read it, but no need to store it + // next position should be empty address = GetProcAddress(aDll, (LPCSTR)(MAX_ORDINAL+1)); - if (address == NULL) - { - Stop("... has too few exported functions"); - } - - // next position should be empty - address = GetProcAddress(aDll, (LPCSTR)(MAX_ORDINAL+2)); if (address != NULL) { Stop("... has too many exported functions");