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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 82,417
» Latest member: iwinproapp1
» Forum threads: 2,408
» Forum posts: 11,315

Full Statistics

Online Users
There are currently 790 online users.
» 1 Member(s) | 785 Guest(s)
Applebot, Bing, Google, Yandex, iwinproapp1

Latest Threads
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: Gregory_Twedt
06-24-2026, 04:40 AM
» Replies: 5
» Views: 632
VCL conversion
Forum: Delphi General Discussion
Last Post: tobenschain
06-20-2026, 05:00 AM
» Replies: 0
» Views: 77
TIWjQDBGrid changing UI
Forum: IntraWeb General Discussion
Last Post: BoostedCruiser
06-08-2026, 02:02 AM
» Replies: 36
» Views: 70,369
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: Fabrizio Conti
06-04-2026, 09:14 AM
» Replies: 3
» Views: 476
Access Violation When Val...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
06-03-2026, 08:47 AM
» Replies: 2
» Views: 517
Bootstrap5
Forum: IntraWeb General Discussion
Last Post: geraldtatum
06-02-2026, 06:24 AM
» Replies: 1
» Views: 415
weakpackageunit contains ...
Forum: IntraWeb General Discussion
Last Post: rlebeau
05-26-2026, 04:56 PM
» Replies: 4
» Views: 542
Custom 404 handler
Forum: IntraWeb General Discussion
Last Post: CfawesDwale
05-21-2026, 08:02 AM
» Replies: 0
» Views: 256
PopUp Menu
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
05-13-2026, 04:35 AM
» Replies: 4
» Views: 8,209
Image question on tiwjqdb...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
05-13-2026, 03:32 AM
» Replies: 3
» Views: 4,125

 
  Migrate from 14 to 15 -- Broken
Posted by: LorenSzendre - 09-18-2018, 08:00 PM - Forum: IntraWeb General Discussion - Replies (14)

I just updated from IW 14 to 15.0.12, and after recompiling my big app and trying to run as SA -- I can't access the app at all. Clicking the Firefox button I get:

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

Issue #2

When I deployed on my real server, my Logon button (from a template) stopped working altogether.

Any ideas?

Loren

Print this item

  We have the fastest zlib, yes!
Posted by: Alexandre Machado - 09-18-2018, 10:06 AM - Forum: IntraWeb General Discussion - Replies (2)

Here is a speed comparison between IntraWeb zlib (our own zlib build, shipped with IW 15) and standard Delphi zlib:

[Image: zlib_Delphi10.2.png]

Performance difference is much higher in older compilers (XE8 and older, specially in x64)

PS: and no, you won't get that kind of performance with those defective clones Tongue

Print this item

  IntraWeb 15.0.12 is available!
Posted by: Alexandre Machado - 09-18-2018, 09:22 AM - Forum: IntraWeb General Discussion - Replies (3)

hi guys,

some of you experienced some nasty "list index out of bounds" error  after installing version 15.0.11. 

Very hard to recreate: It only happens in some compilers (XE2-XE7 were confirmed) and only when building the application against the DCU files, not when using the source code...
The failure occurs when the keyword "inline" is used in some specific methods of one of our core classes. Maybe the wrong code is generated when some methods are inlined but, at this stage, this is just a speculation.  We still need to investigate it a little further.

However, we have a definitive fix in place and version 15.0.12 is now available. If you experienced that error after updating to v 15.0.11, please update.

https://www.atozed.com/2018/09/15-0-12/

Enjoy!

Print this item

  Change active form
Posted by: morhous - 09-18-2018, 06:11 AM - Forum: IntraWeb General Discussion - Replies (1)

how to change active page(form) 
i immediately release active form before jump to next form

The problem is if more than 1 user try to change form. it saying form already exist

below code will show you
TdashboardForm has labels. Each of them has different form to jump in

if not (WebApplication.ActiveForm is TdashboardForm) then
  TIWAppForm(WebApplication.ActiveForm).Release;
TuserAddForm.Create(WebApplication).Show();

Print this item

  Http.sys and TIWCGJQPDFViewer error: Atozed or CGDevTools?
Posted by: aimpera - 09-13-2018, 11:36 AM - Forum: IntraWeb General Discussion - No Replies

Hi,

TIWCGJQPDFViewer error message is: PDF.js v1.10.88 (build: c62a1938) Messagge: file origin does not match viewer's

when I use Indy it's ok, no errors.

When I use new http.sys the TIWCGJQPDFViewer does't find pdf file (see below why)


Test scenario:
Public port 3434 redirected on private port 3535 (intraweb app use 3535 port), on my public IP XXX.XXX.X

From a remote site open a browser session http://XXX.XXX.X:3434

UserSession

Code:
function TIWUserSession.PreparePDF: string;

var ms : TMemoryStream;
begin
  Result := TIWAppCache.NewTempFileName;
  ms := TMemoryStream.Create;
  try
    ms.LoadFromFile('wwwroot/pdf/somePDFfile.pdf');
    ms.SaveToFile( Result );
  finally
    ms.Free;
  end;
  Result := TIWAppCache.AddFileToCache(WebApplication, Result, TIWMimeTypes.GetAsString(mtPDF), IW.CacheStream.ctOneTime);
end;


MainForm
Code:
procedure TIWForm1.IWCGJQButton1JQButtonOptionsClick(Sender: TObject; AParams: TStringList);
var pdfFName : string;
begin
 pdfFName := ServerController.UserSession.PreparePDF;
 with TiwFormPDFViewer.Create(WebApplication, pdfFName) do 
   Show;
end;

PDFViewerForm
Code:
constructor TiwFormPDFViewer.Create(AOwner: TComponent; pdfFile : string; showPreview: boolean);
begin
  inherited Create(AOwner);
  IWCGJQPDFViewer1.JQPDFViewerOptions.PDFFileName := pdfFile;
end;


From the browser console (remember XXX.XXX.XXX.X is my public IP) 

with Indy, 

<iframe style="width:100%;height:100%;border:0;" src="/pdf/jq/pdf.js/web/viewer.pdfv?file=http%3A%2F%2FXXX.XXX.XXX.X%3A3434%2Fpdf%2F%24%2Ftemp%2FATZKckrBtj3fu~hbGXiCzjY-W"></iframe>

decoded URL: /pdf/jq/pdf.js/web/viewer.pdfv?file=http://XXX.XXX.XXX.X:3434/pdf/$/temp/ATZKckrBtj3fu~hbGXiCzjY-W


with Http.sys:
<iframe style="width:100%;height:100%;border:0;" src="/pdf/jq/pdf.js/web/viewer.pdfv?file=http%3A%2F%2FXXX.XXX.XXX.X%3A3535%2Fpdf%2F%24%2Ftemp%2FATZepIzsB8XUeYSw2FW6aToMG"></iframe>

decode URL: /pdf/jq/pdf.js/web/viewer.pdfv?file=http://XXX.XXX.XXX.X:3535/pdf/$/temp/ATZlW4ZM9l-U0sTMNVGxvk5Xa

3535 is the local port and obviusly the PDF viewer can't get pdf file (from a remote site must be used 3434 open port)

With Http.sys the url for the cache file is with same port of intraweb application (3535)
while with Indy the cache file is correctly build with requested port 3434

If I simply open my public port 3535 (without a redirect 3434->3535) all works as espected.


Sorry for long post but it's very complicated to explain

Alfredo.

Intraweb 15.0.10, CGDevTools 4.1.0.102

Print this item

  New IWTreeView demo
Posted by: Alexandre Machado - 09-12-2018, 09:36 PM - Forum: IntraWeb General Discussion - Replies (1)

Hi guys,

thanks to Pete d'Oronzio we have a very nice demo of new IWTreeView features, including full Async support.

https://github.com/Atozed/IntraWeb/edit/...eeViewDemo

* this demo requires IW 15.0.11+

Please be aware that this demo uses the standard built in images but they can be easily configured. Everything in this tree view can be customized, including:
- sub-captions of nodes, images of nodes and also plus/minus sign, font and background of nodes and children, transition effect, custom css classes (and styles) for each style used.

Print this item

  Placeholder does not work IW15
Posted by: wadcompany - 09-12-2018, 01:24 PM - Forum: IntraWeb General Discussion - No Replies

Hello friends, I'm having a problem with IWDBEdit in the adminlte template with IW15. The placeholder is not working. I have already used the ExtraTagParams property in OnHTMLTag and have already tried it directly in the template. But in both cases it does not work, simply when rendering the placeholder is not rendered on the page.

Just to appear on IW14 did not have this problem. If anyone can give me a hand I appreciate it. Thank you.

Best regards

Wagner.

Print this item

  IntraWeb 15.0.11 is out!
Posted by: Alexandre Machado - 09-12-2018, 09:51 AM - Forum: IntraWeb General Discussion - Replies (21)

Hi guys!

New IW version with several new features and enhancements!

https://www.atozed.com/2018/09/15-0-11/ 

Enjoy :-)

Print this item

  Adding SSL/TLS to SMTP Email Sending
Posted by: paulcoshott - 09-12-2018, 08:21 AM - Forum: Indy - Replies (3)

Hi All,

I have been sending emails using SMTP and Indy for a while now, but only using port 25, as I have not added support for SSL/TLS. I think I have to add a TIdSSLIOHandlerSocketOpenSSL component, but I'm not sure of the properties I need to set to get this to work with

  1. Implicit SSL on port 465
  2. Explicit SSL (TLS) on port 587

Could someone tell what I need to do to get this to work? Thanks for any help.

Cheers
Paul

Print this item

  can rawbytestring cleared from memory ?
Posted by: Madammar - 09-11-2018, 04:25 PM - Forum: Delphi General Discussion - Replies (4)

how possibly i can zeromemory rawbytestring ?

Print this item