| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Sat Feb 18, 2006 11:03 pm Post subject: Re: Help about TIdMappedPortTCP |
|
|
I actually had the same issue using indy 7. Should be a similar
solution.
LoginProxy is my TIdMappedPortTCP
LoginIntercept is my form component intercept
procedure TForm1.LoginProxyOutboundConnect(
AThread: TIdMappedPortThread; AException: Exception);
begin
AThread.OutboundClient.Intercept := LoginIntercept;
Memo1.Lines.Add('Login Proxy: Client Connected to Server.');
end; |
|
| Back to top |
|
 |
ilya ovsishcher Guest
|
Posted: Wed Mar 08, 2006 10:03 pm Post subject: Re: Delphi7.Indy(10.0.52).FTP TIdFTP based application is ra |
|
|
"SupportX" <SupportX (AT) SupportX (DOT) com> wrote:
| Quote: | Perhaps your network is freezing. Did you try to see how other applications are behaving at the freez time? perhaps the other end is freezing as well.
|
Why if network is 'freezing' the application should be doing the same ? Sorry, I'm not following your logic. Please clarify.
Other end is IIS FTP, it is working just fine. |
|
| Back to top |
|
 |
Jamie Dale Guest
|
Posted: Tue May 30, 2006 6:12 pm Post subject: Re: Delphi 2005 Personal and Indy 10.0.75: Indy don't work!! |
|
|
Would also like to point out that when I tried using Indy using the C# .NET
option in delphi I did not have this problem. Delphi's in-built C#
recognised it instantly and gave me no errors.
I'm not at the point where I have restored XP to a point in time where I did
not have D2005P installed. I am going to reinstall again now. Failing that,
XP's getting scrubbed.
-J |
|
| Back to top |
|
 |
Jamie Dale Guest
|
Posted: Tue May 30, 2006 6:59 pm Post subject: Re: Delphi 2005 Personal and Indy 10.0.75: Indy don't work!! |
|
|
Ok, system restore and a fresh install didn't work.
I'm still getting the same errors.
XP getting scrubbed now to wipe any trace of old installs and D6. |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed May 31, 2006 3:20 am Post subject: Re: Delphi 2005 Personal and Indy 10.0.75: Indy don't work!! |
|
|
"Jamie Dale" <j.dale (AT) turboz (DOT) net> wrote in message
news:447b8663 (AT) newsgroups (DOT) borland.com...
| Quote: | I installed Indy using the Auto installer available from their
download site.
|
That is an old version. Try uninstalling it and then install the current
snapshot instead.
| Quote: | I have wiped both Delphi 2005 (personal) AND Indy. Fresh installs
and still no luck!!!
|
Delphi 6+ pre-installs Indy. Did you completely wipe that version off of
the machine BEFORE installing a newer version?
| Quote: | Yes you are right, Delphi doesn't seem to know what Borland.VCL is,
but it recognises Borland.vcl.dialogs perfectly. It's very strange. You'll
also notice that it doesn't recognise Indy.Sockets either.......... Any
ideas? |
Sounds like your IDE is not configured properly, or you don't have the
assemblies installed properly..
| Quote: | When I type TCPClient1.ReadLn (for example) Delphi really gets grumpy.
|
Please be more specific.
| Quote: | If I use 10.1 then I cannot see any of indys components when I goto
"Component>Installed .NET Components" - They are simply not
listed at all.
|
Did you install Indy for .NET to begin with? Indy has both .NET and
non-.NET flavors available.
Gambit |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed May 31, 2006 3:22 am Post subject: Re: Delphi 2005 Personal and Indy 10.0.75: Indy don't work!! |
|
|
"Jamie Dale" <j.dale (AT) turboz (DOT) net> wrote in message
news:447c44ca (AT) newsgroups (DOT) borland.com...
| Quote: | Would also like to point out that when I tried using Indy using the
C# .NET option in delphi I did not have this problem. Delphi's
in-built C# recognised it instantly and gave me no errors.
|
Then Indy itself is working fine.
Gambit |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed May 31, 2006 3:22 am Post subject: Re: Delphi 2005 Personal and Indy 10.0.75: Indy don't work!! |
|
|
"Jamie Dale" <j.dale (AT) turboz (DOT) net> wrote in message
news:447b886a$1 (AT) newsgroups (DOT) borland.com...
| Quote: | TCPClient1: Indy.Sockets.IdTCPClient.TCPClient;
snip
Also at the end of that line (IdTCPClient.TCPClient) the .TCPClient
is underlined with a red squiggly. Delphi doesn't seem to like Indy
for some odd reason..
|
Did you try using .NET's Reflection tool to make sure that namespace is even
valid?
Gambit |
|
| Back to top |
|
 |
Jamie Dale Guest
|
Posted: Wed May 31, 2006 3:34 am Post subject: Re: Delphi 2005 Personal and Indy 10.0.75: Indy don't work!! |
|
|
So what do you think the problem is then?
J
"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> wrote in message
news:447cc626$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
"Jamie Dale" <j.dale (AT) turboz (DOT) net> wrote in message
news:447c44ca (AT) newsgroups (DOT) borland.com...
Would also like to point out that when I tried using Indy using the
C# .NET option in delphi I did not have this problem. Delphi's
in-built C# recognised it instantly and gave me no errors.
Then Indy itself is working fine.
Gambit
|
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed May 31, 2006 3:51 am Post subject: Re: Delphi 2005 Personal and Indy 10.0.75: Indy don't work!! |
|
|
"Jamie Dale" <j.dale (AT) turboz (DOT) net> wrote in message
news:447cc869 (AT) newsgroups (DOT) borland.com...
| Quote: | So what do you think the problem is then?
|
We have already been over that.
Gambit |
|
| Back to top |
|
 |
Jamie Dale Guest
|
Posted: Wed May 31, 2006 4:07 am Post subject: Re: Delphi 2005 Personal and Indy 10.0.75: Indy don't work!! |
|
|
Yes reflection tool seemed to think all was ok (as far as I could tell
anyway).
I'm new to the .NET setup so this is rather confusing. Normal Delphi I would
have no problems with.
J
"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> wrote in message
news:447cc651$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
"Jamie Dale" <j.dale (AT) turboz (DOT) net> wrote in message
news:447b886a$1 (AT) newsgroups (DOT) borland.com...
TCPClient1: Indy.Sockets.IdTCPClient.TCPClient;
snip
Also at the end of that line (IdTCPClient.TCPClient) the .TCPClient
is underlined with a red squiggly. Delphi doesn't seem to like Indy
for some odd reason..
Did you try using .NET's Reflection tool to make sure that namespace is
even
valid?
Gambit
|
|
|
| Back to top |
|
 |
Jamie Dale Guest
|
Posted: Wed May 31, 2006 4:18 am Post subject: Re: Delphi 2005 Personal and Indy 10.0.75: Indy don't work!! |
|
|
Ok, I've answered your points individually - like you do. I hope this clears
up our communication!
"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> wrote in message
news:447cc5fc$3 (AT) newsgroups (DOT) borland.com...
| Quote: |
That is an old version. Try uninstalling it and then install the current
snapshot instead.
|
Tried, Indy doesn't show up in the list of .NET components. Cannot
check/Tick anything to put Indy on the pallette as Indy simply is not there!
| Quote: | Delphi 6+ pre-installs Indy. Did you completely wipe that version off of
the machine BEFORE installing a newer version?
|
Completely. Even wiped Hard drive and reinstalled XP clean. Same problem
still occurring.
| Quote: | Sounds like your IDE is not configured properly, or you don't have the
assemblies installed properly..
|
So how can I fix this? - is there something in the options/config I should
be looking for?
Sorry if I sound dumb but the .NET experience is totally new to me. I
installed both Delphi and Indy using their installers. Surely that should of
set everything up the 'right' way?
| Quote: |
When I type TCPClient1.ReadLn (for example) Delphi really gets grumpy.
Please be more specific.
|
Compiler gives warning saying:
[Fatal Error] F2458 Cannot import metadata from Delphi 'library'. Use
packages instead
| Quote: |
Did you install Indy for .NET to begin with? Indy has both .NET and
non-.NET flavors available.
|
Yes I installed the .NET version. Thats why I don't understand why it is not
working because as far as I am concerned: It should!
If it helps, i can give you remote desktop access - you can take a look at
the installation yourself and tell me what you think??
Jamie |
|
| Back to top |
|
 |
Warren Postma Guest
|
Posted: Wed May 31, 2006 3:17 pm Post subject: Re: Delphi 2005 Persona, Indy 10.0.75: Indy don't work!!! |
|
|
Jamie Dale wrote:
| Quote: | Well basically, 10.1.5 doesn't install into the IDE BUT 10.0.75 DOES install
into the IDE.
|
Well, I would suggest going back to Indy 9. In my humble opinion Indy10
is not fully "baked" yet.
Warren |
|
| Back to top |
|
 |
Jamie Dale Guest
|
Posted: Wed May 31, 2006 3:17 pm Post subject: Re: Delphi 2005 Persona, Indy 10.0.75: Indy don't work!!! |
|
|
| Quote: | Well, I would suggest going back to Indy 9. In my humble opinion Indy10
is not fully "baked" yet.
Does it support .NET? |
Delphi 2005 personal is hell to get indy working with
-Jamie |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed May 31, 2006 5:15 pm Post subject: Re: Delphi 2005 Personal and Indy 10.0.75: Indy don't work!! |
|
|
"Jamie Dale" <j.dale (AT) turboz (DOT) net> wrote in message
news:447cd407 (AT) newsgroups (DOT) borland.com...
| Quote: | Compiler gives warning saying:
[Fatal Error] F2458 Cannot import metadata from Delphi 'library'. Use
packages instead
|
That should be your first clue that something is wrong. Whatever library it
is trying to load is not a VCL package to begin with.
Gambit |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed May 31, 2006 5:15 pm Post subject: Re: Delphi 2005 Persona, Indy 10.0.75: Indy don't work!!! |
|
|
"Jamie Dale" <j.dale (AT) turboz (DOT) net> wrote in message
news:447daf26 (AT) newsgroups (DOT) borland.com...
| Quote: | Does it support .NET?
|
Indy 9 does not support .NET, no.
Gambit |
|
| Back to top |
|
 |