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:
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
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.
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.
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 ?
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?
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
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
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
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.
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:
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!