rejetto forum
Software => HFS ~ HTTP File Server => Programmers corner => Topic started by: rejetto on June 25, 2010, 06:05:29 PM
-
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.
-
you have finally obtain a license?
-
@ 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 (?)
-
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?
-
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
-
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
-
@ 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.
-
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.
-
I count on you to make us share this delphi new and where found installs when you will have resolved these some problems
;)
-
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.
-
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.
-
try a newer version
-
yes. I try with beta version & it still need many library. maybe Embarcadero® Delphi® 2010 is the root cause. Do u think that.
-
i meant a newer version of the lib
latest beta is using ICS v7
-
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;
-
you probably have to disable the "stop on exception". It's somewhere inside Delphi.
Because that's probably a handled exception.
-
Maybe I back to delphi 2006 version . Delphi 2010 have too many problem.
Do you fix your solution with delphi2010 and window 7 64bit.
Could you tell me how to make it work normal with this environment !
-
back to delphi 2006 & it worked perfectly.
thanks rejetto
-
i didn't find my way through new delphi and 64bit yet
-
ICS 7: D7 - DXE2 (Support XE2 Win32 only)
http://svn.overbyte.be:8443/svn/ics/trunk/Delphi/Vc32/ (http://svn.overbyte.be:8443/svn/ics/trunk/Delphi/Vc32/)
Username: ics & Password: ics
DXE2 ISO update 2
http://altd.embarcadero.com/download/radstudio/xe2/delphicbuilder_xe2_4316_win_dl.iso (http://altd.embarcadero.com/download/radstudio/xe2/delphicbuilder_xe2_4316_win_dl.iso)
i didn't find my way through new delphi and 64bit yet
-
Many thanks for sharing ;)