rejetto forum
May 25, 2012, 05:32:13 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] 2
  Print  
Author Topic: delphi 2010  (Read 2279 times)
0 Members and 1 Guest are viewing this topic.
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« on: June 25, 2010, 01: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.
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #1 on: June 25, 2010, 03:37:26 PM »

you have finally obtain a license?
Logged
SilentPliz
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1046


....... chut ! shh!


View Profile WWW
« Reply #2 on: June 26, 2010, 08:37:36 AM »

@ 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.  Wink

@ Mars

Version trial peut-être pour les tests (?)
« Last Edit: June 26, 2010, 08:49:41 AM by SilentPliz » Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #3 on: June 26, 2010, 12:24:35 PM »

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, 02:33:36 PM by Mars » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #4 on: June 27, 2010, 08:32:41 AM »

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

i didn't understand what it means! maybe a bad translation
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #5 on: June 27, 2010, 08:40:42 AM »

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 Cheesy
Logged
rejetto forum
« Reply #5 on: June 27, 2010, 08:40:42 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: June 27, 2010, 08:58:45 AM »

@ mars

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

@ 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, 10:10:26 AM by SilentPliz » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #7 on: July 05, 2011, 05:08:40 AM »

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.
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #8 on: July 05, 2011, 08:24:45 AM »

I count on you to make us share this delphi new and where found installs when you will have resolved these some problems
 Wink
« Last Edit: July 05, 2011, 09:02:14 AM by Mars » Logged
tukaee
Occasional poster
*
Offline Offline

United Kingdom United Kingdom

Posts: 10


View Profile Email
« Reply #9 on: August 07, 2011, 01:52:01 PM »

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, 01:53:58 PM by tukaee » Logged
vuongnguyen
Occasional poster
*
Offline Offline

Posts: 12


View Profile Email
« Reply #10 on: August 26, 2011, 03:03:06 AM »

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.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #11 on: August 26, 2011, 10:18:58 AM »

try a newer version
Logged
vuongnguyen
Occasional poster
*
Offline Offline

Posts: 12


View Profile Email
« Reply #12 on: August 26, 2011, 10:25:02 AM »

yes. I try with beta version & it still need many library. maybe Embarcadero® Delphi® 2010 is the root cause. Do u think that.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #13 on: August 29, 2011, 03:48:09 PM »

i meant a newer version of the lib
latest beta is using ICS v7
Logged
vuongnguyen
Occasional poster
*
Offline Offline

Posts: 12


View Profile Email
« Reply #14 on: August 30, 2011, 05:04:22 AM »

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, 05:08:27 AM by vuongnguyen » Logged
Pages: [1] 2
  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 Today at 05:03:50 PM
anything