rejetto forum

delphi 2010

rejetto · 21 · 14389

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
i tried delphi 2010.
it's like unicode is mandatory, and i found no way to compile HFS the old way until it is ported to unicode.
and this porting is likely to require a considerable amount of work.


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile

Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
@ rejetto

Don't takes badly what I write:

I am sorry that this requires hard work for you ... but on the other hand, I tell myself that we still (Mars & me) a little respite before we rest only our eyes to cry.  ;)

@ Mars

Version trial peut-être pour les tests (?)
« Last Edit: June 26, 2010, 01:49:41 PM by SilentPliz »


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
il faudrait continuer les versions 2.2 et 2.3 avec turbo delphi 2006,

et se préparer directement hfs 3.0 +  php sous delphi 2010

comme ça la transition serait radicale et plus facile que de transformer la 2.3 (utf8)  vers une 2.4 (unicode) qui aurait beaucoup de bugs

qu'en pense notre ami le big boss rejetto?

« Last Edit: June 26, 2010, 07:33:36 PM by Mars »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
yes, HFS 2.3 will stay on delphi 2006, because it's out of question to change of lot while trying to go stable.

I tell myself that we still (Mars & me) a little respite before we rest only our eyes to cry.  ;)

i didn't understand what it means! maybe a bad translation


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
Quote
Quote from: SilentPliz on 26 June 2010, 15:37:36
I tell myself that we still (Mars & me) a little respite before we rest only our eyes to cry. 


i didn't understand what it means! maybe a bad translation

c'est ce qui fait le charme de silentpliz, quand il pose une question , on ne comprend jamais ce qu'il veut exactement :D


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
@ mars

Je connais un autre gars qui a du charme, surtout quand il est question de langue anglaise.  ;D

@ rejetto

This is probably a French expression lost in translation and my bad english:

"il ne nous restera (à Mars et à moi) que nos yeux pour pleurer"

I wanted to somehow say that more your work will be long, more we might be able to publish versions compiled with Delphi 2006.

When you will finished your work, and that HFS will be compiled with Delphi 2010 ... we will remain only, Mars and me, to weep.
« Last Edit: June 27, 2010, 03:10:26 PM by SilentPliz »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
since i'm having problems with turbo delphi on my new system (windows7 64bit), i'm now trying again to port the project to Delphi XE.
Backward compatibility has been highly improved over Delphi 2010. I was able to run hfs with just a couple of changes.
Now i'm trying to fix some lasting problems, but hope is high.


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
I count on you to make us share this delphi new and where found installs when you will have resolved these some problems
 ;)
« Last Edit: July 05, 2011, 02:02:14 PM by Mars »


Offline tukaee

  • Occasional poster
  • *
    • Posts: 11
    • View Profile
Hi,

I really credit your effort and I want to say thank you very much, someday I am willing to donate for you.

About Porting to another version of Delphi. I will encourage you to wait for 2 weeks time when Delphi XE2 will be release and then you can ported to unicode and as thesame time you ported to 64bit version.

Have look it here

http://www.youtube.com/watch?v=JtFIw2YpuQc&feature=player_embedded

since i'm having problems with turbo delphi on my new system (windows7 64bit), i'm now trying again to port the project to Delphi XE.
Backward compatibility has been highly improved over Delphi 2010. I was able to run hfs with just a couple of changes.
Now i'm trying to fix some lasting problems, but hope is high.
« Last Edit: August 07, 2011, 06:53:58 PM by tukaee »


Offline vuongnguyen

  • Occasional poster
  • *
    • Posts: 12
    • View Profile
How to compile HFS in delphi 2010. I've import all lib to delphi option but it still have error.


[DCC Warning] wsocket.pas(1669): W1050 WideChar reduced to byte char in set expressions.  Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] wsocket.pas(1672): W1050 WideChar reduced to byte char in set expressions.  Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Error] wsocket.pas(2174): E2064 Left side cannot be assigned to
[DCC Error] wsocket.pas(2175): E2064 Left side cannot be assigned to
[DCC Error] wsocket.pas(2195): E2064 Left side cannot be assigned to
[DCC Error] wsocket.pas(2196): E2064 Left side cannot be assigned to
[DCC Error] wsocket.pas(2231): E2064 Left side cannot be assigned to
[DCC Error] wsocket.pas(2271): E2064 Left side cannot be assigned to
[DCC Error] wsocket.pas(2327): E2003 Undeclared identifier: 'GWSockCritSect'
[DCC Error] wsocket.pas(2327): E2033 Types of actual and formal var parameters must be identical
[DCC Error] wsocket.pas(2330): E2064 Left side cannot be assigned to
[DCC Error] wsocket.pas(2343): E2251 Ambiguous overloaded call to 'GetProcAddress'
  Windows.pas(31700): Related method: function GetProcAddress(Cardinal; PAnsiChar): Pointer;
  Windows.pas(31701): Related method: function GetProcAddress(Cardinal; PWideChar): Pointer;
[DCC Error] wsocket.pas(2350): E2033 Types of actual and formal var parameters must be identical
[DCC Error] wsocket.pas(2416): E2003 Undeclared identifier: 'GWSockCritSect'
[DCC Error] wsocket.pas(2416): E2033 Types of actual and formal var parameters must be identical
[DCC Error] wsocket.pas(2417): E2064 Left side cannot be assigned to
[DCC Error] wsocket.pas(2418): E2033 Types of actual and formal var parameters must be identical
[DCC Error] wsocket.pas(2425): E2003 Undeclared identifier: 'GWSockCritSect'
[DCC Error] wsocket.pas(2425): E2033 Types of actual and formal var parameters must be identical
[DCC Error] wsocket.pas(2426): E2064 Left side cannot be assigned to
[DCC Error] wsocket.pas(2427): E2033 Types of actual and formal var parameters must be identical
[DCC Error] wsocket.pas(3391): E2003 Undeclared identifier: 'XSocketAllocateHWnd'
[DCC Error] wsocket.pas(3415): E2003 Undeclared identifier: 'XSocketDeallocateHWnd'
[DCC Error] wsocket.pas(3451): E2003 Undeclared identifier: 'AllocateHWnd'
[DCC Error] wsocket.pas(3451): E2035 Not enough actual parameters
[DCC Error] wsocket.pas(3458): E2003 Undeclared identifier: 'DeallocateHWnd'
[DCC Error] wsocket.pas(3481): E2064 Left side cannot be assigned to
[DCC Error] wsocket.pas(3506): E2064 Left side cannot be assigned to
[DCC Error] wsocket.pas(3557): E2064 Left side cannot be assigned to
[DCC Error] wsocket.pas(3576): E2064 Left side cannot be assigned to
[DCC Error] wsocket.pas(6693): E2251 Ambiguous overloaded call to 'StrLComp'
  SysUtils.pas(8335): Related method: function StrLComp(const PAnsiChar; const PAnsiChar; Cardinal): Integer;
  SysUtils.pas(8360): Related method: function StrLComp(const PWideChar; const PWideChar; Cardinal): Integer;
[DCC Error] wsocket.pas(6909): E2003 Undeclared identifier: 'GClassCritSect'
[DCC Error] wsocket.pas(6909): E2033 Types of actual and formal var parameters must be identical
[DCC Error] wsocket.pas(6910): E2003 Undeclared identifier: 'GWSockCritSect'
[DCC Error] wsocket.pas(6910): E2033 Types of actual and formal var parameters must be identical
[DCC Error] wsocket.pas(6918): E2033 Types of actual and formal var parameters must be identical
[DCC Error] wsocket.pas(6920): E2033 Types of actual and formal var parameters must be identical
[DCC Fatal Error] main.pas(37): F2063 Could not compile used unit 'wsocket.pas'


I think it maybe because wsocket version.
In dev note file said that we must use wsocket v5.25, but I can't find this file in internet. I use ICS V5 with wsocket v5.31 . Is this the solution ?

Please help me.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile

Offline vuongnguyen

  • Occasional poster
  • *
    • Posts: 12
    • View Profile
yes. I try with beta version & it still need many library. maybe Embarcadero® Delphi® 2010 is the root cause. Do u think that.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
i meant a newer version of the lib
latest beta is using ICS v7


Offline vuongnguyen

  • Occasional poster
  • *
    • Posts: 12
    • View Profile
compile ok but some exception still occur.
Main form and other form display normally but I can use  browser to connect to server.
It show exception
First chance exception at $7568D36F. Exception class EStringListError with message 'List index out of bounds (-1)'. Process hfs.exe (3196)
First chance exception at $7568D36F. Exception class EStringListError with message 'List index out of bounds (-1)'. Process hfs.exe (2948)
First chance exception at $7568D36F. Exception class EAccessViolation with message 'Access violation at address 0043BD40 in module 'hfs.exe'. Read of address 00000000'. Process hfs.exe (2948)
First chance exception at $7568D36F. Exception class EAccessViolation with message 'Access violation at address 0043BD40 in module 'hfs.exe'. Read of address 00000000'. Process hfs.exe (2948)

in code

function TStringList.GetObject(Index: Integer): TObject;
begin
  if Cardinal(Index) >= Cardinal(FCount) then
    Error(@SListIndexError, Index);
  Result := FList^[Index].FObject;
end;



 
« Last Edit: August 30, 2011, 10:08:27 AM by vuongnguyen »