Re: [twsocket] Suggestion for const in ICS for better compatibility with C++ projects

2009-10-17 Thread Fastream Technologies
BTW, these are resolved by playing with directories' order in Project Options... Thanks anyway for reading. On Sat, Oct 17, 2009 at 4:14 PM, Fastream Technologies wrote: > Ok forcing ICS to use integer instead of Byte did not work either. But why > does this error occur? How could the compiler f

Re: [twsocket] Suggestion for const in ICS for better compatibility with C++ projects

2009-10-17 Thread Fastream Technologies
Ok forcing ICS to use integer instead of Byte did not work either. But why does this error occur? How could the compiler find System.Byte and Byte ambigous? What could be the source of this??! On Sat, Oct 17, 2009 at 2:09 PM, Fastream Technologies wrote: > Ok my very simple question about Delphi

Re: [twsocket] Suggestion for const in ICS for better compatibility with C++ projects

2009-10-17 Thread Fastream Technologies
Ok my very simple question about Delphi and ICS: How do we enforce a type for a const? For example in C++, static const int dummy = 1; is the way to force a static const integer called dummy with a variable value of "1". If we can force ICS to use integer for all const in SSL units, my problem wil

[twsocket] Suggestion for const in ICS for better compatibility with C++ projects

2009-10-17 Thread Fastream Technologies
Hello, I see in ...libeay.pas for example: const SSL_SESS_CACHE_NO_AUTO_CLEAR= $0080; which translates in BCB2010 in header as, static const Byte SSL_SESS_CACHE_NO_AUTO_CLEAR = 0x80; which is confusing for most projects as there are usually lots of "Byte" defined. Giving, [BCC3