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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 90,951
» Latest member: kkwingiving
» Forum threads: 2,418
» Forum posts: 11,354

Full Statistics

Online Users
There are currently 881 online users.
» 1 Member(s) | 876 Guest(s)
Applebot, Bing, Google, Yandex, kkwingiving

Latest Threads
VCL conversion
Forum: Delphi General Discussion
Last Post: marktuan
08-07-2026, 01:20 PM
» Replies: 0
» Views: 316
Looking for UI Design Tip...
Forum: Delphi General Discussion
Last Post: chrisjordon232
08-06-2026, 05:17 AM
» Replies: 0
» Views: 54
Simply convert PeerIp to ...
Forum: Indy
Last Post: DidierMenant
08-04-2026, 03:50 PM
» Replies: 2
» Views: 215
New CGDevTools build is a...
Forum: CGDevTools
Last Post: lfeliz
08-04-2026, 12:03 AM
» Replies: 2
» Views: 1,366
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-02-2026, 04:21 PM
» Replies: 3
» Views: 265
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: JuergenS
07-31-2026, 09:44 AM
» Replies: 6
» Views: 1,279
Datatables question
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
07-28-2026, 04:34 AM
» Replies: 2
» Views: 266
CSS file not reloading af...
Forum: IntraWeb General Discussion
Last Post: CharlieDunn
07-27-2026, 08:27 PM
» Replies: 1
» Views: 448
Intraweb components missi...
Forum: IntraWeb General Discussion
Last Post: valmeras
07-27-2026, 03:18 PM
» Replies: 3
» Views: 407
Image question on tiwjqdb...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
07-17-2026, 05:18 PM
» Replies: 6
» Views: 4,892

 
  Intraweb returning code 6 on Twilio xml requests (Priority support)
Posted by: valmeras - 01-22-2024, 03:19 AM - Forum: IntraWeb General Discussion - Replies (3)

I am using C++ Builder 10.2.3 with Intraweb 15.5.5
I am trying to make a Twilio automatic phone call using TwilioClient
Below is a summary of the code:

  TTwilioClient *Client;
  std::auto_ptr<TStringList> allParams(new TStringList);
  TTwilioClientResponse response;
  UnicodeString fromPhoneNumber, toPhoneNumber;


   allParams->Add("From=" + fromPhoneNumber);
   allParams->Add("To=" + toPhoneNumber);
   allParams->Add("Url=https://www.mywebsite/twilio.xml");


   response = Client->Post("Calls", allParams.get());

   twilio.xml is saved in wwwroot directory and it contains the text which is supposed to be spoken during the automatic call. Unfortunately this is how Twilio works for automatic outbound calls.

The call is performed on the destination number. But an error message is spoken by instead of the text in the xml file.
When I contacted Twilio support, this is what they responded (see attached PDF file).

The application is returning code 6 instead of text/xml or application/xml. I have an Apache server where the xml file is stored. But the Intraweb application I am running is not behind an Apache server!
And code 6 does not correspond to any Apache server response.
So, I think it is Intraweb application which is sending the wrong response.

When I check in IWMimeTypes.hpp, I see this:
enum DECLSPEC_DENUM TMimeType : unsigned char { mtUnknown, mtBinary, mtJPG, mtGIF, mtPNG, mtRSS, mtXML, mtTXT, mtICO, mtHTML, mtJavaScript, mtPDF, mtZIP, mtCSS, mtMP3, mtOGG, mtWAV, mtEXE, mtFlash, mtWMV, mtMOV, mtAVI, mtMPEG, mtXSL, mtGZIP, mtWOFF, mtTTF, mtOTF, mtSVG, mtJSON, mtDOCX, mtXLSX, mtPPTX, mtMP4 };

Code 6 corresponds to mtXML in the enum declaration.
So, is it Intraweb which is sending the wrong response as it seems?



Attached Files
.pdf   TwilioResponse.pdf (Size: 282.76 KB / Downloads: 6)
Print this item

  CG Dev Tools
Posted by: zsleo - 01-22-2024, 01:14 AM - Forum: IntraWeb General Discussion - Replies (2)

I want desperately to move to Delphi 12.

The only thing holding me back is CG Dev Tools ....

I cannot get any response from them .... and I have tried!

I think it is time to move from CGD but to what?

I have a few large code base apps that will take a LOT of effort and cost a lot to move.


By the look of it, IW bootstrap is the most promising option but, again, it will take a lot of effort.

Any and all pointers, advice, etc. will be welcomed.

TIA

P.S. I am still getting notification emails from CGD requesting I pay my annual subscription that is due this month .... Big Grin

Print this item

  Memory managers revisited
Posted by: Alexandre Machado - 01-20-2024, 12:56 AM - Forum: IntraWeb General Discussion - Replies (2)

Hi guys,

I was doing some performance measurements using a really wide range of Delphi compilers and I decided that I'll write a more complete blog post showing some results and discussing the memory managers available to Delphi users. It's not ready yet, but it will be soon.

Anyway, until then, I'd like you - Delphi/IntraWeb developer - to open your IntraWeb project and double check what is the memory manager that you are currently using.

The results that I obtained testing different memory managers are shocking!! Here's the result of one test case:

- Delphi default MM (based on FastMM4): 13K req/s
- FastMM 4 with std options: 10K req/s
- FastMM 4.992 (options included with IntraWeb installer): 30K req/s
- MSHeap: 43K req/s
- FastMM 5: 44K req/s
- ScaleMM2: 45K req/s

Forget minor differences now and focus on the most important thing:

If you don't use any memory manager other than the Delphi built-in (based on FastMM4) or you are using an older version of FastMM4 (anything other than 4.992), your IntraWeb application is probably limited to 1/3 of its real capacity, due to the limited capacity of the old MMs to handle memory allocation/deallocation in a multi-threaded application  Exclamation

More on it to come, but for now, check your source code and fix it right now. I'd recommend you to start with the version of FastMM 4.992 that can be installed with IntraWeb (it's the exact same version that you can find on Github but we configured the options to give you maximum performance in production).

Cheers

Print this item

  SOAP and Indy
Posted by: staff@ergosoft.it - 01-19-2024, 04:01 PM - Forum: Indy - Replies (8)

Hi,

I use for test SOAPUI with this example

Code:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:prot="Protocollo.wsdl">
    <soapenv:Header/>
    <soapenv:Body>
        <prot:AggiuntaRequestData>
            <operatore>myoperatore</operatore>
            <password>mypass</password>
            <segnatura>PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxQcm90b2NvbGxvPjxUaXBvPkFSUklWTzwvVGlwbz48U3BlZGl6aW9uZT5Db2xsZWdhbWVudG8gZ2VzdGlvbmFsZTwvU3BlZGl6aW9uZT48T2dnZXR0bz5TVUUgaW4gUkVURSBuLjM0MjU3NzsgSW1wcmVzYTogREUgQk9OQSBGUkFOQ0VTQ087IExpc3RhIHByb2NlZGltZW50aTpFZGlsaXppYSAtIFBlcm1lc3NvIGRpIGNvc3RydWlyZSAtIFZvbHR1cmEuPC9PZ2dldHRvPjxEYXRhPjIwMjQtMDEtMDM8L0RhdGE+PE9yYT4xMjo0MzwvT3JhPjxDbGFzc2lmaWNhemlvbmU+Ni4yPC9DbGFzc2lmaWNhemlvbmU+PEFuYWdyYWZpY2hlPjxBbmFncmFmaWNhPjxOb21lPkZSQU5DRVNDTzwvTm9tZT48Q29nbm9tZT5ERSBCT05BPC9Db2dub21lPjxSYWdpb25lU29jaWFsZT5Nb2xhcm8gRWxlb25vcmE8L1JhZ2lvbmVTb2NpYWxlPjxDb2RpY2VGaXNjYWxlPkRCTkZOQzU5TDA4TDQ4M0Y8L0NvZGljZUZpc2NhbGU+PENvbXVuZT5VZGluZTwvQ29tdW5lPjxJbmRpcml6em8+RFVJTk88L0luZGlyaXp6bz48RW1haWw+UHJvdmFAUHJvdmEuaXQ8L0VtYWlsPjwvQW5hZ3JhZmljYT48L0FuYWdyYWZpY2hlPjxVZmZpY2lvPjxVZmZpY2lvTWl0dGVudGUvPjxVZmZpY2lvRGVzdGluYXQ+PC9VZmZpY2lvRGVzdGluYXQ+PC9VZmZpY2lvPjwvUHJvdG9jb2xsbz4K</segnatura>
        </prot:AggiuntaRequestData>
    </soapenv:Body>
</soapenv:Envelope>

on site:

 https://testsegreteria.halleycih.com/WSU...WSMAIN.HBL

and works well...

is it possible to make the same SOAP call with indy ?

thanks
Alessandro Romano

Print this item

  Delphi 12 first impressions
Posted by: Alexandre Machado - 01-19-2024, 12:07 AM - Forum: IntraWeb General Discussion - Replies (1)

I've been using Delphi 12 daily now as my primary IDE. I've been also using it to build and test IntraWeb and other applications. The general impression is good. Better than I thought it would be actually.

1) Performance of compiled code:

My benchmarks show that there is a 13-16% performance gain in IntraWeb applications built with Delphi 12. I can't currently pinpoint where this gain comes from but I believe it comes from the changes in some core routines of the RTL (like Move, FillChar, and possibly others). 

One of our Indy server benchmark applications went from 11500 to 13700 requests/second on my test machine.

2) Compiler

Seems that they fixed lots of stuff that was affecting LSP and everything that depends on it. I have no problems working with IntraWeb code base and other code bases as well. 

3) IDE

Looks stable to me and I didn't have to restart it a single time due to unexpected crashes.

One thing that is bugging me though and I'll need to investigate: I can't copy any control on forms (or datamodules, IW forms, whatever) and paste them. Every time I try to copy a control I get an "Out of system resources" exception. Not sure if this is caused by any plugin (I only have GExperts and CNWizards  installed). Still need to investigate. If someone also finds this problem, please let me know.

Overall I think this is the best release so far, especially due to the performance improvement. It's great to have a faster product with a single button click.

Print this item

  IWBSLibSetCDNS what does it load ?
Posted by: Comograma - 01-18-2024, 11:19 AM - Forum: IntraWeb General Discussion - No Replies

What libraries/variables does the function IWBSLibSetCDNS load ?
Does it load all this global Bootstrap3 variables from IWBSGlobal ?
  gIWBS4LibJQueryJs
  gIWBSLibBootstrapCss

  gIWBSLibBootstrapJs

  gIWBS4LibPolyFillerJs

  gIWBS4LibIWBSCss
  gIWBS4LibIWBSJs

  gIWBS4LibDynamicTabsCss
  gIWBS4LibDynamicTabsJs

  gIWBSLibSummerNoteCss
  gIWBSLibSummerNoteJs


Can I call only this function (IWBSLibSetCDNS) to load Bootstrap3 or there are some variables that I must load myself ?

Print this item

  great product you cannot run
Posted by: DelphiGuruSam - 01-18-2024, 05:08 AM - Forum: IntraWeb General Discussion - Replies (2)

I spent ALL f'ng day today trying to get a key for my XE2 pro that actually worked and let me create a plain SA {No-IP dns}:80 anything not "127.0...". I think IW is the greatest product I will never use.
Communications are poor, inconsistent, and lack handholding.

Print this item

  where is "My Keys"?
Posted by: DelphiGuruSam - 01-17-2024, 08:24 PM - Forum: IntraWeb General Discussion - No Replies

AtZ says I have a Delphi XE2 key and to go to "Product" then "My Keys".  Help! How do I do this?

Print this item

  both HTTP and HTTPS in same IW service app?
Posted by: chiswilson - 01-17-2024, 12:04 AM - Forum: IntraWeb General Discussion - Replies (4)

Hi all-
Quick question, I think the answer is Yes, but I just wanted to confirm...
Can one single IW application (service) support both HTTP and HTTPS ?

(Im using http.sys, not OpenSSL)

Thanks.

Print this item

  Access to priority support - How does it work?
Posted by: wieczy - 01-16-2024, 12:09 PM - Forum: IntraWeb General Discussion - Replies (1)

Hi,

How does Priority Support work? I have the Intraweb Ultimate with 2 years of support. Am I in the right place?

If so: https://www.atozed.com/forums/thread-3725.html


Best regards

wieczy

Print this item