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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 107,220
» Latest member: x8betlocker
» Forum threads: 2,438
» Forum posts: 11,403

Full Statistics

Online Users
There are currently 1505 online users.
» 6 Member(s) | 1496 Guest(s)
Applebot, Bing, Google, bk88com, dangnhapzowinasia, enriquerazonjrph44, lotus365website, Nhacaiuytin123scom, pg55date

Latest Threads
Strict CSP Implementation
Forum: IntraWeb General Discussion
Last Post: Mario Villalba
10-29-2026, 06:32 PM
» Replies: 0
» Views: 97
Form doesn’t resize with ...
Forum: IntraWeb General Discussion
Last Post: BathDragonfly
10-29-2026, 09:48 AM
» Replies: 0
» Views: 81
Rerendering CG Tab Contro...
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-29-2026, 07:38 AM
» Replies: 5
» Views: 560
Simply replacing the IW i...
Forum: IntraWeb General Discussion
Last Post: DidierMenant
10-28-2026, 10:31 AM
» Replies: 0
» Views: 167
Simply replacing the IW i...
Forum: IntraWeb General Discussion
Last Post: DidierMenant
10-28-2026, 10:30 AM
» Replies: 0
» Views: 154
IWDevTools
Forum: IntraWeb General Discussion
Last Post: AndreasK
10-26-2026, 01:19 PM
» Replies: 0
» Views: 182
SSL Revisited
Forum: IntraWeb General Discussion
Last Post: rlebeau
10-19-2026, 09:24 PM
» Replies: 3
» Views: 767
SpinBox Button Size
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-19-2026, 06:12 PM
» Replies: 0
» Views: 296
CSS in CGDevTools
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-13-2026, 04:12 PM
» Replies: 2
» Views: 753
Help with TIWPaintBox
Forum: IntraWeb General Discussion
Last Post: EmoPal
10-13-2026, 08:44 AM
» Replies: 0
» Views: 422

 
  ISAPI dll, IIS and exceptions
Posted by: msgopala - 05-09-2019, 05:02 PM - Forum: IntraWeb General Discussion - Replies (1)

Embarcadero® Delphi 10 Seattle Version 23.0.20618.2753 
Intraweb 15.0.14
TMS pack Pro
FastReport 5

The dll has been running on the serv er since April 20th with a few TMS component issues. Apart from that after there is one issue, there are sites trying to access files which are not where the dll is published resulting in 404 error and one of the dlls, which is an older isapi dll going down, which causes a domino effect. 

How can I stop this from happening. I have a robots.text in the same folder as the dll and have User-agent: * Disallow/ inside it. 


Thanks
* I tried googling before posting here and came up with nothing.

Print this item

  IW 15.0.21 vs RAD C++ 10.2 update 3
Posted by: duffo64 - 05-09-2019, 03:21 PM - Forum: IntraWeb General Discussion - Replies (4)

Sirs,

After 15.0.21 installation, as soon as I recompile an existing project (or create and run a new empty one) it fails:

Exception message : Error reading IWForm1.Width: Access violation at address 00B91998 in module 'Intraweb_15_D10_2.bpl'. Read of address 00000008
Exception class : EReadError

P.S.: trying an empty project with RAD C++ 10.3 update 1 works as expected

What happened ?_?

/Claudio

Print this item

  A couple of http.sys issues!
Posted by: TonyNZ - 05-09-2019, 09:38 AM - Forum: IntraWeb General Discussion - Replies (2)

A bit of background. I have, at a client's site, approx. 6 - 8 Intraweb SA servers running on a virtual Windows 2018 server (using http.sys and running on port 80). I have limited control over what the hosting crowd decide in terms of virus / malware / windows patch update timetables etc. The reason that multiple servers run on one VM is essentially related to costs to the client. Some of the Intraweb servers have 1,000 clients, others have 50! The reason they are SA (instead of a service) is simply to do with ease of monitoring them! Eventually I will develop a "monitoring app" that will tell if a server has stopped etc.

To the issues (and this is more a query if anyone else has struck these):

1) If one of the SA servers is down and a client tries to login they don't get an error. The simply get the login screen for one of the other SAs that is running. Which confuses the client! Is there a way of having a "default" SA server ... like a 404 page!

2) Shutting down one of these SA servers causes Windows Explorer to "lock up"! This is a bit difficult to explain ... but if you close the server and there is then no desktop response. I'm on a remote connection so I know that Windows hasn't locked ... I can still do file transfers etc. If you wait long enough (15 - 30 minutes) Windows does come back (sometimes with the "Explorer has stopped responding message") and you can recover, without a reboot etc. Of course I never have such an issue on my development computer. This may be related to running them as "application" as opposed to services.


Anyway just seeing if anyone else has had such issues.

Print this item

  New Userkit Release
Posted by: Quajak - 05-08-2019, 05:01 PM - Forum: COSMOS - No Replies

We have released a new user kit version. Download it here: https://github.com/CosmosOS/Cosmos/relea...t_20190508

This release includes the following:

  • Support for VS2019
  • CGS and Fat fixes
  • Added arithmetic overflow checks

Print this item

  How to handle exceptions TIdTcpServer, TIdTcpClient
Posted by: whitekn3 - 05-08-2019, 01:24 PM - Forum: Indy - Replies (2)

I recently took over development/maintenance on a project written in Builder C++ 6 and just converted to Indy 10.   Some quirky unexpected problems occurred that seem to be related to the error handling.  I am pretty much a novice when it comes to Indy so I'm struggling to figure it all out.

Web searches found several comments by RLebeau that said "let the server handle the exceptions".   I looked, but never found, for code samples that would clarify what he meant. 

In this case TIdTcpServer Execute calls DoPassthruServerExecute, which calls HandleFirstCallerMessage, both of which have try ... catch sections.  There is also a TIdTcpClient and a ReceiveThread (TThread, TIdContext which is passed the server context) that has a try .. catch block, and which catches EIdConnClosedGracefully.

I've attached a stripped down code that has all the essential code and error handling.  I would greatly appreciate it if someone could take a look at it and let me know if they see any obvious problems or design issues.

Thanks.

Print this item

  Warning about PDF resource
Posted by: cprmlao@hotmail.com - 05-06-2019, 09:02 PM - Forum: IntraWeb General Discussion - Replies (4)

Hi,
When I use the next code with ModalWindow to download a pdf I am getting the next message in chrome console.
The PDF is downloaded but I get the warning.
Is there a way to avoid it?

Code:
IWBase__ED463BD0B.js:4 Resource interpreted as Document but transferred with MIME type application/pdf



Code:
with IWModalWindow1 do begin
    Reset;
    Autosize := False;
    Title := 'Bulário';
    Draggable := False;
    WindowWidth := 95;
    WindowHeight := 95;
    Src := 'http://mysite/document.pdf';
    OnAsyncClick := nil;
    Show;
  end;

Regards, Luiz

Print this item

  TIWButton
Posted by: ShaneStump - 05-04-2019, 11:04 PM - Forum: IntraWeb General Discussion - Replies (1)

Howdy All!

I have a few places where I am using the 'stock' IW buttons where I need events that are NOT asynchronous.

In all my uses of TIWBSButtons, I use the RawText property that allows me to format my buttons caption as needed.

With the default TIWButton, it sets the caption as a Value attribute.

Without modifying the IW source code, how can I set the TIWButton caption using RawText like I do with TIWBSButton?

Thanks in advance,

Shane

Print this item

  IWLocker
Posted by: ShaneStump - 05-04-2019, 03:13 AM - Forum: IntraWeb General Discussion - Replies (11)

Howdy All!

I am putting the final touches on my new web responsive web app and I am running into several problems with IWLocker:

1) If the current page has been scrolled to where the top of the page is outside of the view port and the IWLocker gets called, it is NOT shown in the because it is being displayed based on the top of the page.

2) I need the ability to make the displayed image responsive. It really would be nice if the IWLocker allowed multiple size breaks.

I am guessing the IWLocker is a javascript function. Where is it so i can try to make the above changes or does anyone have an alternate solution that works in a similar fashion as the IWLocker.

** UPDATE** 

I woke up and decided the 'default IW' loading image would be fine if it fixed the above problem. I cleared my image and tried it.... if the current page is still scrolled beyond the top of the initial page, the same results.

THanks,

Shane

Print this item

  TIdHTTP Lightstreamer Client
Posted by: rsiw2000 - 05-03-2019, 11:55 AM - Forum: Indy - Replies (6)

Hello,

I´m trying to write a Lightstreamer client using C++ Builder Tokyo and TIdHTTP component.
I wrote this code based on the python client demo. 
TIdHTTP is receiving data using a simple TStream descendant and I get these data on the Write method.

This is part of the connection thread, it creates the session and stay connected to receive data.

Code:
pHTTP = new TIdHTTP(0);
pHTTP->Request->CustomHeaders->Add("Accept: */*");
pHTTP->Request->CustomHeaders->Add("Content-Type: application/x-www-form-urlencoded");
pHTTP->Request->CustomHeaders->Add("Connection: Keep-Alive");
UnicodeString params, url = L"http://push.lightstreamer.com/lightstreamer/create_session.txt";
params.sprintf(L"LS_op2=create&LS_cid=mgQkwtwdysogQz2BJ4Ji+kOj2Bg&LS_adapter_set=DEMO&LS_protocol=TLCP-2.1.0";
// parametros
params = TIdURI::ParamsEncode(params, enUTF8);
// conexão
pSSParams = new TStringStream(params);
pHTTP->Post(url, pSSParams, pClienteLS->RcvdStream);

The connection returns the following headers:

Quote:HTTP/1.0 200 OK
Server: Lightstreamer-Server/7.1.0 b4 build 1915 (Lightstreamer Server - www.lightstreamer.com) ENTERPRISE edition
Content-Type: text/enriched; charset=ISO-8859-1
Cache-Control: no-store
Cache-Control: no-transform
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 1 Jan 1970 00:00:00 GMT
Date: Fri, 3 May 2019 12:03:13 GMT
Content-Length: 500000
Connection: Keep-Alive
x-accel-buffering: no


When SessionId arrives, I subscribe some stocks using another TIdHTTP and stock data becomes to arrive.
Server is sending data all the time, but TIdHTTP connects and receives some data, then stops for a few minutes, then another block of data arrives, then stops again, then receive another block, a lot of times. 
It seems like to be filling a buffer, precisely a 32k (32768 bytes) buffer.
When I force TIdHTTP to disconnect, remaining data arrives in the Write method.

So:
What i'm doing wrong ?
Why received data does not reaches the stream Write method immediately ?

At the python example there's no different header (no header, in fact.). 
The Lightstreamer docs also does not have any reference to the need of some specific header.

Print this item

  Problems Installing IW 14.2.10 in Delphi 10.3.1
Posted by: andrews - 05-02-2019, 06:57 PM - Forum: IntraWeb General Discussion - Replies (2)

394/5000
[color=rgba(0, 0, 0, 0.87)]Hi, I tried my Delphi Rio Update 1 (Delphi 10.3.1), but I am not able to install IW 14.2.10 after installing the IW paracede disabled in Install Packages and when enabled this error appears:[/color]
[color=rgba(0, 0, 0, 0.87)]
Can not load package C: \ Users \ ..... \ dclIntraweb_10_D10_3.bpl. The specified module could not be found.

Is the IW 14.2.10 version compatible with Delphi 10.3.1?
Thank you.
[/color]

Print this item