Atozed Forums
64bit isapi.dll - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: 64bit isapi.dll (/thread-1234.html)



64bit isapi.dll - Mikael Nilsson - 09-12-2019

Hi,

Can anyone help me and describe how I convert my 32bit isapi.dll to 64bit?
I guess I have to some setup in Window Server 2016 / IIS 10.0?
and more?

/MN


RE: 64bit isapi.dll - Alexandre Machado - 09-12-2019

You just need to rebuild it as a 64-bit application. There is actually no conversion process.

On project manager, expand your project, select Target Platforms, right-click, select Add Platoform and add 64-bit Windows to it.

Now just build it and deploy. The Windows version on server must be any 64-bit version of Windows. No setup is needed (other than what you also need in 32-bit version)

http://docs.atozed.com/docs.dll/deployment/isapi/Deploying%20ISAPI%20using%20IIS.html


RE: 64bit isapi.dll - Mikael Nilsson - 09-24-2019

(09-12-2019, 08:26 AM)Alexandre Machado Wrote: You just need to rebuild it as a 64-bit application. There is actually no conversion process.

On project manager, expand your project, select Target Platforms, right-click, select Add Platoform and add 64-bit Windows to it.

Now just build it and deploy. The Windows version on server must be any 64-bit version of Windows. No setup is needed (other than what you also need in 32-bit version)

http://docs.atozed.com/docs.dll/deployment/isapi/Deploying%20ISAPI%20using%20IIS.html

Well if life was that easy.
I only get a white page when I try a 64bit version of my webapplication.
What have I missed?


RE: 64bit isapi.dll - Alexandre Machado - 09-24-2019

There is no conversion of any IW application between x86 and x64. I've been doing that for almost 8 years now, since XE2 was release and, yes, it is that easy.

A white page is not the output of any IIS or IW error (in any case you would get a page containing some error message).

Did you test a simple html as mentioned on item 5 of the document? Did it work?


RE: 64bit isapi.dll - Mikael Nilsson - 09-24-2019

(09-24-2019, 10:31 AM)Alexandre Machado Wrote: There is no conversion of any IW application between x86 and x64. I've been doing that for almost 8 years now, since XE2 was release and, yes, it is that easy.

A white page is not the output of any IIS or IW error (in any case you would get a page containing some error message).

Did you test a simple html as mentioned on item 5 of the document? Did it work?

You are right. The test.html does not show.

But that maybe depends on other things. Because we are running a 32 bit web application and have done so for at least 10 years. So the IIS setup is working.
It has a rather complex web.config files. Including redirect an https....  Do you want to see it?

A question to you is. Have you tested this on Delphi 10.3.2 and IW 15.1.5?


RE: 64bit isapi.dll - kudzu - 09-24-2019

Mikael,

We have many production customers running on x64.


RE: 64bit isapi.dll - Mikael Nilsson - 09-25-2019

Yes I understand that. But I need your help to pinpoint whats wrong with my application.
Other things to mention is that when Installing Delphi 10.3.2 many of may console program stopped working when rebuild.
They where 64bit. So I have to back to 32 bit for those.

I'm using DBExpress to access my database. Looks like it is issue with 64bit and DBExpress. Can you verify?


RE: 64bit isapi.dll - kudzu - 09-25-2019

"I'm using DBExpress to access my database. Looks like it is issue with 64bit and DBExpress. Can you verify? "

How can I possibly do that with only a few sentences of information?

Check the IIS logs and also set up ISAPI for debugging and then you can trace the code.

There is a better specific IW link but I can't locate it right now, but this should get you started:
https://stackoverflow.com/questions/44190866/how-to-debug-an-isapi-extension-using-the-delphi-debugger/44191683

Remember that ISAPI runs in a limited permission user so you may need to grant access to your data files or other permissions.