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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 107,551
» Latest member: sv388tube
» Forum threads: 2,440
» Forum posts: 11,408

Full Statistics

Online Users
There are currently 1509 online users.
» 2 Member(s) | 1504 Guest(s)
Applebot, Bing, Google, iwin68cymru, sunwincpro

Latest Threads
issue with migrate delph ...
Forum: IntraWeb General Discussion
Last Post: PDSBILL
3 hours ago
» Replies: 1
» Views: 19
Sendig email form isapi d...
Forum: IntraWeb General Discussion
Last Post: lfeliz
7 hours ago
» Replies: 0
» Views: 21
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
Yesterday, 10:17 AM
» Replies: 1
» Views: 691
Strict CSP Implementation
Forum: IntraWeb General Discussion
Last Post: joelcc
11-02-2026, 08:28 PM
» Replies: 1
» Views: 167
Form doesn’t resize with ...
Forum: IntraWeb General Discussion
Last Post: BathDragonfly
10-29-2026, 09:48 AM
» Replies: 0
» Views: 128
Rerendering CG Tab Contro...
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-29-2026, 07:38 AM
» Replies: 5
» Views: 636
Simply replacing the IW i...
Forum: IntraWeb General Discussion
Last Post: DidierMenant
10-28-2026, 10:31 AM
» Replies: 0
» Views: 203
Simply replacing the IW i...
Forum: IntraWeb General Discussion
Last Post: DidierMenant
10-28-2026, 10:30 AM
» Replies: 0
» Views: 188
IWDevTools
Forum: IntraWeb General Discussion
Last Post: AndreasK
10-26-2026, 01:19 PM
» Replies: 0
» Views: 216
SSL Revisited
Forum: IntraWeb General Discussion
Last Post: rlebeau
10-19-2026, 09:24 PM
» Replies: 3
» Views: 828

 
  CodeInsight stops working when adding IntraWeb source paths to library path
Posted by: Mike_A - 07-06-2022, 11:02 AM - Forum: IntraWeb General Discussion - Replies (2)

Hi there,

I have installed IntraWeb 15.2.60 in Delphi 11.1. If a add the source paths to the library path CodeInsight stops working.
So I activated LSP logging and found the following line in agent1.log:

07:19:52.275 [19184] LOG  : TDelphiLSPKernel.GetDiagnostics(.\HPQROnlineAntrag.dpr) 2051 D:\Delphi11\Komponenten\IntraWeb 15\Lib\server\IWStandAloneServer.pas(102:71): F2051 Unit IWServerSession was compiled with a different version of IWHTML40Interfaces.HTML40FormInterface

I have added the source paths after and before the original installation path, always with the same result.

This error is not shown when compiling the project in the IDE.

Any ideas how this can be solved? Or is it a problem that can only be solved by Embarcadero?

Thanks in advance

Michael

Print this item

  Browser Out of memory
Posted by: matija - 07-01-2022, 07:21 AM - Forum: IntraWeb General Discussion - Replies (6)

My Intraweb application consists of IW 15.2.60, HTML template with Javascript, DataTables.

If you generate large data browser message Out of memory.

I can't explain what the problem is because it worked.

Is problem Javascript memory or Ajax, ...?

Print this item

  Instalar IntraWeb no Delphi 11
Posted by: ferrasi - 06-30-2022, 07:33 PM - Forum: IntraWeb Dúvidas Gerais - Replies (1)

Como faço para instalar o IntraWeb no Delphi 11, eu tenho a licença do Delphi 11 Enterprise, como obtenho a chave da licença do IntraWeb Standard ?

Print this item

  Issue with getting a screenshot in Win 10 from within TIdHTTPServer GET handler
Posted by: Ahmed Sayed - 06-29-2022, 04:31 PM - Forum: Indy - Replies (2)

Hi,
I am having a weird issue regarding taking a desktop screenshot and sending it via http GET request on Windows 10. This works fine on windows 7 but I don't know for some reason it does not work the same on windows 10. It always produces a white image.

When I use the same function outside the GET event it works fine on Win10, at first I thought it did not work because of the function is called inside a separate thread but I tested it with another thread call and it worked just fine but does not work with Indy HTTP GET thread.

I don't know if it is an Indy's issue because I tried everything and nothing works.

Here is the code:

Code:
TStream* GetDesktopScreenShotStream(float Width, float Height)
{
TMemoryStream *Stream = new TMemoryStream;

HDC DC = GetDC(0);
try
{
unique_ptr<Vcl::Graphics::TBitmap> VCLBitmap(new Vcl::Graphics::TBitmap);
VCLBitmap->PixelFormat = pf24bit;
VCLBitmap->SetSize(Width, Height);

BitBlt(VCLBitmap->Canvas->Handle, 0,0, VCLBitmap->Width, VCLBitmap->Height, DC, 0,0, SRCCOPY);
VCLBitmap->SaveToStream(Stream);
Stream->Position = 0;
}
__finally
{
ReleaseDC(0, DC);
}

return Stream;
}
//---------------------------------------------------------------------------

Code:
void TForm1::SaveScreen()
{
std::auto_ptr<TMemoryStream> Stream((TMemoryStream*)GetDesktopScreenShotStream(Screen->Width, Screen->Height));
Stream->SaveToFile("test.bmp");
}
//---------------------------------------------------------------------------
void __fastcall TForm1::IdHTTPServer1CommandGet(TIdContext *AContext, TIdHTTPRequestInfo *ARequestInfo,
  TIdHTTPResponseInfo *AResponseInfo)
{
AResponseInfo->ContentStream = GetDesktopScreenShotStream(Screen->Width, Screen->Height);
AResponseInfo->ContentType = "image/bmp";
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button2Click(TObject *Sender)
{
Thread(FuncBind( &TForm1::SaveScreen, this)); //works here in a thread
}
//---------------------------------------------------------------------------

What am I doing wrong? Any help will be appreciated.
Thanks in advance

Print this item

  Google ReCaptcha (or something similiar)!
Posted by: ShaneStump - 06-28-2022, 03:40 AM - Forum: IntraWeb General Discussion - Replies (11)

Howdy All!

I need to quickly add some kind of captcha to my old web reservation system.

I am currently on IW 15.1.22 and that won't be changing unless a security issue comes up.

So with that in mind, has any one implemented Google Recaptcha or something similar in IW?

I figure I would ask before starting to roll my own or trying to get ReCaptcha to work tomorrow...

Thanks in advance,

Shane

Print this item

  IntraWeb 15.2.60 is available
Posted by: Alexandre Machado - 06-25-2022, 09:55 PM - Forum: IntraWeb General Discussion - No Replies

Hello guys,

after a software update and a credential change in our build machine, some things were not exactly working as expected. As a result builds 15.2.58 and 15.2.59 were compromised regarding the source code distribution (it means that the source code contained in the zip file is not guaranteed to be the one which generated the build).

So we are releasing 15.2.60 which has been created after making sure that the build machine was normal again. If you are using .58 or .59 versions, please update to .60. Builds .58 and .59 have also been removed from our download page.

There are no other changes compared to 15.2.59 and it should be binary compatible.

Direct download link: https://downloads.atozed.com/intraweb/iw15.2.60.exe

https://www.atozed.com/2022/06/intraweb-15-2-60/

Cheers

Print this item

  TIdIMAP4::RetrieveHeader speed
Posted by: Boba TC - 06-24-2022, 09:10 PM - Forum: Indy - Replies (9)

I am tasked with downloading all message headers from many mail boxes, so this is my 1st try with VCL:

Code:
//TId components managed by the IDE
TIdIMAP4 *IdIMAP4;
Code:
TIdMailBox *IdMlBx;
Code:
TIdMessage *IdMsg;
Code:
//....IdIMAP4 is connected and authenticated
int nMsgs;
UnicodeString s = "-1";
DWORD t;
  try{
    if( !IdIMAP4->ExamineMailBox(asName,IdMlBx) )
      throw Exception( "!ExamineMailBox" );
    nMsgs = IdMlBx->TotalMsgs;
    t = ::GetTickCount();
    for( int iMsg=1; iMsg<=nMsgs; iMsg++ ){
      if( !IdIMAP4->RetrieveHeader(iMsg,IdMsg) )
        throw Exception( "!RetrieveHeader " + IntToStr(iMsg) );
      //IdMsg->UID is empty (?)
      if( !IdIMAP4->GetUID(iMsg,s) )
        throw Exception( "!GetUID " + IntToStr(iMsg) );
    }//for
    t = ::GetTickCount()-t;
  }catch( EIdException &e ){
    return false;
  }//catch( EIdException &e )
  catch( Exception &e ){
    return false;
  }
double dt = (double)t/(double)nMsg;//252.53495873621098[ms]

My problem is the value of dt: it is greater than 250ms  Huh

Meaning that I can only get 4 headers per second - this is unacceptably slow.

Tested on different mail boxes of different accounts; PC is connected to inet with 200x20 plan.

Is there a way to call RetrieveHeader for more than just 1 message at a time?

Thanks in advance, and have a nice weekend. Boba TC.

Print this item

  Combobox doesn' t change items
Posted by: alr2022 - 06-24-2022, 07:56 AM - Forum: IntraWeb General Discussion - No Replies

Hi!

i have problem with combobox (with search). When i change items it display old items.... Someone can help me?

I do a test when i change from CARS to FRUIT in my second combobox doesn' t change items.

i have tested with refreshitems but doesn' t works...


Br,Alessandro

Print this item

  Iwbootstrap table huge amount of data
Posted by: Anto90 - 06-23-2022, 06:37 PM - Forum: IntraWeb General Discussion - Replies (4)

Hi at all,

i use intraweb 15.2.48 and iwbsbootstrap 3. I have a bootstrap table with some data to display (about 2000 records) (record are filtered yet.) . 
i have a routine that populate a Tlist with server data (extract data from db with query (firedac)) and then i use it to access, in O(1)  or sort in O(n log n) to the data structure.
(in the rest method is written the json about the data on screen)

What is the better approch to load data when you have many records (about >= 2000).

The time to load server code is about 10 seconds. How can i optimized all load processing?

is there a full example of bootstrap table about pagination or rules (better approch) to elaborate a huge amount of data with this plugin ?

Thank you for help

Andrea

Print this item

  IntraWeb 15.2.58 is out!
Posted by: Alexandre Machado - 06-22-2022, 04:33 AM - Forum: IntraWeb General Discussion - Replies (3)

Hi guys,

after releasing .57 with new code to handle the back/forward buttons transparently, some other changes were necessary and here is the new update:

https://www.atozed.com/2022/06/intraweb-15-2-58/

If you guys have already downloaded the new multi-page demo, I recommend you that you update it from the github repo. It will work correctly now.

I intend to write a blog post about the back button handling and how you can make use of the new features in your IntraWeb application.

Cheers

Print this item