ISAPI DLL - new form does not work in Async events (iw15.1.12+)

<< Click to Display Table of Contents >>

Navigation:  Forum >

ISAPI DLL - new form does not work in Async events (iw15.1.12+)

Forum link

 


 

02-25-2020, 05:41 PM:

 

Hi!

 

There is an error in versions after iw15.1.12.

 

Stand alone application: OK.

 

IIS + ISAPI.DLL + Virtual directory: calling the new form does not work in Async events. The new URL does not contain the virtual directory name.

 

Demo:

 

iw15.1.12: http://95.140.46.153/iw15_1_12

 

iw15.1.15: http://95.140.46.153/iw15_1_15

 

[url=http://95.140.46.153/iw15_1_15][/url]

 

Code:

 

procedure TIWForm1.IWButton1AsyncClick (Sender: TObject; EventParams: TStringList);

 

var F: TIWForm2;

 

begin

 

F = TIWForm2.Create (WebApplication);

 

F.Show;

 

end;

 


 

02-25-2020, 07:08 PM:

 

Hi, the second demo, show an error in browser console:

 

Quote:The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature.

 


 

02-25-2020, 09:21 PM:

 

(02-25-2020, 07:08 PM)Jose Nilton Pace Wrote: [ -> ]Hi, the second demo, show an error in browser console:

 

Quote:The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature.

 

ok what can i do differently? The same simple code is compiled in iw15.1.12 and iw15.1.15.

 

 

 

Iw15.1.13 had a bug fix:

 

- URL Parameters containing encoded chars "&" and "?" could be incorrectly decoded if ShowStartParams is set

 

Could this be the cause?

 


 

03-05-2020, 10:42 PM:

 

Hi

 

IW15.1.16 solved the problem.

 

Thanks.