[windev] 64 bit ISAPI filter
Roel Vanhout
rvanhout at riks.nl
Wed May 13 13:33:49 GMT 2009
Not very specific to your problem, but for debugging other types of
plugins (i.e., not ISAPI dll's, I've never dealt with those), I've found
that setting a hardware breakpoint to be more reliable than setting a
breakpoint in VS. In your C++ code, put
__asm {
int 3;
}
and you'll get a dialog asking whether you want to attach a debugger
when the code gets to that point.
Apart from this, logging errors with OutputDebugString() and catching
them with DebugView is also helpful when debugging plugins.
If you already knew about these, please ignore this mail :)
cheers,
roel
-----Original Message-----
From: windev-bounces at windev.org [mailto:windev-bounces at windev.org] On
Behalf Of Mark McGinty
Sent: Wednesday, May 13, 2009 15:23
To: windev at windev.org
Subject: [windev] 64 bit ISAPI filter
Greets,
I'm trying to build an ISAPI filter DLL for x64. Interestingly [and
annoyingly] VS2005 does not offer ISAPI filter as a wizard-supported
project type -- ISAPI extension: yes, filter: no. VS6, otoh, does
provide a wizard for ISAPI filter projects, so I figured what the hell,
create with VS6 wizard and migrate the project to VS2005.
Both project creation and migration went off without any visible
hitches, aside from the fact that my DLL refuses to load into IIS. As a
consequence, debugging it seems problematic -- I've read the MSDN stuff,
and followed directions accordingly, but it does not trap at my break
points.
I've commented-out all functionality besides its wizard-generated init
stuff, so I'm assuming it's not *my* code that's the fundamental
problem...
sadly, shallow consolation there...
I guess I need to investigate the 64-bitness of the class that ISAPI
filters derive from... but I was hoping to get lucky here first. :-)
Anyone happen to know what the deal is?
-Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.windev.org/pipermail/windev/attachments/20090513/00ee0e2a/a
ttachment.htm
--
Windev mailing list at Windev at windev.org
Lost your password? Need to unsubscribe or change your delivery
options?
Go to http://lists.windev.org/mailman/listinfo/windev
--
Search the Windev Archives - www.windev.org
More information about the Windev
mailing list