| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 1357 online users. » 8 Member(s) | 1345 Guest(s) Applebot, Bing, Google, Yandex, 98wincocom2, go88appio, luckywinlimited1, okwwincx, qq88gscom1, ralf.loga, sutbonglive, sutbongtvlol
|
| Latest Threads |
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
09-11-2026, 09:49 PM
» Replies: 1
» Views: 199
|
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 159
|
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 175
|
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 480
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 244
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 643
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 227
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,246
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 361
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 987
|
|
|
| IndyHttpsDemo Rename Files ? |
|
Posted by: Andreas Bleckat - 07-10-2022, 07:03 AM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
Hello,
I have received 3 files of self-signed certificates from ZeroSSL.com, what should I rename the following files to?
ca_bundle.crt
certificate.crt
private.key
According to demo text I should rename 2 files:
crt.txt -> cert.pem
key.txt -> key.pem
With kind regards
Andreas Bleckat
|
|
|
| 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
|
|
|
| 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, ...?
|
|
|
| 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
|
|
|
|