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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 97,790
» Latest member: soulofpapers
» Forum threads: 2,426
» Forum posts: 11,371

Full Statistics

Online Users
There are currently 1759 online users.
» 4 Member(s) | 1751 Guest(s)
Applebot, Bing, Google, Yandex, fv88workk, greenpalmgallery, soulofpapers, taigo88vicom

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

 
  Help file feature for next release
Posted by: MJS@mjs.us - 07-01-2023, 11:42 AM - Forum: IntraWeb General Discussion - Replies (3)

For the next release the help file will include (mostly) clickable class diagrams.  The example below shows TIWCanvas with just a few properties, most of the functionality is in TIWCustomCanvas so now you easily can reference the ancestors from a single page:

[Image: IW_Help_0010.png]


[Image: IW_Help_0011.png]

Print this item

  Redirection in IWServerControllerBaseBrowserCheck generates exception (Priority suppo
Posted by: valmeras - 07-01-2023, 12:07 AM - Forum: IntraWeb General Discussion - Replies (4)

I am using Intraweb 15.3.8 with C++ Builder 10.2.3
The sample I have attached was working fine with Intraweb 14

aSession->TerminateAndRedirect generates an exception

Exception message  : Access violation at address 0000000000C0FFFC in module 'myapp.exe'. Write of address 0000000000000090
Depending on the error condition, it might be possible to restart the application.
Exception class    : EAccessViolation
Exception address  : 00000000079E77D0
Exception Time    : 2023-06-30 18:50:38.870


THIS IS AN EMERGENCY PLEASE!



Attached Files
.zip   Project4.zip (Size: 58.5 KB / Downloads: 3)
Print this item

  class order in TemplateProcessorHTML
Posted by: StephB - 06-28-2023, 03:30 PM - Forum: IntraWeb General Discussion - Replies (2)

Dear all,
I have a strange render with css classes in an Intraweb application and I don't understand why, hope somebody can help me to fix it.
In a classic HTML/PHP page, when I assign 2 classes to an item, on rendering the classes are applied in the "text" order.

Here an example with a mix between bootstrap btn class and my own btn-welter class, the button is as expected.
[Image: html_d6b5io.png]

But with Intraweb, the same kind of button using the same classes is not properly render because my class is render before the bootstrap class.
[Image: intraweb_zprcsk.png]

I tried to reverse the classes order (btn-welter btn), but the render is the same.
Then I tried to use bootstrap classes only (btn btn-primary), and in this case the result is OK, I have a classic Bootstrap blue button.

I can't add !important in my class to force the render because it comes from a common class, and somethime we have to overwrite it by using a third class.

Any idea why my classes are not processed as expected ?

Many thanks for your help.

Print this item

  WebApplication.Sendfile doesn't work
Posted by: KUD1990 - 06-28-2023, 11:24 AM - Forum: IntraWeb General Discussion - Replies (2)

[SOLVED]

Hi all, 

I use the WebApplication.Sendfile function on AsyncClick to download one csv File but this function sometimes doesn't work. 
On OnClick Event don't work, it loads and loads and never does download the file.
Can someone please explain me why it happen? What should I change to get the file normal download? 

Thanks

Print this item

  jquery and themes
Posted by: gbh100 - 06-27-2023, 11:19 PM - Forum: IntraWeb General Discussion - Replies (1)

given the support for jquery grid etc would it be possible to get a demo of how this would work with themes.  I'm considering dropping my CGDev dependancy where i can

Print this item

  Betfair Streaming API
Posted by: cnielsen4211 - 06-27-2023, 01:08 AM - Forum: Indy - Replies (3)

Hi,

I have searched everywhere trying to find a solution to this problem.

I am a regular user of Betfair and use their polling API with idHTTP components which has worked fin for years and now I'm getting endless SSL errors, so I want to change to the Betfair Stream API using TCP.

I have a valid Login and the correct API Key which is required for Betfair API Access.

Here is my code:

Code:
procedure TfrmStream.Button1Click(Sender: TObject);
var
  SSLHandler: TIdSSLIOHandlerSocketOpenSSL;
  headers, response, connectionmessage: string;
begin
  if not TCPClient.Connected then
    begin
      try
        Memo1.Lines.Clear;
        SSLHandler := TIdSSLIOHandlerSocketOpenSSL.Create(TCPClient);
        SSLHandler.SSLOptions.Mode := sslmClient;
        SSLHandler.SSLOptions.VerifyMode := [];
        SSLHandler.SSLOptions.VerifyDepth := 0 ;
        SSLHandler.SSLOptions.SSLVersions :=  [sslvTLSv1, sslvTLSv1_1, sslvTLSv1_2];
        TCPClient.IOHandler := SSLHandler;
        TCPClient.Host := 'stream-api-integration.betfair.com';
        TCPClient.Port := 443;
        TCPClient.ConnectTimeout := 5000;
        TCPClient.Connect;
        response := TCPClient.IOHandler.ReadLn;
        Memo1.Lines.Add(response);
      except
        on E: Exception do
          Memo1.Lines.Add(' ====== ERROR ======' + sLineBreak +
            ' > ' + E.Message + sLineBreak);
      end;
    end
  else
    begin
      TCPClient.Disconnect;
    end;
end;

I get no response at all where I should be getting

Code:
{"op":"connection","connectionId":"105-260623224442-1720442"}

If I place the same url in a browser I do get the response, so why doesn't my code get a response?

I've been battling this for over week so any help would be appreciated.

Print this item

  IntraWeb 15.3.9 is out!
Posted by: Alexandre Machado - 06-26-2023, 06:46 AM - Forum: IntraWeb General Discussion - No Replies

Hi folks,

there is a new update available, IW 15.3.9:

https://www.atozed.com/2023/06/intraweb-15-3-9/

Enjoy!  Big Grin

Print this item

  lots of TidHTTP errors occurring
Posted by: cnielsen4211 - 06-24-2023, 03:17 AM - Forum: Indy - Replies (3)

Hi, I'm new here but came here out of frustration trying to find help with the TIdHTTP errors I'm getting.

I have the latest Delphi 11 and INDY version is 10.6.2.0.

I have been using the TIdHTTP component to communicate with the Betfair.com API and my programs continually poll the website to get the information I want. These programs have been working both locally and on VPS for years.

All of sudden I'm now getting these error messages randomly and fairly frequently:

1) Time out errors

2) Error connecting with SSL
    error:1404F10B: SSL Routines SSL3_GET_RECORD : wrong version number

3) Error connecting with SSL
    error: 14077410:SSLroutines SSL23_GET_SERVER_HELLO: sslv3 alert handshake failure

My programs using the TIdHTTP component have been working fine for years and all of a sudden these frequent error are occurring, causing a program crash.

My code:

Code:
try
  httpClient.Request.AcceptEncoding  := 'gzip, deflate';
  httpClient.Request.ContentType    := 'application/json;';
  httpClient.Request.Charset        := 'utf-8';
  httpClient.Request.ContentLength  := sizeof(Params);
  httpClient.Request.Connection    := 'Keep-Alive';
  httpClient.Request.Accept        := 'application/json';
  httpClient.ReadTimeout            := 120000;
  httpClient.ConnectTimeout        := 120000;
  // httpClient.HandleRedirects        := true;  { added friday 20230623  didn't solve problem}
  httpClient.Request.CustomHeaders.Add('X-Authentication:' + SessionToken);
  httpClient.Request.CustomHeaders.Add('X-Application:' + 'lgQDTaP9sJgCDTs8');
  sslIOHandler := TIdSSLIOHandlerSocketOpenSSL.Create(nil);
  sslIOHandler.PassThrough := false;  { added friday 20230623}  //https://quality.embarcadero.com/browse/RSP-29900  hasn't solved problem
  sslIOHandler.SSLOptions.Method :=  sslvSSLv3;
  sslIOHandler.SSLOptions.sslversions := [sslVTLSv1, sslVTLSv1_1,sslVTLSv1_2,sslvSSLv3];
  // sslIOHandler.SSLOptions.Method := sslvSSLv3;  // tried lots of versions of SSL none solved the problem
  // sslIOHandler.SSLOptions.SSLVersions := [sslvSSLv3];
  httpClient.IOHandler := sslIOHandler;
  httpClient.Request.ContentLength := sizeof(Params);
  httpClient.Post(self.URL, Params, HTTPstr);
except

I'm getting desperate for a solution, any help would be appreciated.



Attached Files Thumbnail(s)
       
Print this item

  Intraweb demos and documentations for C++ builder users (Priority user)
Posted by: valmeras - 06-23-2023, 06:36 PM - Forum: IntraWeb General Discussion - Replies (4)

As a General remark, I would like to remind to Atozed that there are also C++ users like me!
All sample codes are for Delphi!
Which requires from our side to adapt for C++ Builder.
For example the new Async Callback functions:

https://docs.atozed.com/docs.dll/develop...015.1.html

For sure this cannot work for C++ Builder because if the linker cannot find the definition of the callback function declared in the header file, it will generates an error!

So, when Atozed build samples for Delphi users, it will be better to also build the same samples and documentations for C++ Builder users!

Print this item

  addToHomescreen
Posted by: Сергей Александрович - 06-23-2023, 04:43 PM - Forum: IntraWeb General Discussion - No Replies

There is an add To Home screen feature in github.  How to "fasten" it to the application in IntraWeb?

write : in ContentFiles : addtohomescreen.js

I place the add to home screen file addtohomescreen.js in the wwwroot folder.

in Script Events buttons  onClick write: addToHomescreen();

When you click on the "nothing happens" button

Sad

Print this item