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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 96,894
» Latest member: tylebongdafan
» Forum threads: 2,426
» Forum posts: 11,370

Full Statistics

Online Users
There are currently 856 online users.
» 0 Member(s) | 852 Guest(s)
Applebot, Bing, Google, Yandex

Latest Threads
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
Today, 03:02 AM
» Replies: 0
» Views: 49
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
Yesterday, 09:03 AM
» Replies: 0
» Views: 45
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
Yesterday, 01:48 AM
» Replies: 0
» Views: 67
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 323
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 162
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 513
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 156
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,042
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 295
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 850

 
  Taborder issues
Posted by: joel - 08-08-2018, 03:12 AM - Forum: IntraWeb General Discussion - Replies (8)

I am having all kinds of tab order issues.

I would like to manually set my taborder at runtime, but if I try to set the taborder to say 1000 it will immediately changes to say 24.

I must be missing something.  How can I manually control the taborder at runtime?

Print this item

  RAD Studio August 2018 Roadmap
Posted by: kudzu - 08-07-2018, 03:03 PM - Forum: Delphi General Discussion - Replies (1)

https://community.embarcadero.com/articl...18-roadmap

Print this item

  New HTTPS demo (Indy SA)
Posted by: Alexandre Machado - 08-07-2018, 08:26 AM - Forum: IntraWeb General Discussion - Replies (1)

New Indy SA HTTPS demo, using Let's Encrypt certificates, fully explained

https://www.atozed.com/2018/08/new-indysa-https-demo/
[Image: http-https.png]

Print this item

Sad Help me. Please
Posted by: SZStore - 08-07-2018, 06:09 AM - Forum: COSMOS - Replies (4)

Hello guys,
[Image: image.png]

Print this item

  Delphi 7 and Internet comunication
Posted by: Goultek - 08-07-2018, 12:20 AM - Forum: Indy - Replies (3)

hello guys

I have been searching on google for the past weeks to no avail

Can someone share a link or a complete code to a working example of Indy(or other) server/client code which will allow me to send data from one IP to another IP. The chat example which comes with D7 seems to only work when run on localhost, all other attempts have failed with the D7 chat example, I can't even connect from one computer to another within the same house, this is really getting the best of me... grunts...

I need to send any kind of data, text, raw info (bytes, integers and whatnot) and of course files

This all should be for a server hosted anywhere, should it be on a private computer or a cloud (clients are only private owners) This to download updates, program activation and data... The server must be able to handle many clients at the same time (well, threading or whatnot) All this is for a game I am creating right now with D7

As I am really not gifted in internet stuff, I need something simple or with extensive help files so a dummy like me can understand it

or at least explain to me what I'm doing wrong with the "chat" example in D7

please help

Goul

Print this item

  Multiple declaration fd_set
Posted by: jjeffman - 08-06-2018, 08:16 PM - Forum: Indy - Replies (1)

Hello,

I am using Indy 10 (10.6.2.0) on C++Builder 6.0 .

I have built an application which send emails when a certain event happens. It is working fine.

Now I am making a Windows service which should do the same, I am getting include errors telling fd_set has multiple declarations.

I can not figure out why this is happening in the windows service application.

Is there anything I can do to avoid this error?  I have tried to define _winsock2api_ but other errors are being raised when I set it.

Can somebody please help me ?

Print this item

  How get current active form name
Posted by: morhous - 08-06-2018, 06:49 AM - Forum: IntraWeb General Discussion - Replies (1)

so for i doing something like this 
Webapplication.create('FormName').show --> in form1
but i want to use form1 name in form2 like this way
TiwForm1.release


I found my solution after posting this
maybe someone need this
TIWAppForm(WebApplication.ActiveForm).Release;

Print this item

  Http.sys on Win Server
Posted by: zsleo - 08-06-2018, 03:58 AM - Forum: IntraWeb General Discussion - Replies (2)

I have a Windows Server 2008 that I am trying to deploy an IW Http.sys app.

The first time is start the app it starts as expected and I log in to the app.

I then shut is down and try to start again and I get the following message:

Error: [HttpSys] A call to "HttpAddUrlToUrlGroup" failed: The process cannot access the file because it is being used by another process

https://203.XXX.XXX.XXX:443/ody/$/start


What am I missing / not doing?

I do not have this problem on my Win 10 Dev system

TIA

P.S. Sometime I get the following error

Error: [HttpSys] A call to "HttpAddUrlToUrlGroup" failed: The format of the specified network name is invalid

Print this item

  TCPServer crash on shutdown
Posted by: kbriggs - 08-05-2018, 07:50 PM - Forum: Indy - Replies (12)

Since the Embarcadero forums seem to be unusable now, thought I try here first.  I've Googled around and seen this issued raised before but nothing I've found so far has helped.

After years of no issues, I'm suddenly having a problem with shutting down a TIdTCPServer component. Setting Active := False is occasionally locking up my app. So much so that the process cannot be killed in either the Windows Task Manager or Process Explorer. One single thread (identified as TMethodImplementationIntercept in Process Explorer) remains and a Windows reboot is the only way out. I upgraded to a more recent Indy version (10.6.2.5469) but the problem persists. It happens maybe 10% of the time even when I perform the same steps over and over.

By inserting markers in the code to record to an error log (which runs in a critical section) I've traced the problem this deep, where 2 listening threads are supposed to terminate:

Active := False
SetActive
Shutdown
StopListing
LListener.Binding.CloseSocket  (if crashes, always does so on the first of two loops)
Disconnect
GStack.Disconnect(Handle)

That last one never returns. It's a virtual abstract method so I'm not sure where to go from there.

My app is a game server with an HTTPServer (that servers an HTML5 web app client) and a TCPServer and acts as websocket connection for the client. Both are started and stopped together from a button click in the app's main thread. The HTTPServer never crashes on shutdown, only the TCPServer does. I've tried using a worker thread to shut down the TCPServer. That allows me to exit the app when the problem occurs but the EXE is still running on the Processes tab and cannot be killed. I'm using the OnConnect, OnDisconnect, and OnExecute events and all are contained in try/except blocks that reraise Indy exceptions like this:

try
 // stuff here
except
  on E: Exception do
  begin
    if not(E is EIdException) then LogData.AddError('WSServerConnect error: ' + E.Message);
    raise;
  end;
end;

So what else can I check to track this down?

Print this item

  duplex audio over udp
Posted by: Madammar - 08-03-2018, 04:08 PM - Forum: Indy - Replies (4)

i use Tidtudpserver to send audio to clients i have something i do not understand from long time ago

when one client Send Audiodata to udpserver and udpserver send it back to clients every thing works fine and audio arrived good and clear

if 2 or 3 clients send audio at the same time the audio arrived un understandable and have too many cutting i wanted to make it a live conversation with duplex audio but i dont understand where is the problem is is it from idudpserver or from receiver side ?

here is the receiver side code



Code:
procedure TForm2.udpreciverUDPRead(AThread: TIdUDPListenerThread;
 const AData: TIdBytes; ABinding: TIdSocketHandle);
var
 AudioDataSize: Integer;
 AudioData : Pointer;
begin
TThread.Synchronize(nil,
procedure
begin


AudioDataSize := Length(AData);

if (AudioDataSize > 10) then
begin
try
if not Player.Active then
begin
Player.Active := True;
Player.WaitForStart;
end;
except
end;
if BlockAlign > 1 then
begin
Dec(AudioDataSize, AudioDataSize mod BlockAlign);
end;

AudioData := AudioBuffer.BeginUpdate(AudioDataSize);
try
BytesToRaw(AData, AudioData^, AudioDataSize);
finally
AudioBuffer.EndUpdate;
end;
end else
begin
Player.Active := False;
Player.WaitForStop;
end;

end);
end;

and here is the server side i have set multithreaded event to True


Code:
procedure TForm1.broadcatsaudio(ABinding: TIdSocketHandle; ipada : string; porta, serverprta : integer; const AData: TIdBytes);
var
AUDIOLIST : TAUDIOLIST;
c : integer;
List : Tlist;
begin


list := AllAUDIO.LockList;
try



for c := 0 to list.Count - 1 do
begin
AUDIOLIST := list.Items[c];

if (AUDIOLIST.userserverPort = serverprta)
And (AUDIOLIST.userport <> porta) then
begin
Abinding.SendTo(AUDIOLIST.userip, AUDIOLIST.userport, Adata);

end;




end;



finally
 AllAUDIO.UnlockList;
end;



end;


sorry for my bad grammar i am trying to describe what i am trying to do as best as i can

Print this item