Re: [twsocket] HttpCli->GetASync() exception

2006-02-27 Thread Francois Piette
> The httptest1.cpp example for HttpCli has following exception handling...
>
> try {
> HttpCli1->Get();
> } __except (TRUE) {
> DisplayMemo->Lines->Add("GET Failed !");
> DisplayMemo->Lines->Add("StatusCode   = " +
> IntToStr(HttpCli1->StatusCode));
> return;
> }
>
> I was wondering if an exception can also occur when using
> HttpCli->GetASync() instead of HttpCli1->Get() ?
> If so, is it possible to give me an example which errors can be encountered
> here when calling GetASync() ?

The same exceptions can occur. But they will be triggered in another context 
since it is
asynchronous. You can trap them from the Application->OnException. You can also 
trap them where ever
you call the message pump (all events are actually subroutines called from the 
message pump).

--
Contribute to the SSL Effort. Visit
http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Problem with v6 BCB package

2006-02-27 Thread Fastream Technologies
Francois,

I think we should remove the library and types units and embed the code into 
other units with direct Windows names. OR BETTER, we can rename the 
functions as ICSGetWindowLong() and ICSHWND. I can do this for you but I 
want to be assured that my changes will be applied and therefore I would not 
have to do it every time a new version comes out.

Regards,

SZ

- Original Message - 
From: "Dan" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, February 27, 2006 11:51 PM
Subject: Re: [twsocket] Problem with v6 BCB package


>I didn't think #defines followed namespaces, thought they were always
> global.  Could be wrong...
>
> Dan
>
> - Original Message - 
> From: "Fastream Technologies" <[EMAIL PROTECTED]>
> To: "ICS support mailing" 
> Sent: Monday, February 27, 2006 2:19 PM
> Subject: Re: [twsocket] Problem with v6 BCB package
>
>
>> NO wait, you must have got the idea of how to make a namespace from
>> delphi:
>> it is easy and done in all ICS code as it is automatic in Delphi! In
>> Delphi
>> the unit name becomes the namespace name in C++! The problem is in the
>> current situation you -somehow- make the namespace contents public and
>> that
>> causes ambigouity with windows identifiers. We need to either:
>>
>> 1) make the namespace private and calls like OverbyteIcs::getwindowlong
>>
>> OR
>>
>> 2) find a way to remove the namespace from within C++ source code. For
>> example:
>>
>> #include 
>> #include 
>> do NOT use namespace overbyteICS // not sure the syntax here!
>> #include 
>>
>> Regards,
>>
>> SZ
>>
>> - Original Message - 
>> From: "Francois Piette" <[EMAIL PROTECTED]>
>> To: "ICS support mailing" 
>> Sent: Monday, February 27, 2006 4:00 PM
>> Subject: Re: [twsocket] Problem with v6 BCB package
>>
>>
>>>I have no idea about how to define C++ name space with Delphi code.
>>> --
>>> [EMAIL PROTECTED]
>>> http://www.overbyte.be
>>>
>>> - Original Message - 
>>> From: "Fastream Technologies" <[EMAIL PROTECTED]>
>>> To: "ICS support mailing" 
>>> Sent: Monday, February 27, 2006 2:47 PM
>>> Subject: Re: [twsocket] Problem with v6 BCB package
>>>
>>>
 No I don't think that would be easy as well... Why don't you use
 namespaces
 which are designed for this purpose? You should not include the pascal
 translation of,

 use namespace overbyte;

 instead call functions like Overbyte::getwindowLong();

 I understand that you wanted to simply the uses part of the package but
 this
 makes it further complicated in the projects.

 Regards,

 SZ

 - Original Message - 
 From: "Fastream Technologies" <[EMAIL PROTECTED]>
 To: "ICS support mailing" 
 Sent: Monday, February 27, 2006 3:43 PM
 Subject: Re: [twsocket] Problem with v6 BCB package


 > This won't be as easy as to say: There are 20+ units! What about
 > including
 > a
 > special .h for this purpose that undefs all overbyte defs??
 >
 > Regards,
 >
 > SZ
 >
 > - Original Message - 
 > From: "Francois Piette" <[EMAIL PROTECTED]>
 > To: "ICS support mailing" 
 > Sent: Monday, February 27, 2006 3:23 PM
 > Subject: Re: [twsocket] Problem with v6 BCB package
 >
 >
 >> #ifdef HWND
 >> #undef HWND
 >> #endif
 >>
 >> Put this code (and similar) before the ICS includes.
 >> Also try varying the include order between ICS and Windows.
 >>
 >> --
 >> [EMAIL PROTECTED]
 >> http://www.overbyte.be
 >>
 >> - Original Message - 
 >> From: "Fastream Technologies" <[EMAIL PROTECTED]>
 >> To: "ICS support mailing" 
 >> Sent: Monday, February 27, 2006 2:04 PM
 >> Subject: Re: [twsocket] Problem with v6 BCB package
 >>
 >>
 >>> Hello,
 >>>
 >>> - Original Message - 
 >>> From: "Francois Piette" <[EMAIL PROTECTED]>
 >>> To: "ICS support mailing" 
 >>> Sent: Monday, February 27, 2006 12:56 PM
 >>> Subject: Re: [twsocket] Problem with v6 BCB package
 >>>
 >>>
 >>> >> I have been able to skip the bug by removing zlibobjs.pas.
 >>> >
 >>> > :-)
 >>> >
 >>> >> Now there is a huge design problem:
 >>> >
 >>> > Problems are always huge with you.
 >>> >
 >>> >> In OverbyteIcsTypes.pas, you redefined all the types used from
 >>> >> windows
 >>> >> for
 >>> >> compactibality reasons (I believe). However BCB complains (in
 >>> >> project
 >>> >> with
 >>> >> overbyteics package, not in package compilation itself!) there 
 >>> >> is
 >>> >> ambiguity
 >>> >> in types and functions such as getwindowlong and HWND and almost
 >>> >> all
 >>> >> of
 >>> >> them! Any idea what can fix it?
 >>> >
 >>> > Maybe add #undef after the units which define them ?
 >>> > Either undefine those symbol from the standards units or from ICS
 >>> > units.
 

[twsocket] HttpCli -> Bandwidth

2006-02-27 Thread kenforever

HttpCli->BandwidthLimit=500;
HttpCli->BandwidthSampling=10;

Dose anyone know these property how to use, and what's
happen when using these setting?

___
 YM - 離線訊息
 就算你沒有上網,你的朋友仍可以留下訊息給你,當你上網時就能立即看到,任何說話都冇走失。
 http://messenger.yahoo.com.hk
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Re: [twsocket] Problem with v6 BCB package

2006-02-27 Thread Dan
I didn't think #defines followed namespaces, thought they were always 
global.  Could be wrong...

Dan

- Original Message - 
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, February 27, 2006 2:19 PM
Subject: Re: [twsocket] Problem with v6 BCB package


> NO wait, you must have got the idea of how to make a namespace from 
> delphi:
> it is easy and done in all ICS code as it is automatic in Delphi! In 
> Delphi
> the unit name becomes the namespace name in C++! The problem is in the
> current situation you -somehow- make the namespace contents public and 
> that
> causes ambigouity with windows identifiers. We need to either:
>
> 1) make the namespace private and calls like OverbyteIcs::getwindowlong
>
> OR
>
> 2) find a way to remove the namespace from within C++ source code. For
> example:
>
> #include 
> #include 
> do NOT use namespace overbyteICS // not sure the syntax here!
> #include 
>
> Regards,
>
> SZ
>
> - Original Message - 
> From: "Francois Piette" <[EMAIL PROTECTED]>
> To: "ICS support mailing" 
> Sent: Monday, February 27, 2006 4:00 PM
> Subject: Re: [twsocket] Problem with v6 BCB package
>
>
>>I have no idea about how to define C++ name space with Delphi code.
>> --
>> [EMAIL PROTECTED]
>> http://www.overbyte.be
>>
>> - Original Message - 
>> From: "Fastream Technologies" <[EMAIL PROTECTED]>
>> To: "ICS support mailing" 
>> Sent: Monday, February 27, 2006 2:47 PM
>> Subject: Re: [twsocket] Problem with v6 BCB package
>>
>>
>>> No I don't think that would be easy as well... Why don't you use
>>> namespaces
>>> which are designed for this purpose? You should not include the pascal
>>> translation of,
>>>
>>> use namespace overbyte;
>>>
>>> instead call functions like Overbyte::getwindowLong();
>>>
>>> I understand that you wanted to simply the uses part of the package but
>>> this
>>> makes it further complicated in the projects.
>>>
>>> Regards,
>>>
>>> SZ
>>>
>>> - Original Message - 
>>> From: "Fastream Technologies" <[EMAIL PROTECTED]>
>>> To: "ICS support mailing" 
>>> Sent: Monday, February 27, 2006 3:43 PM
>>> Subject: Re: [twsocket] Problem with v6 BCB package
>>>
>>>
>>> > This won't be as easy as to say: There are 20+ units! What about
>>> > including
>>> > a
>>> > special .h for this purpose that undefs all overbyte defs??
>>> >
>>> > Regards,
>>> >
>>> > SZ
>>> >
>>> > - Original Message - 
>>> > From: "Francois Piette" <[EMAIL PROTECTED]>
>>> > To: "ICS support mailing" 
>>> > Sent: Monday, February 27, 2006 3:23 PM
>>> > Subject: Re: [twsocket] Problem with v6 BCB package
>>> >
>>> >
>>> >> #ifdef HWND
>>> >> #undef HWND
>>> >> #endif
>>> >>
>>> >> Put this code (and similar) before the ICS includes.
>>> >> Also try varying the include order between ICS and Windows.
>>> >>
>>> >> --
>>> >> [EMAIL PROTECTED]
>>> >> http://www.overbyte.be
>>> >>
>>> >> - Original Message - 
>>> >> From: "Fastream Technologies" <[EMAIL PROTECTED]>
>>> >> To: "ICS support mailing" 
>>> >> Sent: Monday, February 27, 2006 2:04 PM
>>> >> Subject: Re: [twsocket] Problem with v6 BCB package
>>> >>
>>> >>
>>> >>> Hello,
>>> >>>
>>> >>> - Original Message - 
>>> >>> From: "Francois Piette" <[EMAIL PROTECTED]>
>>> >>> To: "ICS support mailing" 
>>> >>> Sent: Monday, February 27, 2006 12:56 PM
>>> >>> Subject: Re: [twsocket] Problem with v6 BCB package
>>> >>>
>>> >>>
>>> >>> >> I have been able to skip the bug by removing zlibobjs.pas.
>>> >>> >
>>> >>> > :-)
>>> >>> >
>>> >>> >> Now there is a huge design problem:
>>> >>> >
>>> >>> > Problems are always huge with you.
>>> >>> >
>>> >>> >> In OverbyteIcsTypes.pas, you redefined all the types used from
>>> >>> >> windows
>>> >>> >> for
>>> >>> >> compactibality reasons (I believe). However BCB complains (in
>>> >>> >> project
>>> >>> >> with
>>> >>> >> overbyteics package, not in package compilation itself!) there is
>>> >>> >> ambiguity
>>> >>> >> in types and functions such as getwindowlong and HWND and almost
>>> >>> >> all
>>> >>> >> of
>>> >>> >> them! Any idea what can fix it?
>>> >>> >
>>> >>> > Maybe add #undef after the units which define them ?
>>> >>> > Either undefine those symbol from the standards units or from ICS
>>> >>> > units.
>>> >>>
>>> >>> Can you give a C++ example? I have code like:
>>> >>>
>>> >>> #include 
>>> >>> #include 
>>> >>> #include ...
>>> >>> ...
>>> >>>
>>> >>> Where should I enter what?
>>> >>>
>>> >>> Best Regards,
>>> >>>
>>> >>> SZ
>>> >>>
>>> >>> -- 
>>> >>> To unsubscribe or change your settings for TWSocket mailing list
>>> >>> please goto http://www.elists.org/mailman/listinfo/twsocket
>>> >>> Visit our website at http://www.overbyte.be
>>> >> -- 
>>> >> To unsubscribe or change your settings for TWSocket mailing list
>>> >> please goto http://www.elists.org/mailman/listinfo/twsocket
>>> >> Visit our website at http://www.overbyte.be
>>> >
>>> > -- 
>>> > To unsubscribe or change your settings for TWSocket mailing 

Re: [twsocket] Html email to many users

2006-02-27 Thread Pawel (WP)
Francois, You writed:
"(...) Instead of programming a loop, you must use the event. You simply
start your
first mail send and then do nothing until the event signaling the end of
request os done. Then only you pick the next mail from your list and send
it.
Using this scheme, you can go faster by user multiple component. Each one
will send a mail without blocking the others (Note that some email servers
 limit the number of concurrent connections, so you may want to use only one
 component per destination server. Be clever !) (...)"

Thanks for quick answer. But...
What event I have to use? Could anybody write me this more clear? Can
somebody correct my code?
I am just begining with ICS...
Best regards

- Original Message - 
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, February 27, 2006 8:32 PM
Subject: Re: [twsocket] Html email to many users


>>  for i:= 0 to Lista.Count-1  do   // from 0 to 1
>> begin
>>   SendMail(Lista.Strings[i]);
>> end;
>> And - what am I doing wrong - this doesn't work. Sending email is like in
>> demo program.
>> I have message:
>> SmtpException: SMTP component not ready
>
> Your problem is a classical one: Your are trying to use a non-blocking
> event-driven component as a blocking one.
> The component will send your email in the background while your program is
> doing other things. Of course a single component can send only one mail at 
> a
> time. When you do a loop, the first iteration start sending a mail. Then
> second iteration would also send a mail while the previous is still 
> occuring
> and therefore you get the "component busy" error.
>
> Instead of programming a loop, you must use the event. You simply start 
> your
> first mail send and then do nothing until the event signaling the end of
> request os done. Then only you pick the next mail from your list and send
> it.
>
> Using this scheme, you can go faster by user multiple component. Each one
> will send a mail without blocking the others (Note that some email servers
> limit the number of concurrent connections, so you may want to use only 
> one
> component per destination server. Be clever !).
>
> --
> Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
> --
> [EMAIL PROTECTED]
> http://www.overbyte.be
>
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>
> 


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] HttpCli->GetASync() exception

2006-02-27 Thread Kris Schoofs
Hi,

The httptest1.cpp example for HttpCli has following exception handling...

try {
HttpCli1->Get();
} __except (TRUE) {
DisplayMemo->Lines->Add("GET Failed !");
DisplayMemo->Lines->Add("StatusCode   = " +
IntToStr(HttpCli1->StatusCode));
return;
}

I was wondering if an exception can also occur when using
HttpCli->GetASync() instead of HttpCli1->Get() ? 
If so, is it possible to give me an example which errors can be encountered
here when calling GetASync() ?

Thank you,

Kris 
 
--
** Kris Schoofs   -   [EMAIL PROTECTED]
Don't forget to visit http://DVD.Identifier.CDfreaks.Com  **
 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Html email to many users

2006-02-27 Thread Francois PIETTE
>  for i:= 0 to Lista.Count-1  do   // from 0 to 1
> begin
>   SendMail(Lista.Strings[i]);
> end;
> And - what am I doing wrong - this doesn't work. Sending email is like in 
> demo program.
> I have message:
> SmtpException: SMTP component not ready

Your problem is a classical one: Your are trying to use a non-blocking 
event-driven component as a blocking one.
The component will send your email in the background while your program is 
doing other things. Of course a single component can send only one mail at a 
time. When you do a loop, the first iteration start sending a mail. Then 
second iteration would also send a mail while the previous is still occuring 
and therefore you get the "component busy" error.

Instead of programming a loop, you must use the event. You simply start your 
first mail send and then do nothing until the event signaling the end of 
request os done. Then only you pick the next mail from your list and send 
it.

Using this scheme, you can go faster by user multiple component. Each one 
will send a mail without blocking the others (Note that some email servers 
limit the number of concurrent connections, so you may want to use only one 
component per destination server. Be clever !).

--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] Html email to many users

2006-02-27 Thread WP
Hi
I have another problem, I hope the last one.
My email have to be send to many people, for example to 150.
I know that some servers have limit for recipients for one email. 
So, I have written procedure that divide this 150 people for 100 and 50.
So, first mail will be send to 100 people and the rest, 50 will be send in 
second email.

This users (recipients) are in TStringList. (Lista)
like this:
..
Lista.Strings[0]);  --> [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL 
PROTECTED];   // in first mail n=100
Lista.Strings[1]);  --> [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL 
PROTECTED];   // in second mail n=50

I have Button - in OnClick I have procedure : "Send"

This "Send" procedure is:

procedure Send;
var
..
begin
   Lista:=TStringList.Create;
   ...
//code to create Lista with lines of adress (each lines have max 100 adresses)
...
 // now, I Am sending email in the loop - in our case it will be done 2 times


//**
  for i:= 0 to Lista.Count-1  do   // from 0 to 1
 begin
   SendMail(Lista.Strings[i]);
 end;
//**   // it is not 
working


   end;
   finally
   Lista.Free;
   end;
end;

and the last is:
procedure SendMail(Adresses : string);
FRunning := TRUE;
try
  HtmlSmtpClient.PlainText:= nil;
  HtmlSmtpClient.HtmlText:= EmailBody;
  HtmlSmtpClient.EmailImages.Clear;
  HtmlSmtpClient.EmailImages.Add(ObrazekMaila1);
  HtmlSmtpClient.EmailImages.Add(ObrazekMaila2);
  HtmlSmtpClient.Host:= SmtpServerName;
  HtmlSmtpClient.Port:= IntToStr(SmtpServerPort);
  HtmlSmtpClient.FromName:=UserName + ' <'+UserEmail+'>';
  HtmlSmtpClient.HdrSubject:=TematWiadomosciE.Text;

  case SmtpAuthType of
0: HtmlSmtpClient.AuthType:= smtpAuthNone;
1: HtmlSmtpClient.AuthType:= smtpAuthLogin;
  end;

  if SmtpServerPassword<>'' then
begin
   HtmlSmtpClient.Password:=SmtpServerPassword; //passwordedit.Text;
end else
begin
   HtmlSmtpClient.Password:=InputBox('Podaj hasło do serwera 
SMTP','Hasło:','');
end;

  if SmtpServerUser<>'' then
begin
   HtmlSmtpClient.Username:=SmtpServerUser;
end else
begin
   HtmlSmtpClient.Username:=InputBox('Podaj login do serwera 
SMTP','Login:','');
end;
  HtmlSmtpClient.RcptName.Clear;
  HtmlSmtpClient.RcptNameAdd('', '', Adresses);

  Display('Łączenie z serwerem SMTP ('+ SmtpServerName +')...');
  HtmlSmtpClient.Connect;
except
on E:Exception do
  begin
 Display(E.ClassName + ': ' + E.Message);
 FRunning := FALSE;
  end;
end;



And - what am I doing wrong - this doesn't work. Sending email is like in demo 
program.
I have message:
Łączenie z serwerem SMTP (SmtpServerName)...
Łączenie z serwerem SMTP (SmtpServerName)...   // from SendMail procedure
SmtpException: SMTP component not ready

So, how can I do this correct? How to know, that sending first mail to 100 
people are done, that I can send seconf mail? 
I think, that component is trying to send two emails in the same time... but i 
think that after sending first mail component (TSMTPHtmlClient) should 
disconnect and connect again. I didn't found Disconnect method... 

Please help me
Thanks in advance
Ps: I hope that You understand what I mean... sending one message to many 
people in the same time
Paweł Porwisz
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Running on W95

2006-02-27 Thread Piotr Dałek
Hello!

> I have trouble with running an exe that uses the the THttpCli component
> on a W95. It works on W98 and later. And it works also on earlier
> versions of ICS, but not the latest beta.
>  
> I get this error-message in ReasonPhrase in OnRequestDone:
> Can't connect: No error (Error #0)
>  
> Anyone has any tips?

Try upgrading Winsock to Winsock 2. Because currently almost nobody really
cares about backward compatibility (unless it requires abnormal 10% brain
usage and spending five minutes more on upgrading sources), there's a big
chance that nobody noticed that something may require Winsock 2 to work. To
see whether you already have it or not, you may want to check version of
winsock.dll located in your %windir%. If it is 4.00.950, you've got Winsock
1, Winsock 2 is 4.10.1656 (at least at my Win95 installation).

I'm not sure, but checking whether your app requires too high version of
winsock (as Francois noted) may also help.

-- 
Piotr "Hellrayzer" Dalek
[EMAIL PROTECTED]

--
Kliknij po wiecej! >>> http://link.interia.pl/f18ed

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Problem with v6 BCB package

2006-02-27 Thread Fastream Technologies
Hello Francois,

#undef HWND does not work as it is for the preprocessor but HWND is for the 
compiler! Any other ideas?

Regards,

SZ

- Original Message - 
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, February 27, 2006 3:23 PM
Subject: Re: [twsocket] Problem with v6 BCB package


> #ifdef HWND
> #undef HWND
> #endif
>
> Put this code (and similar) before the ICS includes.
> Also try varying the include order between ICS and Windows.
>
> --
> [EMAIL PROTECTED]
> http://www.overbyte.be
>
> - Original Message - 
> From: "Fastream Technologies" <[EMAIL PROTECTED]>
> To: "ICS support mailing" 
> Sent: Monday, February 27, 2006 2:04 PM
> Subject: Re: [twsocket] Problem with v6 BCB package
>
>
>> Hello,
>>
>> - Original Message - 
>> From: "Francois Piette" <[EMAIL PROTECTED]>
>> To: "ICS support mailing" 
>> Sent: Monday, February 27, 2006 12:56 PM
>> Subject: Re: [twsocket] Problem with v6 BCB package
>>
>>
>> >> I have been able to skip the bug by removing zlibobjs.pas.
>> >
>> > :-)
>> >
>> >> Now there is a huge design problem:
>> >
>> > Problems are always huge with you.
>> >
>> >> In OverbyteIcsTypes.pas, you redefined all the types used from windows
>> >> for
>> >> compactibality reasons (I believe). However BCB complains (in project
>> >> with
>> >> overbyteics package, not in package compilation itself!) there is
>> >> ambiguity
>> >> in types and functions such as getwindowlong and HWND and almost all 
>> >> of
>> >> them! Any idea what can fix it?
>> >
>> > Maybe add #undef after the units which define them ?
>> > Either undefine those symbol from the standards units or from ICS 
>> > units.
>>
>> Can you give a C++ example? I have code like:
>>
>> #include 
>> #include 
>> #include ...
>> ...
>>
>> Where should I enter what?
>>
>> Best Regards,
>>
>> SZ
>>
>> -- 
>> To unsubscribe or change your settings for TWSocket mailing list
>> please goto http://www.elists.org/mailman/listinfo/twsocket
>> Visit our website at http://www.overbyte.be
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Running on W95

2006-02-27 Thread Francois Piette
> > I suspect a security product which prevent connection.
>
> There is no antivirus or similar on the system. I tried compiling a
> testproject with the latest beta and the same project on an earlier
> ICS-distribution. I get this error only on latest beta, so there must be
> something with ICS that causes this.

Check TWSocket.ReqVerLow and ReqVerHigh which define the winsock version to be 
loaded. Normally
default to 1.1. Maybe it is forced to 2.2 ?
--
[EMAIL PROTECTED]
http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Running on W95

2006-02-27 Thread Bjørnar Nielsen
The numbers give me
1.1
on both my XP and W95.

Hov do I control which winsock-version is installed?

Regards Bjørnar 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Francois Piette
> Sent: 27. februar 2006 15:00
> To: ICS support mailing
> Subject: Re: [twsocket] Running on W95
> 
> > > I suspect a security product which prevent connection.
> >
> > There is no antivirus or similar on the system. I tried compiling a 
> > testproject with the latest beta and the same project on an earlier 
> > ICS-distribution. I get this error only on latest beta, so 
> there must 
> > be something with ICS that causes this.
> 
> Check TWSocket.ReqVerLow and ReqVerHigh which define the 
> winsock version to be loaded. Normally default to 1.1. Maybe 
> it is forced to 2.2 ?
> --
> [EMAIL PROTECTED]
> http://www.overbyte.be
> 
> --
> To unsubscribe or change your settings for TWSocket mailing 
> list please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
> 


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Problem with v6 BCB package

2006-02-27 Thread Fastream Technologies
NO wait, you must have got the idea of how to make a namespace from delphi: 
it is easy and done in all ICS code as it is automatic in Delphi! In Delphi 
the unit name becomes the namespace name in C++! The problem is in the 
current situation you -somehow- make the namespace contents public and that 
causes ambigouity with windows identifiers. We need to either:

1) make the namespace private and calls like OverbyteIcs::getwindowlong

OR

2) find a way to remove the namespace from within C++ source code. For 
example:

#include 
#include 
do NOT use namespace overbyteICS // not sure the syntax here!
#include 

Regards,

SZ

- Original Message - 
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, February 27, 2006 4:00 PM
Subject: Re: [twsocket] Problem with v6 BCB package


>I have no idea about how to define C++ name space with Delphi code.
> --
> [EMAIL PROTECTED]
> http://www.overbyte.be
>
> - Original Message - 
> From: "Fastream Technologies" <[EMAIL PROTECTED]>
> To: "ICS support mailing" 
> Sent: Monday, February 27, 2006 2:47 PM
> Subject: Re: [twsocket] Problem with v6 BCB package
>
>
>> No I don't think that would be easy as well... Why don't you use 
>> namespaces
>> which are designed for this purpose? You should not include the pascal
>> translation of,
>>
>> use namespace overbyte;
>>
>> instead call functions like Overbyte::getwindowLong();
>>
>> I understand that you wanted to simply the uses part of the package but 
>> this
>> makes it further complicated in the projects.
>>
>> Regards,
>>
>> SZ
>>
>> - Original Message - 
>> From: "Fastream Technologies" <[EMAIL PROTECTED]>
>> To: "ICS support mailing" 
>> Sent: Monday, February 27, 2006 3:43 PM
>> Subject: Re: [twsocket] Problem with v6 BCB package
>>
>>
>> > This won't be as easy as to say: There are 20+ units! What about 
>> > including
>> > a
>> > special .h for this purpose that undefs all overbyte defs??
>> >
>> > Regards,
>> >
>> > SZ
>> >
>> > - Original Message - 
>> > From: "Francois Piette" <[EMAIL PROTECTED]>
>> > To: "ICS support mailing" 
>> > Sent: Monday, February 27, 2006 3:23 PM
>> > Subject: Re: [twsocket] Problem with v6 BCB package
>> >
>> >
>> >> #ifdef HWND
>> >> #undef HWND
>> >> #endif
>> >>
>> >> Put this code (and similar) before the ICS includes.
>> >> Also try varying the include order between ICS and Windows.
>> >>
>> >> --
>> >> [EMAIL PROTECTED]
>> >> http://www.overbyte.be
>> >>
>> >> - Original Message - 
>> >> From: "Fastream Technologies" <[EMAIL PROTECTED]>
>> >> To: "ICS support mailing" 
>> >> Sent: Monday, February 27, 2006 2:04 PM
>> >> Subject: Re: [twsocket] Problem with v6 BCB package
>> >>
>> >>
>> >>> Hello,
>> >>>
>> >>> - Original Message - 
>> >>> From: "Francois Piette" <[EMAIL PROTECTED]>
>> >>> To: "ICS support mailing" 
>> >>> Sent: Monday, February 27, 2006 12:56 PM
>> >>> Subject: Re: [twsocket] Problem with v6 BCB package
>> >>>
>> >>>
>> >>> >> I have been able to skip the bug by removing zlibobjs.pas.
>> >>> >
>> >>> > :-)
>> >>> >
>> >>> >> Now there is a huge design problem:
>> >>> >
>> >>> > Problems are always huge with you.
>> >>> >
>> >>> >> In OverbyteIcsTypes.pas, you redefined all the types used from
>> >>> >> windows
>> >>> >> for
>> >>> >> compactibality reasons (I believe). However BCB complains (in 
>> >>> >> project
>> >>> >> with
>> >>> >> overbyteics package, not in package compilation itself!) there is
>> >>> >> ambiguity
>> >>> >> in types and functions such as getwindowlong and HWND and almost 
>> >>> >> all
>> >>> >> of
>> >>> >> them! Any idea what can fix it?
>> >>> >
>> >>> > Maybe add #undef after the units which define them ?
>> >>> > Either undefine those symbol from the standards units or from ICS
>> >>> > units.
>> >>>
>> >>> Can you give a C++ example? I have code like:
>> >>>
>> >>> #include 
>> >>> #include 
>> >>> #include ...
>> >>> ...
>> >>>
>> >>> Where should I enter what?
>> >>>
>> >>> Best Regards,
>> >>>
>> >>> SZ
>> >>>
>> >>> -- 
>> >>> To unsubscribe or change your settings for TWSocket mailing list
>> >>> please goto http://www.elists.org/mailman/listinfo/twsocket
>> >>> Visit our website at http://www.overbyte.be
>> >> -- 
>> >> To unsubscribe or change your settings for TWSocket mailing list
>> >> please goto http://www.elists.org/mailman/listinfo/twsocket
>> >> Visit our website at http://www.overbyte.be
>> >
>> > -- 
>> > To unsubscribe or change your settings for TWSocket mailing list
>> > please goto http://www.elists.org/mailman/listinfo/twsocket
>> > Visit our website at http://www.overbyte.be
>>
>> -- 
>> To unsubscribe or change your settings for TWSocket mailing list
>> please goto http://www.elists.org/mailman/listinfo/twsocket
>> Visit our website at http://www.overbyte.be
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overb

Re: [twsocket] Problem with v6 BCB package

2006-02-27 Thread Fastream Technologies
Well then this is a problem we need to solve for v6 release. ;((

Regards,

SZ

- Original Message - 
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, February 27, 2006 4:00 PM
Subject: Re: [twsocket] Problem with v6 BCB package


>I have no idea about how to define C++ name space with Delphi code.
> --
> [EMAIL PROTECTED]
> http://www.overbyte.be
>
> - Original Message - 
> From: "Fastream Technologies" <[EMAIL PROTECTED]>
> To: "ICS support mailing" 
> Sent: Monday, February 27, 2006 2:47 PM
> Subject: Re: [twsocket] Problem with v6 BCB package
>
>
>> No I don't think that would be easy as well... Why don't you use 
>> namespaces
>> which are designed for this purpose? You should not include the pascal
>> translation of,
>>
>> use namespace overbyte;
>>
>> instead call functions like Overbyte::getwindowLong();
>>
>> I understand that you wanted to simply the uses part of the package but 
>> this
>> makes it further complicated in the projects.
>>
>> Regards,
>>
>> SZ
>>
>> - Original Message - 
>> From: "Fastream Technologies" <[EMAIL PROTECTED]>
>> To: "ICS support mailing" 
>> Sent: Monday, February 27, 2006 3:43 PM
>> Subject: Re: [twsocket] Problem with v6 BCB package
>>
>>
>> > This won't be as easy as to say: There are 20+ units! What about 
>> > including
>> > a
>> > special .h for this purpose that undefs all overbyte defs??
>> >
>> > Regards,
>> >
>> > SZ
>> >
>> > - Original Message - 
>> > From: "Francois Piette" <[EMAIL PROTECTED]>
>> > To: "ICS support mailing" 
>> > Sent: Monday, February 27, 2006 3:23 PM
>> > Subject: Re: [twsocket] Problem with v6 BCB package
>> >
>> >
>> >> #ifdef HWND
>> >> #undef HWND
>> >> #endif
>> >>
>> >> Put this code (and similar) before the ICS includes.
>> >> Also try varying the include order between ICS and Windows.
>> >>
>> >> --
>> >> [EMAIL PROTECTED]
>> >> http://www.overbyte.be
>> >>
>> >> - Original Message - 
>> >> From: "Fastream Technologies" <[EMAIL PROTECTED]>
>> >> To: "ICS support mailing" 
>> >> Sent: Monday, February 27, 2006 2:04 PM
>> >> Subject: Re: [twsocket] Problem with v6 BCB package
>> >>
>> >>
>> >>> Hello,
>> >>>
>> >>> - Original Message - 
>> >>> From: "Francois Piette" <[EMAIL PROTECTED]>
>> >>> To: "ICS support mailing" 
>> >>> Sent: Monday, February 27, 2006 12:56 PM
>> >>> Subject: Re: [twsocket] Problem with v6 BCB package
>> >>>
>> >>>
>> >>> >> I have been able to skip the bug by removing zlibobjs.pas.
>> >>> >
>> >>> > :-)
>> >>> >
>> >>> >> Now there is a huge design problem:
>> >>> >
>> >>> > Problems are always huge with you.
>> >>> >
>> >>> >> In OverbyteIcsTypes.pas, you redefined all the types used from
>> >>> >> windows
>> >>> >> for
>> >>> >> compactibality reasons (I believe). However BCB complains (in 
>> >>> >> project
>> >>> >> with
>> >>> >> overbyteics package, not in package compilation itself!) there is
>> >>> >> ambiguity
>> >>> >> in types and functions such as getwindowlong and HWND and almost 
>> >>> >> all
>> >>> >> of
>> >>> >> them! Any idea what can fix it?
>> >>> >
>> >>> > Maybe add #undef after the units which define them ?
>> >>> > Either undefine those symbol from the standards units or from ICS
>> >>> > units.
>> >>>
>> >>> Can you give a C++ example? I have code like:
>> >>>
>> >>> #include 
>> >>> #include 
>> >>> #include ...
>> >>> ...
>> >>>
>> >>> Where should I enter what?
>> >>>
>> >>> Best Regards,
>> >>>
>> >>> SZ
>> >>>
>> >>> -- 
>> >>> To unsubscribe or change your settings for TWSocket mailing list
>> >>> please goto http://www.elists.org/mailman/listinfo/twsocket
>> >>> Visit our website at http://www.overbyte.be
>> >> -- 
>> >> To unsubscribe or change your settings for TWSocket mailing list
>> >> please goto http://www.elists.org/mailman/listinfo/twsocket
>> >> Visit our website at http://www.overbyte.be
>> >
>> > -- 
>> > To unsubscribe or change your settings for TWSocket mailing list
>> > please goto http://www.elists.org/mailman/listinfo/twsocket
>> > Visit our website at http://www.overbyte.be
>>
>> -- 
>> To unsubscribe or change your settings for TWSocket mailing list
>> please goto http://www.elists.org/mailman/listinfo/twsocket
>> Visit our website at http://www.overbyte.be
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Problem with v6 BCB package

2006-02-27 Thread Francois Piette
I have no idea about how to define C++ name space with Delphi code.
--
[EMAIL PROTECTED]
http://www.overbyte.be

- Original Message - 
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, February 27, 2006 2:47 PM
Subject: Re: [twsocket] Problem with v6 BCB package


> No I don't think that would be easy as well... Why don't you use namespaces 
> which are designed for this purpose? You should not include the pascal 
> translation of,
> 
> use namespace overbyte;
> 
> instead call functions like Overbyte::getwindowLong();
> 
> I understand that you wanted to simply the uses part of the package but this 
> makes it further complicated in the projects.
> 
> Regards,
> 
> SZ
> 
> - Original Message - 
> From: "Fastream Technologies" <[EMAIL PROTECTED]>
> To: "ICS support mailing" 
> Sent: Monday, February 27, 2006 3:43 PM
> Subject: Re: [twsocket] Problem with v6 BCB package
> 
> 
> > This won't be as easy as to say: There are 20+ units! What about including 
> > a
> > special .h for this purpose that undefs all overbyte defs??
> >
> > Regards,
> >
> > SZ
> >
> > - Original Message - 
> > From: "Francois Piette" <[EMAIL PROTECTED]>
> > To: "ICS support mailing" 
> > Sent: Monday, February 27, 2006 3:23 PM
> > Subject: Re: [twsocket] Problem with v6 BCB package
> >
> >
> >> #ifdef HWND
> >> #undef HWND
> >> #endif
> >>
> >> Put this code (and similar) before the ICS includes.
> >> Also try varying the include order between ICS and Windows.
> >>
> >> --
> >> [EMAIL PROTECTED]
> >> http://www.overbyte.be
> >>
> >> - Original Message - 
> >> From: "Fastream Technologies" <[EMAIL PROTECTED]>
> >> To: "ICS support mailing" 
> >> Sent: Monday, February 27, 2006 2:04 PM
> >> Subject: Re: [twsocket] Problem with v6 BCB package
> >>
> >>
> >>> Hello,
> >>>
> >>> - Original Message - 
> >>> From: "Francois Piette" <[EMAIL PROTECTED]>
> >>> To: "ICS support mailing" 
> >>> Sent: Monday, February 27, 2006 12:56 PM
> >>> Subject: Re: [twsocket] Problem with v6 BCB package
> >>>
> >>>
> >>> >> I have been able to skip the bug by removing zlibobjs.pas.
> >>> >
> >>> > :-)
> >>> >
> >>> >> Now there is a huge design problem:
> >>> >
> >>> > Problems are always huge with you.
> >>> >
> >>> >> In OverbyteIcsTypes.pas, you redefined all the types used from 
> >>> >> windows
> >>> >> for
> >>> >> compactibality reasons (I believe). However BCB complains (in project
> >>> >> with
> >>> >> overbyteics package, not in package compilation itself!) there is
> >>> >> ambiguity
> >>> >> in types and functions such as getwindowlong and HWND and almost all
> >>> >> of
> >>> >> them! Any idea what can fix it?
> >>> >
> >>> > Maybe add #undef after the units which define them ?
> >>> > Either undefine those symbol from the standards units or from ICS
> >>> > units.
> >>>
> >>> Can you give a C++ example? I have code like:
> >>>
> >>> #include 
> >>> #include 
> >>> #include ...
> >>> ...
> >>>
> >>> Where should I enter what?
> >>>
> >>> Best Regards,
> >>>
> >>> SZ
> >>>
> >>> -- 
> >>> To unsubscribe or change your settings for TWSocket mailing list
> >>> please goto http://www.elists.org/mailman/listinfo/twsocket
> >>> Visit our website at http://www.overbyte.be
> >> -- 
> >> To unsubscribe or change your settings for TWSocket mailing list
> >> please goto http://www.elists.org/mailman/listinfo/twsocket
> >> Visit our website at http://www.overbyte.be
> >
> > -- 
> > To unsubscribe or change your settings for TWSocket mailing list
> > please goto http://www.elists.org/mailman/listinfo/twsocket
> > Visit our website at http://www.overbyte.be 
> 
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Problem with v6 BCB package

2006-02-27 Thread Fastream Technologies
No I don't think that would be easy as well... Why don't you use namespaces 
which are designed for this purpose? You should not include the pascal 
translation of,

use namespace overbyte;

instead call functions like Overbyte::getwindowLong();

I understand that you wanted to simply the uses part of the package but this 
makes it further complicated in the projects.

Regards,

SZ

- Original Message - 
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, February 27, 2006 3:43 PM
Subject: Re: [twsocket] Problem with v6 BCB package


> This won't be as easy as to say: There are 20+ units! What about including 
> a
> special .h for this purpose that undefs all overbyte defs??
>
> Regards,
>
> SZ
>
> - Original Message - 
> From: "Francois Piette" <[EMAIL PROTECTED]>
> To: "ICS support mailing" 
> Sent: Monday, February 27, 2006 3:23 PM
> Subject: Re: [twsocket] Problem with v6 BCB package
>
>
>> #ifdef HWND
>> #undef HWND
>> #endif
>>
>> Put this code (and similar) before the ICS includes.
>> Also try varying the include order between ICS and Windows.
>>
>> --
>> [EMAIL PROTECTED]
>> http://www.overbyte.be
>>
>> - Original Message - 
>> From: "Fastream Technologies" <[EMAIL PROTECTED]>
>> To: "ICS support mailing" 
>> Sent: Monday, February 27, 2006 2:04 PM
>> Subject: Re: [twsocket] Problem with v6 BCB package
>>
>>
>>> Hello,
>>>
>>> - Original Message - 
>>> From: "Francois Piette" <[EMAIL PROTECTED]>
>>> To: "ICS support mailing" 
>>> Sent: Monday, February 27, 2006 12:56 PM
>>> Subject: Re: [twsocket] Problem with v6 BCB package
>>>
>>>
>>> >> I have been able to skip the bug by removing zlibobjs.pas.
>>> >
>>> > :-)
>>> >
>>> >> Now there is a huge design problem:
>>> >
>>> > Problems are always huge with you.
>>> >
>>> >> In OverbyteIcsTypes.pas, you redefined all the types used from 
>>> >> windows
>>> >> for
>>> >> compactibality reasons (I believe). However BCB complains (in project
>>> >> with
>>> >> overbyteics package, not in package compilation itself!) there is
>>> >> ambiguity
>>> >> in types and functions such as getwindowlong and HWND and almost all
>>> >> of
>>> >> them! Any idea what can fix it?
>>> >
>>> > Maybe add #undef after the units which define them ?
>>> > Either undefine those symbol from the standards units or from ICS
>>> > units.
>>>
>>> Can you give a C++ example? I have code like:
>>>
>>> #include 
>>> #include 
>>> #include ...
>>> ...
>>>
>>> Where should I enter what?
>>>
>>> Best Regards,
>>>
>>> SZ
>>>
>>> -- 
>>> To unsubscribe or change your settings for TWSocket mailing list
>>> please goto http://www.elists.org/mailman/listinfo/twsocket
>>> Visit our website at http://www.overbyte.be
>> -- 
>> To unsubscribe or change your settings for TWSocket mailing list
>> please goto http://www.elists.org/mailman/listinfo/twsocket
>> Visit our website at http://www.overbyte.be
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Problem with v6 BCB package

2006-02-27 Thread Fastream Technologies
This won't be as easy as to say: There are 20+ units! What about including a 
special .h for this purpose that undefs all overbyte defs??

Regards,

SZ

- Original Message - 
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, February 27, 2006 3:23 PM
Subject: Re: [twsocket] Problem with v6 BCB package


> #ifdef HWND
> #undef HWND
> #endif
>
> Put this code (and similar) before the ICS includes.
> Also try varying the include order between ICS and Windows.
>
> --
> [EMAIL PROTECTED]
> http://www.overbyte.be
>
> - Original Message - 
> From: "Fastream Technologies" <[EMAIL PROTECTED]>
> To: "ICS support mailing" 
> Sent: Monday, February 27, 2006 2:04 PM
> Subject: Re: [twsocket] Problem with v6 BCB package
>
>
>> Hello,
>>
>> - Original Message - 
>> From: "Francois Piette" <[EMAIL PROTECTED]>
>> To: "ICS support mailing" 
>> Sent: Monday, February 27, 2006 12:56 PM
>> Subject: Re: [twsocket] Problem with v6 BCB package
>>
>>
>> >> I have been able to skip the bug by removing zlibobjs.pas.
>> >
>> > :-)
>> >
>> >> Now there is a huge design problem:
>> >
>> > Problems are always huge with you.
>> >
>> >> In OverbyteIcsTypes.pas, you redefined all the types used from windows
>> >> for
>> >> compactibality reasons (I believe). However BCB complains (in project
>> >> with
>> >> overbyteics package, not in package compilation itself!) there is
>> >> ambiguity
>> >> in types and functions such as getwindowlong and HWND and almost all 
>> >> of
>> >> them! Any idea what can fix it?
>> >
>> > Maybe add #undef after the units which define them ?
>> > Either undefine those symbol from the standards units or from ICS 
>> > units.
>>
>> Can you give a C++ example? I have code like:
>>
>> #include 
>> #include 
>> #include ...
>> ...
>>
>> Where should I enter what?
>>
>> Best Regards,
>>
>> SZ
>>
>> -- 
>> To unsubscribe or change your settings for TWSocket mailing list
>> please goto http://www.elists.org/mailman/listinfo/twsocket
>> Visit our website at http://www.overbyte.be
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Running on W95

2006-02-27 Thread Bjørnar Nielsen
No, the other beta from the same date.

Regards Bjørnar 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Fastream 
> Technologies
> Sent: 27. februar 2006 14:37
> To: ICS support mailing
> Subject: Re: [twsocket] Running on W95
> 
> Hello Bjørnar,
> 
> When you say "latest beta", do you mean v6?
> 
> Regards,
> 
> SZ
> 
> - Original Message -
> From: "Bjørnar Nielsen" <[EMAIL PROTECTED]>
> To: "'ICS support mailing'" 
> Sent: Monday, February 27, 2006 3:32 PM
> Subject: Re: [twsocket] Running on W95
> 
> 
> 
> 
> > > Anyone has any tips?
> >
> > I suspect a security product which prevent connection.
> 
> There is no antivirus or similar on the system. I tried compiling a
> testproject with the latest beta and the same project on an earlier
> ICS-distribution. I get this error only on latest beta, so 
> there must be
> something with ICS that causes this.
> 
> Regards Bjørnar
> 
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 
> 
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Running on W95

2006-02-27 Thread Fastream Technologies
Hello Bjørnar,

When you say "latest beta", do you mean v6?

Regards,

SZ

- Original Message - 
From: "Bjørnar Nielsen" <[EMAIL PROTECTED]>
To: "'ICS support mailing'" 
Sent: Monday, February 27, 2006 3:32 PM
Subject: Re: [twsocket] Running on W95




> > Anyone has any tips?
>
> I suspect a security product which prevent connection.

There is no antivirus or similar on the system. I tried compiling a
testproject with the latest beta and the same project on an earlier
ICS-distribution. I get this error only on latest beta, so there must be
something with ICS that causes this.

Regards Bjørnar

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Running on W95

2006-02-27 Thread Bjørnar Nielsen
 

> > Anyone has any tips?
> 
> I suspect a security product which prevent connection.

There is no antivirus or similar on the system. I tried compiling a
testproject with the latest beta and the same project on an earlier
ICS-distribution. I get this error only on latest beta, so there must be
something with ICS that causes this.

Regards Bjørnar

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Problem with v6 BCB package

2006-02-27 Thread Francois Piette
#ifdef HWND
#undef HWND
#endif

Put this code (and similar) before the ICS includes.
Also try varying the include order between ICS and Windows.

--
[EMAIL PROTECTED]
http://www.overbyte.be

- Original Message - 
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, February 27, 2006 2:04 PM
Subject: Re: [twsocket] Problem with v6 BCB package


> Hello,
> 
> - Original Message - 
> From: "Francois Piette" <[EMAIL PROTECTED]>
> To: "ICS support mailing" 
> Sent: Monday, February 27, 2006 12:56 PM
> Subject: Re: [twsocket] Problem with v6 BCB package
> 
> 
> >> I have been able to skip the bug by removing zlibobjs.pas.
> >
> > :-)
> >
> >> Now there is a huge design problem:
> >
> > Problems are always huge with you.
> >
> >> In OverbyteIcsTypes.pas, you redefined all the types used from windows 
> >> for
> >> compactibality reasons (I believe). However BCB complains (in project 
> >> with
> >> overbyteics package, not in package compilation itself!) there is 
> >> ambiguity
> >> in types and functions such as getwindowlong and HWND and almost all of
> >> them! Any idea what can fix it?
> >
> > Maybe add #undef after the units which define them ?
> > Either undefine those symbol from the standards units or from ICS units.
> 
> Can you give a C++ example? I have code like:
> 
> #include 
> #include 
> #include ...
> ...
> 
> Where should I enter what?
> 
> Best Regards,
> 
> SZ
> 
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Running on W95

2006-02-27 Thread Francois Piette
> I have trouble with running an exe that uses the the THttpCli component on a
> W95. It works on W98 and later. And it works also on earlier versions of
> ICS, but not the latest beta.
>  
> I get this error-message in ReasonPhrase in OnRequestDone:
> Can't connect: No error (Error #0)
>  
> Anyone has any tips?

I suspect a security product which prevent connection.
--
[EMAIL PROTECTED]
http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] TPing, trouble with TTL

2006-02-27 Thread Francois Piette
There are several traceroute samples available from the usermade page at my 
website.

--
Contribute to the SSL Effort. Visit
http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be


- Original Message - 
From: "Elifan" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, February 27, 2006 12:00 PM
Subject: Re: [twsocket] TPing, trouble with TTL


> > I've set TTL in TPing object equal to 1 but it doesn't working...
> > like there is no correct information in Echo request.
> > Cause replies is ok and are going not from router :( If I do the
> > same with usual windows's ping tool -
> > get a ttl expired reply from router.
> 
> > Can anybody confirm it or offer to do something?
> 
> I want to make traceroute function in my project...
> but... without normal work with TTL it's impossible :(
> 
> Thanx
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Running on W95

2006-02-27 Thread Bjørnar Nielsen
How do I find the winsock version-number?

I will check if I have all service-packs on the w95-installation.

Is there a change in wich winsock-version ICS supports or is this a bug?

Regards Bjørnar

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Fastream 
> Technologies
> Sent: 27. februar 2006 14:01
> To: ICS support mailing
> Subject: Re: [twsocket] Running on W95
> 
> Which version of winsock does w95 have? I have a strong 
> feeling that upgrading to ws2 would help.
> 
> Regards,
> 
> SZ
> 
> - Original Message -
> From: "Bjørnar Nielsen" <[EMAIL PROTECTED]>
> To: "'ICS support mailing'" 
> Sent: Monday, February 27, 2006 2:57 PM
> Subject: [twsocket] Running on W95
> 
> 
> I have trouble with running an exe that uses the the THttpCli 
> component on a
> W95. It works on W98 and later. And it works also on earlier 
> versions of
> ICS, but not the latest beta.
> 
> I get this error-message in ReasonPhrase in OnRequestDone:
> Can't connect: No error (Error #0)
> 
> Anyone has any tips?
> 
> Regards Bjørnar
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 
> 
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Problem with v6 BCB package

2006-02-27 Thread Fastream Technologies
Hello,

- Original Message - 
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, February 27, 2006 12:56 PM
Subject: Re: [twsocket] Problem with v6 BCB package


>> I have been able to skip the bug by removing zlibobjs.pas.
>
> :-)
>
>> Now there is a huge design problem:
>
> Problems are always huge with you.
>
>> In OverbyteIcsTypes.pas, you redefined all the types used from windows 
>> for
>> compactibality reasons (I believe). However BCB complains (in project 
>> with
>> overbyteics package, not in package compilation itself!) there is 
>> ambiguity
>> in types and functions such as getwindowlong and HWND and almost all of
>> them! Any idea what can fix it?
>
> Maybe add #undef after the units which define them ?
> Either undefine those symbol from the standards units or from ICS units.

Can you give a C++ example? I have code like:

#include 
#include 
#include ...
...

Where should I enter what?

Best Regards,

SZ

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Running on W95

2006-02-27 Thread Fastream Technologies
Which version of winsock does w95 have? I have a strong feeling that 
upgrading to ws2 would help.

Regards,

SZ

- Original Message - 
From: "Bjørnar Nielsen" <[EMAIL PROTECTED]>
To: "'ICS support mailing'" 
Sent: Monday, February 27, 2006 2:57 PM
Subject: [twsocket] Running on W95


I have trouble with running an exe that uses the the THttpCli component on a
W95. It works on W98 and later. And it works also on earlier versions of
ICS, but not the latest beta.

I get this error-message in ReasonPhrase in OnRequestDone:
Can't connect: No error (Error #0)

Anyone has any tips?

Regards Bjørnar
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] Running on W95

2006-02-27 Thread Bjørnar Nielsen
I have trouble with running an exe that uses the the THttpCli component on a
W95. It works on W98 and later. And it works also on earlier versions of
ICS, but not the latest beta.
 
I get this error-message in ReasonPhrase in OnRequestDone:
Can't connect: No error (Error #0)
 
Anyone has any tips?
 
Regards Bjørnar
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] TPing, trouble with TTL

2006-02-27 Thread Angus Robertson - Magenta Systems Ltd
> I want to make traceroute function in my project...
> but... without normal work with TTL it's impossible :(

Download the threaded ping component from the usermade page or 
http://www.magsys.co.uk/delphi/magics.asp, which includes a fully 
functional trace route application, where TTL does work. 

Angus
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Problem with v6 BCB package

2006-02-27 Thread Francois Piette
> I have been able to skip the bug by removing zlibobjs.pas. 

:-)

> Now there is a huge design problem:

Problems are always huge with you.

> In OverbyteIcsTypes.pas, you redefined all the types used from windows for 
> compactibality reasons (I believe). However BCB complains (in project with 
> overbyteics package, not in package compilation itself!) there is ambiguity 
> in types and functions such as getwindowlong and HWND and almost all of 
> them! Any idea what can fix it?

Maybe add #undef after the units which define them ?
Either undefine those symbol from the standards units or from ICS units.

--
[EMAIL PROTECTED]
http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Problem with v6 BCB package

2006-02-27 Thread Fastream Technologies
Francois,

I have been able to skip the bug by removing zlibobjs.pas. Now there is a 
huge design problem:

In OverbyteIcsTypes.pas, you redefined all the types used from windows for 
compactibality reasons (I believe). However BCB complains (in project with 
overbyteics package, not in package compilation itself!) there is ambiguity 
in types and functions such as getwindowlong and HWND and almost all of 
them! Any idea what can fix it?

Regards,

SZ

- Original Message - 
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, February 27, 2006 10:45 AM
Subject: Re: [twsocket] Problem with v6 BCB package


>> > Despite all that I have done, the package that I created for BCB6
>> > (http://www.fastream.com/ics/V6.zip) gives linker access violation. 
>> > Anyone
>> > can help?
>
> Linker access violation is likely a bug in BCB6 itself.
> I have no idea how to solve that.
> You should try with BDS2006. The trial version is available now.
>
> --
> [EMAIL PROTECTED]
> http://www.overbyte.be
>
>
> - Original Message - 
> From: "Fastream Technologies" <[EMAIL PROTECTED]>
> To: "ICS support mailing" 
> Sent: Monday, February 27, 2006 9:18 AM
> Subject: Re: [twsocket] Problem with v6 BCB package
>
>
>> Did you get my message below? Anyone has a BCB6 package fix idea for the
>> file below??
>>
>> Regards,
>>
>> SZ
>>
>> - Original Message - 
>> From: "Fastream Technologies" <[EMAIL PROTECTED]>
>> To: "ICS support mailing" 
>> Sent: Sunday, February 26, 2006 9:48 AM
>> Subject: [twsocket] Problem with v6 BCB package
>>
>>
>> > Hello,
>> >
>> > Despite all that I have done, the package that I created for BCB6
>> > (http://www.fastream.com/ics/V6.zip) gives linker access violation. 
>> > Anyone
>> > can help?
>> >
>> > Francois, the last time I asked for your help on this issue, you DENIED
>> > for
>> > "no time" and I hope you can just take a look at this package, fix and
>> > include in the original zip.
>> >
>> > Regards,
>> >
>> > SZ
>> >
>> > -- 
>> > To unsubscribe or change your settings for TWSocket mailing list
>> > please goto http://www.elists.org/mailman/listinfo/twsocket
>> > Visit our website at http://www.overbyte.be
>>
>> -- 
>> To unsubscribe or change your settings for TWSocket mailing list
>> please goto http://www.elists.org/mailman/listinfo/twsocket
>> Visit our website at http://www.overbyte.be
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Problem with v6 BCB package

2006-02-27 Thread Fastream Technologies
Hello,

- Original Message - 
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, February 27, 2006 10:45 AM
Subject: Re: [twsocket] Problem with v6 BCB package


>> > Despite all that I have done, the package that I created for BCB6
>> > (http://www.fastream.com/ics/V6.zip) gives linker access violation. 
>> > Anyone
>> > can help?
>
> Linker access violation is likely a bug in BCB6 itself.
> I have no idea how to solve that.
> You should try with BDS2006. The trial version is available now.

I am not planning to spend on BCB until the future of the compiler becomes 
clearer. And unlikely everybody here will upgrade soon. So I think we need a 
workaround. Can't you just spend 5 mins to try the package I uploaded? 
(http://www.fastream.com/ics/V6.zip)

Regards,

SZ 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Problem with v6 BCB package

2006-02-27 Thread Francois Piette
> > Despite all that I have done, the package that I created for BCB6
> > (http://www.fastream.com/ics/V6.zip) gives linker access violation. Anyone
> > can help?

Linker access violation is likely a bug in BCB6 itself.
I have no idea how to solve that.
You should try with BDS2006. The trial version is available now.

--
[EMAIL PROTECTED]
http://www.overbyte.be


- Original Message - 
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, February 27, 2006 9:18 AM
Subject: Re: [twsocket] Problem with v6 BCB package


> Did you get my message below? Anyone has a BCB6 package fix idea for the 
> file below??
> 
> Regards,
> 
> SZ
> 
> - Original Message - 
> From: "Fastream Technologies" <[EMAIL PROTECTED]>
> To: "ICS support mailing" 
> Sent: Sunday, February 26, 2006 9:48 AM
> Subject: [twsocket] Problem with v6 BCB package
> 
> 
> > Hello,
> >
> > Despite all that I have done, the package that I created for BCB6
> > (http://www.fastream.com/ics/V6.zip) gives linker access violation. Anyone
> > can help?
> >
> > Francois, the last time I asked for your help on this issue, you DENIED 
> > for
> > "no time" and I hope you can just take a look at this package, fix and
> > include in the original zip.
> >
> > Regards,
> >
> > SZ
> >
> > -- 
> > To unsubscribe or change your settings for TWSocket mailing list
> > please goto http://www.elists.org/mailman/listinfo/twsocket
> > Visit our website at http://www.overbyte.be 
> 
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Problem with v6 BCB package

2006-02-27 Thread Fastream Technologies
BTW, in case you ask, I have ALL the updates of BCB6 installed (1, 2 and 4 
as well as the compiler accelerator).

Regards,

SZ

- Original Message - 
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, February 27, 2006 10:18 AM
Subject: Re: [twsocket] Problem with v6 BCB package


> Did you get my message below? Anyone has a BCB6 package fix idea for the
> file below??
>
> Regards,
>
> SZ
>
> - Original Message - 
> From: "Fastream Technologies" <[EMAIL PROTECTED]>
> To: "ICS support mailing" 
> Sent: Sunday, February 26, 2006 9:48 AM
> Subject: [twsocket] Problem with v6 BCB package
>
>
>> Hello,
>>
>> Despite all that I have done, the package that I created for BCB6
>> (http://www.fastream.com/ics/V6.zip) gives linker access violation. 
>> Anyone
>> can help?
>>
>> Francois, the last time I asked for your help on this issue, you DENIED
>> for
>> "no time" and I hope you can just take a look at this package, fix and
>> include in the original zip.
>>
>> Regards,
>>
>> SZ
>>
>> -- 
>> To unsubscribe or change your settings for TWSocket mailing list
>> please goto http://www.elists.org/mailman/listinfo/twsocket
>> Visit our website at http://www.overbyte.be
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Problem with v6 BCB package

2006-02-27 Thread Fastream Technologies
Did you get my message below? Anyone has a BCB6 package fix idea for the 
file below??

Regards,

SZ

- Original Message - 
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Sunday, February 26, 2006 9:48 AM
Subject: [twsocket] Problem with v6 BCB package


> Hello,
>
> Despite all that I have done, the package that I created for BCB6
> (http://www.fastream.com/ics/V6.zip) gives linker access violation. Anyone
> can help?
>
> Francois, the last time I asked for your help on this issue, you DENIED 
> for
> "no time" and I hope you can just take a look at this package, fix and
> include in the original zip.
>
> Regards,
>
> SZ
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be