Re: [twsocket] Any BCB users out there?

2006-04-01 Thread Fastream Technologies
Hello,

- Original Message - 
From: "Bevan Edwards" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Saturday, April 01, 2006 3:41 PM
Subject: Re: [twsocket] Any BCB users out there?


> Hiya,
>
> Fastream Technologies wrote:
>> The problem in v6 under C++ is OverbyteIcsTypes defines the Windows
>> constants once again for just clarity reasons under Delphi and this 
>> annoys
>> the C++ compiler.
>
> From a quick look, isn't the problem "simply" that WINSOCK2.H declares
> these using #define's, while the OverbyteIcs*.hpp declares them as
> static const?
>
> Would it be feasible to have a #define that caused these "static const"
> definitions not to be made?
>
> Or is the problem more complex than that?

It seemed more complex to me as the ICS units call the functions in the 
OverbyteICS* defs. It is not just some variables, there is also function 
declaration problem! I offered Francois to eliminate the 
Overbyteicstypes.pas file which seems to be the only solution but he refused 
saying there must be another way. If you look at the hpp files, you will see 
"using namespace overbyteicstypes" which makes everything global and causes 
the problem!

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] Any BCB users out there?

2006-04-01 Thread Bevan Edwards
Hiya,

Fastream Technologies wrote:
> The problem in v6 under C++ is OverbyteIcsTypes defines the Windows 
> constants once again for just clarity reasons under Delphi and this annoys 
> the C++ compiler.

 From a quick look, isn't the problem "simply" that WINSOCK2.H declares 
these using #define's, while the OverbyteIcs*.hpp declares them as 
static const?

Would it be feasible to have a #define that caused these "static const" 
definitions not to be made?

Or is the problem more complex than that?

Regards,

Bevan

-- 
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] Any BCB users out there?

2006-04-01 Thread Fastream Technologies
The problem in v6 under C++ is OverbyteIcsTypes defines the Windows 
constants once again for just clarity reasons under Delphi and this annoys 
the C++ compiler.

Regards,

SZ

- Original Message - 
From: "Bevan Edwards" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Saturday, April 01, 2006 3:24 PM
Subject: Re: [twsocket] Any BCB users out there?


>>>Oh, I might switch to v5 then ;)
>>
>>
>> The only reason why I'm still on V5 is not enough time :(
>> If you don't need to instanciate thousands of ICS objects
>> you can sure use V5 until V6 fully supports BCB2006.
>> However it would be nice if you were able to fix it.
>
> Time is a bit of a factor for me too, but now I have both ICS v5 and ICS
> v6 packages built in BDS2006 (but only ICS v5 installed) and I can swap
> between them reasonably easily.  So as I get a chance, I'll look into
> the ICS v6 problem further.
>
> Bevan
>
> -- 
> 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] Any BCB users out there?

2006-04-01 Thread Bevan Edwards
>>Oh, I might switch to v5 then ;)
> 
> 
> The only reason why I'm still on V5 is not enough time :(
> If you don't need to instanciate thousands of ICS objects
> you can sure use V5 until V6 fully supports BCB2006.
> However it would be nice if you were able to fix it.  

Time is a bit of a factor for me too, but now I have both ICS v5 and ICS 
v6 packages built in BDS2006 (but only ICS v5 installed) and I can swap 
between them reasonably easily.  So as I get a chance, I'll look into 
the ICS v6 problem further.

Bevan

-- 
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] Any BCB users out there?

2006-04-01 Thread Arno Garrels
Bevan Edwards wrote:
> Oh, I might switch to v5 then ;)

The only reason why I'm still on V5 is not enough time :(
If you don't need to instanciate thousands of ICS objects
you can sure use V5 until V6 fully supports BCB2006.
However it would be nice if you were able to fix it.  

---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html


> 
> Arno Garrels wrote:
>> Bevan Edwards wrote:
>> 
>>> Hi Arno,
>>> 
>>> I followed your instructions for installing ICS v6 (see below), but when
>>> I compile a project with a single HttpCli component on it, I get
>>> "Declaration terminated incorrectly" and "Multiple declaration for
>>> u_long" errors from the OverbyteIcsWinsock.hpp file.
>>> 
>>> You mentioned that you compiled such a project without any problems.
>>> How did you get rid of these messages?
>> 
>> 
>> I was talking about V5, I've not yet installed V6.
>> 
>> ---
>> Arno Garrels [TeamICS]
>> http://www.overbyte.be/eng/overbyte/teamics.html
>> 
>> 
>> 
>>> Regards,
>>> 
>>> Bevan
>>> 
>>> 
>>> 
>>> Arno Garrels wrote:
>>> 
 Arno Garrels wrote:
 
 
> Fastream Technologies wrote:
> 
> 
>>> I use BCB6 and BDS2006, but I haven't yet ventured down the path of
>>> installing any of the latest releases.  However, it's something I'm
>>> considering doing within the next month or so (depending on
>>> availability of my time).
>> 
>> I think you might face the same problems that I face when you upgrade
>> to the latest version.
> 
> Using BDS2006, I built the Delphi package, then in the Linker options
> I checked "Generate All C++Builder Files" and rebuilt all. That way
> the ICS components become available on the Tool Palette in both
> personalities.
> 
> I dropped a THttpCli on a form of a newly created BCB VCL project and
> compiled it w/o any problem.
 
 
 Forgot to say that if you use above methode the BCB-BDS2006 demo
 projects complain that IcsBcb100.lib cannot be found. I had to remove
 that reference manually from the project files.
 
 
 ---
 Arno Garrels [TeamICS]
 http://www.overbyte.be/eng/overbyte/teamics.html
-- 
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] Any BCB users out there?

2006-04-01 Thread Bevan Edwards
Oh, I might switch to v5 then ;)

Arno Garrels wrote:
> Bevan Edwards wrote:
> 
>>Hi Arno,
>>
>>I followed your instructions for installing ICS v6 (see below), but when
>>I compile a project with a single HttpCli component on it, I get
>>"Declaration terminated incorrectly" and "Multiple declaration for
>>u_long" errors from the OverbyteIcsWinsock.hpp file.
>>
>>You mentioned that you compiled such a project without any problems.
>>How did you get rid of these messages?
> 
> 
> I was talking about V5, I've not yet installed V6. 
> 
> ---
> Arno Garrels [TeamICS]
> http://www.overbyte.be/eng/overbyte/teamics.html
> 
> 
> 
>>Regards,
>>
>>Bevan
>>
>>
>>
>>Arno Garrels wrote:
>>
>>>Arno Garrels wrote:
>>>
>>>
Fastream Technologies wrote:


>>I use BCB6 and BDS2006, but I haven't yet ventured down the path of
>>installing any of the latest releases.  However, it's something I'm
>>considering doing within the next month or so (depending on
>>availability of my time).
>
>I think you might face the same problems that I face when you upgrade
>to the latest version.

Using BDS2006, I built the Delphi package, then in the Linker options I
checked "Generate All C++Builder Files" and rebuilt all. That way the
ICS components become available on the Tool Palette in both
personalities. 

I dropped a THttpCli on a form of a newly created BCB VCL project and
compiled it w/o any problem.
>>>
>>>
>>>Forgot to say that if you use above methode the BCB-BDS2006 demo projects
>>>complain that IcsBcb100.lib cannot be found. I had to remove that
>>>reference manually from the project files.
>>>
>>>
>>>---
>>>Arno Garrels [TeamICS]
>>>http://www.overbyte.be/eng/overbyte/teamics.html

-- 
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] Any BCB users out there?

2006-04-01 Thread Arno Garrels
Bevan Edwards wrote:
> Hi Arno,
> 
> I followed your instructions for installing ICS v6 (see below), but when
> I compile a project with a single HttpCli component on it, I get
> "Declaration terminated incorrectly" and "Multiple declaration for
> u_long" errors from the OverbyteIcsWinsock.hpp file.
> 
> You mentioned that you compiled such a project without any problems.
> How did you get rid of these messages?

I was talking about V5, I've not yet installed V6. 

---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html


> 
> Regards,
> 
> Bevan
> 
> 
> 
> Arno Garrels wrote:
>> Arno Garrels wrote:
>> 
>>> Fastream Technologies wrote:
>>> 
> I use BCB6 and BDS2006, but I haven't yet ventured down the path of
> installing any of the latest releases.  However, it's something I'm
> considering doing within the next month or so (depending on
> availability of my time).
 
 I think you might face the same problems that I face when you upgrade
 to the latest version.
>>> 
>>> Using BDS2006, I built the Delphi package, then in the Linker options I
>>> checked "Generate All C++Builder Files" and rebuilt all. That way the
>>> ICS components become available on the Tool Palette in both
>>> personalities. 
>>> 
>>> I dropped a THttpCli on a form of a newly created BCB VCL project and
>>> compiled it w/o any problem.
>> 
>> 
>> Forgot to say that if you use above methode the BCB-BDS2006 demo projects
>> complain that IcsBcb100.lib cannot be found. I had to remove that
>> reference manually from the project files.
>> 
>> 
>> ---
>> Arno Garrels [TeamICS]
>> http://www.overbyte.be/eng/overbyte/teamics.html
-- 
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] Any BCB users out there?

2006-04-01 Thread Bevan Edwards
Hi Arno,

I followed your instructions for installing ICS v6 (see below), but when 
I compile a project with a single HttpCli component on it, I get 
"Declaration terminated incorrectly" and "Multiple declaration for 
u_long" errors from the OverbyteIcsWinsock.hpp file.

You mentioned that you compiled such a project without any problems. 
How did you get rid of these messages?

Regards,

Bevan



Arno Garrels wrote:
> Arno Garrels wrote:
> 
>>Fastream Technologies wrote:
>>
I use BCB6 and BDS2006, but I haven't yet ventured down the path of
installing any of the latest releases.  However, it's something I'm
considering doing within the next month or so (depending on availability
of my time).
>>>
>>>I think you might face the same problems that I face when you upgrade to
>>>the latest version.
>>
>>Using BDS2006, I built the Delphi package, then in the Linker options I
>>checked "Generate All C++Builder Files" and rebuilt all. That way the ICS
>>components become available on the Tool Palette in both personalities. 
>>
>>I dropped a THttpCli on a form of a newly created BCB VCL project and
>>compiled it w/o any problem.
> 
> 
> Forgot to say that if you use above methode the BCB-BDS2006 demo projects
> complain that IcsBcb100.lib cannot be found. I had to remove that reference
> manually from the project files.
> 
> 
> ---
> Arno Garrels [TeamICS]
> http://www.overbyte.be/eng/overbyte/teamics.html
> 
> 

-- 
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