[twsocket] TFtpSrv on TService Compilation Error

2006-06-09 Thread Macma
I'm using BCB5 Pro and ICS V5 for Delphi/C++Builder Beta (May 14, 2006)
and I can't compile TService application with TFtpSrv. On normal
application when I put TFtpSrv on TForm everything is OK but o TService
I've got compilation error from  WSocket.hpp:

Declaration terminated incorrectly.

static const Shortint IOC_UNIX = 0x0;
static const int IOC_WS2 = 0x800;
static const int IOC_PROTOCOL = 0x1000;
static const int IOC_VENDOR = 0x1800;

What would be the reason??

Regards,
macma1
-- 
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] TFtpSrv on TService Compilation Error

2006-06-09 Thread Fastream Technologies
Hello,

This is a bug of v5. You need to delete the lines from the hpp manually. Or 
better, use v6 which uses one window per thread instead of one window per 
socket as in the case of v5.

Regards,

SZ

- Original Message - 
From: Macma [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Friday, June 09, 2006 3:43 PM
Subject: [twsocket] TFtpSrv on TService Compilation Error


: I'm using BCB5 Pro and ICS V5 for Delphi/C++Builder Beta (May 14, 2006)
: and I can't compile TService application with TFtpSrv. On normal
: application when I put TFtpSrv on TForm everything is OK but o TService
: I've got compilation error from  WSocket.hpp:
:
: Declaration terminated incorrectly.
:
: static const Shortint IOC_UNIX = 0x0;
: static const int IOC_WS2 = 0x800;
: static const int IOC_PROTOCOL = 0x1000;
: static const int IOC_VENDOR = 0x1800;
:
: What would be the reason??
:
: Regards,
: macma1
: -- 
: 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] TFtpSrv on TService Compilation Error

2006-06-09 Thread Macma
I'm using BCB5 Pro and ICS V5 for Delphi/C++Builder Beta (May 14, 2006)
and I can't compile TService application with TFtpSrv. On normal
application when I put TFtpSrv on TForm everything is OK but o TService
I've got compilation error from  WSocket.hpp:

Declaration terminated incorrectly.

static const Shortint IOC_UNIX = 0x0;
static const int IOC_WS2 = 0x800;
static const int IOC_PROTOCOL = 0x1000;
static const int IOC_VENDOR = 0x1800;

What would be the reason??

Regards,
macma1

Sorry previous i put this question in wrong subject:)

-- 
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] TFtpSrv on TService Compilation Error

2006-06-09 Thread Arno Garrels
Macma wrote:
 I'm using BCB5 Pro and ICS V5 for Delphi/C++Builder Beta (May 14,
 2006) and I can't compile TService application with TFtpSrv. On normal
 application when I put TFtpSrv on TForm everything is OK but o
 TService I've got compilation error from  WSocket.hpp:
 
 Declaration terminated incorrectly.
 
 static const Shortint IOC_UNIX = 0x0;
 static const int IOC_WS2 = 0x800;
 static const int IOC_PROTOCOL = 0x1000;
 static const int IOC_VENDOR = 0x1800;
 
 What would be the reason??

These constants are defined in winsock.h, for each
constant add the {$EXTERNALSYM ..} define in
WSocket.pas:

{$EXTERNALSYM IOC_UNIX} 
IOC_UNIX = $;
{$EXTERNALSYM IOC_WS2}
IOC_WS2  = $0800;
{$EXTERNALSYM IOC_PROTOCOL}
IOC_PROTOCOL = $1000;
{$EXTERNALSYM IOC_VENDOR}
IOC_IN   = $8000;

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