Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Win32 error 0n127 - "The specified procedure could not be found."

285 views
Skip to first unread message

Les_Figg

unread,
Sep 20, 2007, 10:48:08 AM9/20/07
to
I am are writing a "debug extension" and have an issue as follows:

The complete "Debugging Tools For Windows" package contains a sample
debugger extension located under the "Debugging Tools for
Windows\sdk\samples\simpleext" path.

If I build that using the x86 Longhorn 6001 DDK build environment, and then
attempt to load it with windbg version 6.7.0005.1, I get the following error:
0: kd> !load R:\source.craft\simplext\objfre_wlh_x86\i386\simple.dll
The call to
LoadLibrary(R:\source.craft\simplext\objfre_wlh_x86\i386\simple.dll) failed,
Win32 error 0n127 "The specified procedure could not be found."
Please check your debugger configuration and/or network access.

I've run depends.exe on the compiled simpleext debugger extension, and it
appears to be complaining that it can't locate "_except_handler4_common"
within WINDOWS\system32\MSVCRT.DLL.
I should also note that I'm building/running this DLL on an XP-SP2 system,
but I'm using the longhorn DDK build environment to build it. The reason for
the latter is because I'm using it to debug a longhorn system and so I need
it to pick up the correct header files (ndis.h for example).

It seems like I must have something misconfigured, but I can't figure out
what.

I get the same error when I compile/run our own extension. Can someone there
help me get past this problem?

Mario Hewardt [MSFT]

unread,
Sep 20, 2007, 1:24:54 PM9/20/07
to
As far as I know, _except_handler4_common is Vista specific and will not
work on anything but Vista. If you really want to build it in the LH WDK
Window I believe you can specify minimum TARGET requirements (in the
makefile) using _NT_TARGET_VERSION.

For example, minimum requirement XP:

_NT_TARGET_VERSION=0x501

Thanks,
Mario

"Les_Figg" <Les_...@discussions.microsoft.com> wrote in message
news:8DE0F12C-CF33-4C6A...@microsoft.com...

Les_Figg

unread,
Sep 20, 2007, 2:56:02 PM9/20/07
to
Thank you, Mario.

That was what we needed.

Regards,
Les

0 new messages