rejetto forum
May 25, 2012, 09:21:06 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: wsocket v5.25  (Read 2572 times)
0 Members and 1 Guest are viewing this topic.
jeenyeong
Occasional poster
*
Offline Offline

Malaysia Malaysia

Posts: 5


View Profile Email
« on: November 23, 2010, 05:21:51 AM »

i try to compile hfs myself with Borland Developer Studio 2006 Turbo Delphi Version 10.0.2288.42451 but i cant find the library that mention in the main.pas (  // 3rd part libs (ensure you have all of these, compare your version in file notes.txt)) i found the links in dev notes.txt but i still unable to find wsocket. i only can see there is twsocket in http://www.overbyte.be.

after that i google with wsocket v5.25 and found it in Koders Code http://www.koders.com/delphi/fid7181F0229C0070D2750DCDF0604B8866BD402E8D.aspx?s=pos and the same version but once i compile i get some errors in wsocket. i think i get the wrong version. anyone can share all the library please..   Cheesy

Here is the error i get
Quote
[Pascal Error] wsocket.pas(2304): E2064 Left side cannot be assigned to
[Pascal Error] wsocket.pas(2305): E2064 Left side cannot be assigned to
[Pascal Error] wsocket.pas(2325): E2064 Left side cannot be assigned to
[Pascal Error] wsocket.pas(2326): E2064 Left side cannot be assigned to
[Pascal Error] wsocket.pas(2361): E2064 Left side cannot be assigned to
[Pascal Error] wsocket.pas(2401): E2064 Left side cannot be assigned to
[Pascal Error] wsocket.pas(2457): E2003 Undeclared identifier: 'GWSockCritSect'
[Pascal Error] wsocket.pas(2457): E2033 Types of actual and formal var parameters must be identical
[Pascal Error] wsocket.pas(2460): E2064 Left side cannot be assigned to
[Pascal Error] wsocket.pas(2480): E2033 Types of actual and formal var parameters must be identical
[Pascal Error] wsocket.pas(2546): E2003 Undeclared identifier: 'GWSockCritSect'
[Pascal Error] wsocket.pas(2546): E2033 Types of actual and formal var parameters must be identical
[Pascal Error] wsocket.pas(2547): E2064 Left side cannot be assigned to
[Pascal Error] wsocket.pas(2548): E2033 Types of actual and formal var parameters must be identical
[Pascal Error] wsocket.pas(2555): E2003 Undeclared identifier: 'GWSockCritSect'
[Pascal Error] wsocket.pas(2555): E2033 Types of actual and formal var parameters must be identical
[Pascal Error] wsocket.pas(2556): E2064 Left side cannot be assigned to
[Pascal Error] wsocket.pas(2557): E2033 Types of actual and formal var parameters must be identical
[Pascal Error] wsocket.pas(3526): E2003 Undeclared identifier: 'XSocketAllocateHWnd'
[Pascal Error] wsocket.pas(3550): E2003 Undeclared identifier: 'XSocketDeallocateHWnd'
[Pascal Error] wsocket.pas(3618): E2064 Left side cannot be assigned to
[Pascal Error] wsocket.pas(3643): E2064 Left side cannot be assigned to
[Pascal Error] wsocket.pas(3694): E2064 Left side cannot be assigned to
[Pascal Error] wsocket.pas(3713): E2064 Left side cannot be assigned to
[Pascal Error] wsocket.pas(5099): E2003 Undeclared identifier: 'WSocket_WSAIoctl'
[Pascal Error] wsocket.pas(7334): E2003 Undeclared identifier: 'GClassCritSect'
[Pascal Error] wsocket.pas(7334): E2033 Types of actual and formal var parameters must be identical
[Pascal Error] wsocket.pas(7335): E2003 Undeclared identifier: 'GWSockCritSect'
[Pascal Error] wsocket.pas(7335): E2033 Types of actual and formal var parameters must be identical
[Pascal Error] wsocket.pas(7336): E2003 Undeclared identifier: 'GSendBufCritSect'
[Pascal Error] wsocket.pas(7336): E2033 Types of actual and formal var parameters must be identical
[Pascal Error] wsocket.pas(7356): E2033 Types of actual and formal var parameters must be identical
[Pascal Error] wsocket.pas(7358): E2033 Types of actual and formal var parameters must be identical
[Pascal Error] wsocket.pas(7359): E2033 Types of actual and formal var parameters must be identical
[Pascal Fatal Error] main.pas(37): F2063 Could not compile used unit 'wsocket.pas'

and i stuck on this line in wsocket
Quote
procedure WSocketForceLoadWinsock;
begin
{$IFDEF COMPILER2_UP}
    EnterCriticalSection(GWSockCritSect);
    try
{$ENDIF}
        if not WSocketGForced then begin
            WSocketGForced := TRUE;
            Inc(WSocketGCount);
            WSocketGetProc('');
        end;
{$IFDEF COMPILER2_UP}
    finally
        LeaveCriticalSection(GWSockCritSect);
    end;
{$ENDIF}
end;
Logged
SilentPliz
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1046


....... chut ! shh!


View Profile WWW
« Reply #1 on: November 23, 2010, 09:29:59 AM »

i try to compile hfs myself with Borland Developer Studio 2006 Turbo Delphi Version 10.0.2288.42451 but i cant find the library that mention in the main.pas (  // 3rd part libs (ensure you have all of these, compare your version in file notes.txt)) i found the links in dev notes.txt but i still unable to find wsocket. i only can see there is twsocket in http://www.overbyte.be.

Indeed wsocket is part of ICS lib from http://www.overbyte.be

You need have ICS V5 for compile HFS stable build or ICS V7 for compile recent beta builds

Don't forget to include the folder ~\YOUR_ICS_FOLDER\delphi\vc32\ in the Win32 libs path in Delphi
« Last Edit: November 23, 2010, 11:04:32 AM by SilentPliz » Logged
jeenyeong
Occasional poster
*
Offline Offline

Malaysia Malaysia

Posts: 5


View Profile Email
« Reply #2 on: November 23, 2010, 03:52:27 PM »

ok i had download hfs version 2.2f build 155 so i use ICS V5 to compile it. i added all the files in delphi\vc32\ but i still cant compile it  because i dont have a file call regexpr.dcu. i google the file and added in as what i did just now. i compile again and found this error from EmulVT.pas and now i am stuck.. please help me.. thanks a million

Quote
[Pascal Error] EmulVT.pas(2967): E2052 Unterminated string
[Pascal Error] EmulVT.pas(2968): E2029 ';' expected but identifier 'v3' found
[Pascal Error] EmulVT.pas(2968): E2052 Unterminated string
[Pascal Error] EmulVT.pas(2969): E2029 ';' expected but identifier 'SpyFlag' found
[Pascal Fatal Error] hfs.dpr(96): F2063 Could not compile used unit '..\..\..\lib\OverbyteIcsV5\Delphi\Vc32\EmulVT.pas'



i change it to this and it works
Quote
   v1 : String = 'aeiou';
    v2 : String = '';
    v3 : String = '';

after that i found another error in C:\Users\JeenYeong\Desktop\tdp\Turbo Delphi Portable\lib\OverbyteIcsV5\Delphi\Vc32\IcsZLibObj.pas

Quote
else   zlibProblemString := 'Error n? + inttostr(-Code);

and i change it to

Quote
else   zlibProblemString := 'Error n? + inttostr(-Code)';

but now one more fix is mixing... timelist.dcu is missing again in websession.pas i google it and i cant find the file.. please help

Quote
[Pascal Fatal Error] WebSession.pas(60): F1026 File not found: 'TimeList.dcu'
« Last Edit: November 23, 2010, 04:31:38 PM by jeenyeong » Logged
SilentPliz
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1046


....... chut ! shh!


View Profile WWW
« Reply #3 on: November 23, 2010, 04:33:00 PM »

ok i had download hfs version 2.2f build 155 so i use ICS V5 to compile it. i added all the files in delphi\vc32\ but i still cant compile it

No, you should not copy all files in delphi \vc32\
You must just add the path of ICS in Delphi options: ...\lib\OverbyteIcsICS\Delphi\Vc32

I attach other libs required

* DelphiZLib.123.2009.zip (160.63 KB - downloaded 96 times.)
* gifimaged2010b.zip (200.64 KB - downloaded 84 times.)
* RegExpE.zip (42.84 KB - downloaded 92 times.)

Follow members gave a thank to your post:

tukaee

For this post, 1 member gave a thank you!
« Last Edit: April 05, 2011, 07:54:38 AM by SilentPliz » Logged
jeenyeong
Occasional poster
*
Offline Offline

Malaysia Malaysia

Posts: 5


View Profile Email
« Reply #4 on: November 23, 2010, 04:46:37 PM »

Finally found all the libraries... and successfully compile... thanks bro...  Grin
« Last Edit: November 23, 2010, 05:01:17 PM by jeenyeong » Logged
tukaee
Occasional poster
*
Offline Offline

United Kingdom United Kingdom

Posts: 10


View Profile Email
« Reply #5 on: April 05, 2011, 07:27:39 AM »

Can reupload regexpr?
Because I got this error [DCC Error] utillib.pas(170): F1026 File not found: 'regexpr.dcu'
I am using D2007 with Windows 7 32bit.

No, you should not copy all files in delphi \vc32\
You just had to add the path of ICS in Delphi options: ...\lib\OverbyteIcsICS\Delphi\Vc32

I attach other libs required
« Last Edit: April 05, 2011, 07:47:43 AM by SilentPliz » Logged
rejetto forum
« Reply #5 on: April 05, 2011, 07:27:39 AM »

Do you like this software? Consider even $2
 Logged
SilentPliz
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1046


....... chut ! shh!


View Profile WWW
« Reply #6 on: April 05, 2011, 07:47:52 AM »

Hi tukaee! Smiley

The links above are always valid.

http://www.rejetto.com/forum/index.php/topic,9306.msg1052833.html#msg1052833
« Last Edit: April 05, 2011, 07:49:43 AM by SilentPliz » Logged
tukaee
Occasional poster
*
Offline Offline

United Kingdom United Kingdom

Posts: 10


View Profile Email
« Reply #7 on: April 05, 2011, 08:36:38 AM »

Alright, but it is not the link I mean. I'm ask for regexp.pas
« Last Edit: April 05, 2011, 06:39:57 PM by SilentPliz » Logged
SilentPliz
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1046


....... chut ! shh!


View Profile WWW
« Reply #8 on: April 05, 2011, 09:45:44 AM »

Alright, but it is not the link I mean. I'm ask for regexp.pas

 ... regExp.pas is in the .zip file. Install it... it's the good one.

regExp.dcu will be created after install.
« Last Edit: April 05, 2011, 09:48:38 AM by SilentPliz » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #9 on: April 06, 2011, 10:49:11 AM »

all required libraries (and related websites for downloading) are listed in the file "developer notes.txt"

Follow members gave a thank to your post:

tukaee

For this post, 1 member gave a thank you!
Logged
tukaee
Occasional poster
*
Offline Offline

United Kingdom United Kingdom

Posts: 10


View Profile Email
« Reply #10 on: April 14, 2011, 02:17:57 AM »

Alright thank you. I got it working fine now.

all required libraries (and related websites for downloading) are listed in the file "developer notes.txt"
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 23, 2012, 01:30:58 AM