32bit Unicode ISAPI Extension

Just starting out? Need help? Post your questions and find answers here.
swhite
Enthusiast
Enthusiast
Posts: 726
Joined: Thu May 21, 2009 6:56 pm

32bit Unicode ISAPI Extension

Post by swhite »

Hi

I have been using ISAPI extensions with IIS for a number of years now and everything works fine in 64bit unicode. However, I have a Windows 2016 server which will not run 64bit ISAPI extensions for undetermined reasons but it will run 32bit ISAPI extensions. So my question is what should be changed in the include file to make it work with unicode 32bits. The reason I ask is that I get invalid memory errors when the 32bit executes. These errors are always related to the _HSE_SEND_HEADER_EX_INFO structure.

Thanks,
Simon
Simon White
dCipher Computing
swhite
Enthusiast
Enthusiast
Posts: 726
Joined: Thu May 21, 2009 6:56 pm

Re: 32bit Unicode ISAPI Extension

Post by swhite »

Hi

I found the issue with my code thanks to help from JHPJHP. I was using GetCurrentProcessId_() in one of my included files once I removed it from the include file and placed it in the AttachProcess procedure everything worked correctly.

Simon
Simon White
dCipher Computing
Post Reply