Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 98,729
» Latest member: Impermeabilizabcn
» Forum threads: 2,426
» Forum posts: 11,371

Full Statistics

Online Users
There are currently 671 online users.
» 1 Member(s) | 667 Guest(s)
Applebot, Bing, Google, Impermeabilizabcn

Latest Threads
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
09-11-2026, 09:49 PM
» Replies: 1
» Views: 274
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 209
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 224
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 532
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 280
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 703
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 258
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,333
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 398
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 1,047

 
  lambda functions with classic 32 bit Borland compiler ?
Posted by: JuergenS - 08-18-2019, 05:51 PM - Forum: IntraWeb General Discussion - Replies (14)

Hi,

the Intraweb Application Wizard creates by default a C++ project for the classic 32 bit Borland compiler,
but now the default compiler for Embarcadero RAD Studio 10.3.2 32 AND 64 bit  is CLANG.

The classic 32 bit Borland compiler does not provide C++11 lamda function support,
therefore gsession functions like Excecute() and LookUp() probably can not be used with this compiler.

Turning off the classic 32 bit compiler creates an error message in IWInit.hpp

namespace Iwinit
{
  extern Iwapplication::TIWApplication* __thread WebApplication;
}

Regards
JuergenS

Print this item

  TWMemo and caret position
Posted by: Nand__ - 08-17-2019, 09:58 AM - Forum: IntraWeb General Discussion - Replies (1)

Hello everybody,

is there a way to set the caret position in a TIWMemo control?

Print this item

  Help with Registered callback methods
Posted by: LeoBruno - 08-16-2019, 07:32 PM - Forum: IntraWeb General Discussion - Replies (3)

Hi:

I´m testing Intraweb 15.1 and

I need to get on server side (IWApplication) the result value from a javascript function executed on client side.

I have read this dodumentation http://docs.atozed.com/docs.dll/developm...015.1.html
and these threads https://www.atozed.com/forums/showthread.php?tid=498 , https://www.atozed.com/forums/thread-1134.html

Also IW CustomAjaxCall Demo.

But I find all very confusing, because i need the return values on server side.
So Why should I use a callback method, when all I need to do is to get a result value that is on the client side?
Also, I´m not sure if I got this right.

Here is what I have so far...

1- the CallBackMethod:

procedure TfrmBase.clbkGridSel(aParams: TStrings; out aResult: string);
begin
  aResult := aParams.Values['Selection'];
end;


2 - the registration of the callback method

procedure TfrmBase.IWAppFormCreate(Sender: TObject);
begin
  WebApplication.RegisterCallBack('clbkGridSel', clbkGridSel);
end;


How do I get, on server side, the aResult from the callback method to process this information?

I wrote this method to execute the callback on client side, but as you can see, It doesn´t help me to get the information.

function TfrmBase.GetSelecaoGrid: string;
begin
  WebApplication.
    CallBackResponse.
      AddJavaScriptToExecute('ajaxCall("clbkGridSel", "&Selection="  + GRIDCADUSUARIOGetSelected()');
end;

GRIDCADUSUARIOGetSelected() id the javascript function that will return the selected data.

In other words, what I need to accomplish, is to be able to call javascript "GRIDCADUSUARIOGetSelected() " from Server Side, and get it´s result value.

Print this item

  IW 15.1.3 ISAPI
Posted by: matija - 08-16-2019, 11:44 AM - Forum: IntraWeb General Discussion - Replies (8)

Do I need to have new DLLs (Atozed.Core, Intraweb, Intraweb.HTML, Itraweb.IWP) for the ISAPI version if you are using IW 15.1.3?

Because it doesn't work, I don't know why or where! In the previous version, the case still worked.

Print this item

  Want simple JS demo
Posted by: Kristy - 08-16-2019, 06:54 AM - Forum: IntraWeb General Discussion - Replies (26)

At Huh
Just want to show user time zone offset in IWEdit1.
IW demo seem too complicate that I did not get the right way to handle return.
What am I missing?


procedure TIWForm1.IWAppFormCreate(Sender: TObject);
begin
  Self.JavaScript.Add('function TZoffset(){'+ #13#10
  +'var d = new Date();'+ #13#10
  +'var tn = d.getTimezoneOffset();'+ #13#10
  +'document.getElementById("IWEDIT1").innerHTML = tn;'+ #13#10
  +'}');

IWedit1 is a way for return back the value to usersession variable only.

Thanks for help!
end;

Print this item

  Session memory leaks problem
Posted by: vg0005 - 08-15-2019, 08:36 PM - Forum: IntraWeb General Discussion - Replies (3)

Dear IW developers:
 
First of all, thank you for your creative work and tireless efforts.
 
However, I have found a memory-leakage problem which occurs each time when IW destroys a session. Even if it is a web page with only one button or no user codes at all (including all of your demos), when a session is destroyed, it only releases 1/10 of the memory it has consumed(15.1.3 is a little better but still far from satisfactory). For instance, it consumes approximately 1mb memory when a session starts and it spits back only 0.1mb memory when the session is killed.
 
Please use any one of your demos and evaluate the memory ‘black holes’. I usually set the sessiontimeout time to 1 minute to quicken the process but 10 minutes made no difference. I sincerely hope you could fix up the memory problem ASAP.
 
Thank you for your atention.
Ps: I used one of your demos named ‘Guess’. The pic below shows what I had in my TASKMANAGER:

Sorry I forgot to tell you the pic shows what I experienced with one of your IW demos called 'Guess'. You created this demo so I didn't post it as an attachment.



Attached Files Thumbnail(s)
   
Print this item

  Active control question
Posted by: SorenJensen - 08-15-2019, 02:58 PM - Forum: IntraWeb General Discussion - Replies (6)

Hi all,

In VCL it is possible to find out which control is active, and with before and after events, also to tell what the next control to receive focus is, or which control had the focus before.

I used that to bypass some activities in events like OnEnter and OnExit, only doing certain things, if the previous or next active control, was the expected one.

In Intraweb there is an ActiveControl property of the IWForm, but it do not seem to get updated as the focus shifts from control to control. In the IWForm documentation is says it can be used to set the active control when the form is rendered. I suppose it is like the taborder value.

Are there any other way of getting info about which control is the active one ?

Regards
Soren

Print this item

  FTPS with Indy/Delphi to connect with special Visa FTPS server
Posted by: peak.tibor@gmail.com - 08-15-2019, 06:51 AM - Forum: Indy - Replies (8)

Hi,

any help would be useful.

This Visa server is quite specific (I have tried two commercial FTP clients /WS_FTP and TurboFTO/, none of them could connect to this server), two examples:

- requires a special sequence of FTP command during connection startup ( I could follow this making some modifications in IdFTP.pas)
- behaves a little bit special when using the CCC option (I'm stuck with this)

Server documentation states:

Quote:The client is expected to initiate the TLS shutdown after receiving the 200 response to the CCC request.

When I issue the CCC command, it receives the correct answer from the server, but after this the connection is broken. It seems the Indy Ftp client / OpenSSL solution handles this situation a little bit different as the server requires it, but I do not know how to change this.

ANY HELP WOULD BE WELCOME!

What I can see in the IdFtp.pas, after issuing the "CCC" command and receiving the acceptence from the server, the following is executed:

Code:
(IOHandler as TIdSSLIOHandlerSocketBase).PassThrough := True;

And that's all!!!

I do not know how could any change be applied to modify the client behaviour.

Thanks in advance.

Tibor Peak

Print this item

  Help with IL2CPU Error
Posted by: AwesomeCronk - 08-14-2019, 08:23 PM - Forum: COSMOS - Replies (7)

I swear, Kernel.cs is the only file I've edited.

   

Print this item

  Locker image + BaseRewriteURL
Posted by: MJS@mjs.us - 08-14-2019, 05:45 PM - Forum: IntraWeb General Discussion - Replies (6)

Hello,

Updated to 15.1.3 and running as a service with reverse proxy.   The new SVG locker image logic looks to break if you are using BaseRewriteURL.  If I use BaseRewriteURL I get a 404 on 'loading_svg.svg', without using BaseRewriteURL the image locker displays fine.

Regards,
Mark

Print this item