| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
SSL Revisited
Forum: IntraWeb General Discussion
Last Post: rlebeau
10-19-2026, 09:24 PM
» Replies: 3
» Views: 269
|
SpinBox Button Size
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-19-2026, 06:12 PM
» Replies: 0
» Views: 65
|
Rerendering CG Tab Contro...
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-19-2026, 05:21 PM
» Replies: 0
» Views: 72
|
CSS in CGDevTools
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-13-2026, 04:12 PM
» Replies: 2
» Views: 453
|
Help with TIWPaintBox
Forum: IntraWeb General Discussion
Last Post: EmoPal
10-13-2026, 08:44 AM
» Replies: 0
» Views: 260
|
KanBan like behaviour
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
10-06-2026, 09:31 PM
» Replies: 6
» Views: 1,185
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
10-02-2026, 04:14 PM
» Replies: 1
» Views: 767
|
TIWSummernote Issue
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
09-30-2026, 07:34 PM
» Replies: 1
» Views: 440
|
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:33 PM
» Replies: 1
» Views: 791
|
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:31 PM
» Replies: 2
» Views: 939
|
|
|
| Reinstall Delphi 10.2.2 & IntraWeb ... |
|
Posted by: jorgo2018 - 03-21-2018, 02:47 PM - Forum: IntraWeb General Discussion
- Replies (7)
|
 |
Hallo,
we have Delphi XE8 + (IW, TMS) and Delphi 10.1 + (IW, TMS, cgDEVTools) installed on a machine.
Now we want to parallel install Delphi 10.2.2 + (IW, TMS, cgDEVTools).
Questions:
- Is it ok to just uninstall Delphi 10.1?
- Do we need an extra IntraWeb removal tool before uninstalling Delphi 10.1?
- Do you expect problems with TMS and cgDEVTools components?
Best regards
|
|
|
| Intraweb as windows service |
|
Posted by: davenovo - 03-20-2018, 10:00 PM - Forum: IntraWeb General Discussion
- Replies (33)
|
 |
Hello. 2 questions.
I know that you do not recommend deploying the Intraweb standalone server. There is also a web page here that describes deploying as a windows service.
I have 2 questions.
1. Is the window service as described above ok for production use? If not, what are the limitation I should be aware of?
2. Does this take exclusive control over the port to which its bound. i.e. I have a webserver using http.sys directly. It only handles requests if the request matches the URL it is serving. Otherwise, it passes the request along to anyone else listening to the same port. Does the webserver built into the Intraweb windows service described above behave in the same way?
|
|
|
| Make my own modal window |
|
Posted by: davenovo - 03-19-2018, 09:24 PM - Forum: IntraWeb General Discussion
- Replies (15)
|
 |
Is there a way that I can make my own IWForm, and do something like I would do in Delphi, i.e. just call Form.ShowModal.
I have found the IWModalWindow component, but the annoying thing about it is that if I want to do something fancy, I put it on a region, and set the IWModalWindow.ContentElement.
That is simple, but it means that on my main form, I have all the stuff for my main form, then I also have a region that contains the components for the modal window. So the form has tons of components on it. I would like to move the components I need for the modal window onto a separate modal window to not clutter up my main form. Especially if the main form can launch 5 or 6 modal windows it would get crazy.
Can I make a new IWFrame and put the IWFrame as the ContentElement?
|
|
|
| sending stringlist as chunks |
|
Posted by: Madammar - 03-18-2018, 11:11 AM - Forum: Indy
- Replies (2)
|
 |
i have got tstringlist with 1000 lines that i want to send its text from idtcpserver to a clientside
i did not want to send this stringlist as memorystream i want to avoid using memorystream at all i will use writeln to write this stringlist.text
but i am trying to find a way to separate this string list and send it content separately
as example sending each 100 lines until i reach the end of lines
but couldn't figure out a way in coding to do this purpose
|
|
|
| Issue installing Indy10 with Delphi 7 and Windows 7 |
|
Posted by: Carlos - 03-16-2018, 06:09 PM - Forum: Indy
- No Replies
|
 |
I'm installing Delphi 7 and some components, as Indy 10, from an old computer to a new one. Manually, I mean.
In the old computer dclIndycore70 and dclIndyProtocols70 packages are installed, so I first tried to install dclIndycore70 package in the new computer.
At some point, it tries to process IndySystem70 package, the editor window appears for it, with the line "IdWship6 in 'IdWship6.pas';" signaled (or selected) as an error but no message error appears. 'IdWship6.pas' file is in "C:\Delphi7-Componentes\Indy10_5422\Lib\System" folder as IndySystem70 package is, so I suppose the error is not "file not found".
The Search Path used is:
C:\Delphi7-Componentes\Indy10_5422\Lib\Core;C:\Delphi7-Componentes\Indy10_5422\Lib\System;C:\Delphi7-Componentes\Indy10_5422\Lib\Protocols
I'd appreciate some help. I'm really stuck. Thank you.
Carlos
Just posted the message, I found the answer.... in the Indy 10 installation Instructions. So I'm very sorry for having skipped this step.
If someone feels the need to skip the installation documentation, the packages to install are, for Delphi 7:
IndySystem70, IndyCore70, IndyProtocols70, dclIndyCore70, dclIndyProtocols70
So have a look at: http://www.indyproject.org/Sockets/Docs/...on.EN.aspx
Thank you, anyway
Carlos
|
|
|
| Reading returned data via TIdTcpClient? |
|
Posted by: BosseB - 03-15-2018, 06:53 PM - Forum: Indy
- Replies (1)
|
 |
I am always struggling with this whenever I try to throw together a TCP client application...
I can easily send commands to the server (in this case a WiFi IoT module.
I know it responds to the command but for the life of me I cannot get the reply.
The platform I use is 64 bit FreePascal 3.0.4 + Lazarus 1.8.0 with the IndyLaz package installed
THe function that fails to work as I hoped looks like this (FComm is a TIdTcpClient object):
Code: function TConfigCommHandler.GetItem(Cmd: TIdBytes; var Data: TIdBytes): boolean;
begin
Result := false;
SetLength(Cmd, Length(Cmd) + 1);
Cmd[Length(Cmd)-1] := ETX;
FComm.IOHandler.ReadTimeout := 2000;
try
FComm.IOHandler.Write(Cmd);
SetLength(Data, 0);
FComm.IOHandler.ReadBytes(Data, -1, false); //<== Is this way correct?
Result := Length(Data) > 0;
if Result then
begin
if Data[Length(Data)-1] <> ETX then //Received packet should end in ETX...
begin
FLastError := 'Terminating ETX missing!';
Result := false;
end
else
SetLength(Data, Length(Data) -1); //Remove trailing ETX
end
else
FLastError := 'No data received within timeout!';
except
on E: Exception do
begin
Result := false;
FLastError := 'Exception: ' + E.Message;
Exit;
end;
end;
end;
For example what happens if this ReadBytes function does not get all of the incoming bytes?
I try to detect it via the ETX check but since the data is only at maximum some 25-40 bytes (not possible to know beforehand) I thought it highly unlikely it would be split between packets...
I found the cause regarding this specific problem:
The server did not add the trailing ETX to replies, so all of them were thrown away.
I modified the server code to always add the ETX to all outgoing messages.
But I have a follow-up question:
How can the PC application be made such that it will catch and display all incoming data without first sending a command?
For example spontaneous messages from the device are also interesting...
|
|
|
|