tappatappa Posted November 11, 2015 Posted November 11, 2015 This may seem a weird question. So I am upgrading my machine to a Win10/Rad Studio 10 setup. I need to produce an ISAPI Module compatible with IIS7, but I see that now the uniGUI/ISAPI module project produces cpl files? Am I doing something wrong? Please help!
Administrators Farshad Mohajeri Posted November 11, 2015 Administrators Posted November 11, 2015 I'm not sure. Seems to be C++ Builder issue. CPL is a Windows Control Panel file.
tappatappa Posted November 11, 2015 Author Posted November 11, 2015 The previous post was not correct. In RadStudio 10 Project manager the project is called <my project>.cpl, but actually it releases a .dll file. Loaded in IIS 7, when I try to access localhost I get an error HTTP 500.0 Modulo IsapiModuleNotifica ExecuteRequestHandlerGestore ISAPI-dllCodice errore 0x8007007f Using my previous setup (Windows 7/ Rad Studio XE6/uniGUI 0.99.0.1161) the same project worked. Before you ask: I need to upgrade my development environment, but I can't force to upgrade all the servers to IIS 10.
Administrators Farshad Mohajeri Posted November 11, 2015 Administrators Posted November 11, 2015 So what is the root of problem here? -Windows version? -IIS version? -Rad Studio version? -UniGUI version?
tappatappa Posted November 11, 2015 Author Posted November 11, 2015 So what is the root of problem here? -Windows version? -IIS version? -Rad Studio version? -UniGUI version? Good point. You can't separate IIS from Windows (Win7=>IIS7, Win10=>IIS10). But I will try some permutation of rad studio/uniGUI. Edit: actually, I did NOT change IIS, that is the point
tappatappa Posted November 11, 2015 Author Posted November 11, 2015 Here is some results On Windows10-RadStudio10-uniGUI 0.99.80.1219 New>uniGUI for C++ Builder> ISAPI Turn off all linking (RTL, DelphiRTL, Run time packages) Build (Release) resulting dll size 5397 KB deployed on Windows 7 (IIS7) > HTTP 500.0 0x8007007f New>uniGUI for Delphi> ISAPI Turn off all linking (DelphiRTL, Run time packages) Build (Release) resulting dll size 3907 KB deployed on Windows 7 (IIS7) > works what is happening? O_O
Administrators Farshad Mohajeri Posted November 11, 2015 Administrators Posted November 11, 2015 So is this a Delphi 10 issue?
tappatappa Posted November 11, 2015 Author Posted November 11, 2015 Maybe is a C++Builder 10 issue, I can't give you a definitive answer. As I posted before Delphi 10 > New (uniGUI for Delphi) > ISAPI works C++ Builder 10> New (uniGUI for C++) > ISAPI ERROR Maybe the cbproj generated by the uniGUI Application Wizard is somewhat flawed? While the dproj is correct?
Administrators Farshad Mohajeri Posted November 11, 2015 Administrators Posted November 11, 2015 Is your target 32 bit?
tappatappa Posted November 11, 2015 Author Posted November 11, 2015 Is your target 32 bit? Yes. I am using 32bit C++ Classic Compiler
Administrators Farshad Mohajeri Posted November 11, 2015 Administrators Posted November 11, 2015 Can you please test same setup with XE8 and see if it works?
tappatappa Posted November 11, 2015 Author Posted November 11, 2015 Can you please test same setup with XE8 and see if it works? Unfortunately I can't, I skipped XE7 and XE8. Those Embarcadero guys are waaay to fast with their releases. On the bright side: I may have found a setup that works in C++ Builder 10. Let me investigate it deeper and I will post my findings. Thanks for the support (as always) 1
Administrators Farshad Mohajeri Posted November 11, 2015 Administrators Posted November 11, 2015 If you own Delphi 10 you can download XE8 and XE7 for free.
tappatappa Posted November 11, 2015 Author Posted November 11, 2015 In short: I tried the new C++ 32bit compiler (the CLANG LLVM one) with the same Includes, libs, and browsing paths as the "Classic Compiler". The Hello World project works! Now I need to port my awfully big project to the new compiler and ... It would be great if someone can confirm this "fix".I don't know if it's related but see https://forums.embarcadero.com/message.jspa?messageID=706860
Recommended Posts