Abe Sahrani
wrote on 09.11.10 at 13:02
Link to this post
now i got this


[DCC Error] UpdateClient.pas(234): E2003 Undeclared identifier: 'VER_MAJORVERSION'
[DCC Error] UpdateClient.pas(235): E2003 Undeclared identifier: 'VER_MINORVERSION'
[DCC Error] UpdateClient.pas(242): E2003 Undeclared identifier: 'VerifyVersionInfo'
[DCC Warning] UpdateClient.pas(242): W1024 Combining signed and unsigned types - widened both operands
[DCC Fatal Error] Update.pas(26): F2063 Could not compile used unit '..\..\common\UpdateClient.pas'
 
alex
2538 Posts
wrote on 09.11.10 at 13:44
Link to this post
I think this is a newer Windows API and your Delphi version does not have the required definitions. I would just comment out the whole RunUpdate() procedure, as it is not needed to run the application.
LG/Best regards, Alex

"Journalism is printing what someone else does not want printed. Everything else is public relations."
- George Orwell

D1734FA178BF7D5AE50CB1AD54442494
 
Abe Sahrani
wrote on 09.11.10 at 14:05
Link to this post
hmm….where runupdate() procedure can be locate?

 
alex
2538 Posts
wrote on 09.11.10 at 14:16
Link to this post
It's UpdateClient.pas. I think the error has it's origin there, because that seems to be the only file that uses the constants (VER_MAJORVERSION, VER_MINORVERSION).
LG/Best regards, Alex

"Journalism is printing what someone else does not want printed. Everything else is public relations."
- George Orwell

D1734FA178BF7D5AE50CB1AD54442494
 
Abe Sahrani
wrote on 09.11.10 at 14:36
Link to this post
Still not working ….
 
Abe Sahrani
wrote on 09.11.10 at 14:40
Link to this post
[DCC Hint] ICEClient.pas(361): H2164 Variable 'i' is declared but never used in 'TICEClient.Disconnect'
[DCC Error] Update.pas(106): E2003 Undeclared identifier: 'Updater'
[DCC Error] Update.pas(106): E2003 Undeclared identifier: 'TUpdateClient'
[DCC Error] Update.pas(106): E2066 Missing operator or semicolon
[DCC Error] Update.pas(107): E2066 Missing operator or semicolon
[DCC Error] Update.pas(108): E2066 Missing operator or semicolon
[DCC Error] Update.pas(108): E2010 Incompatible types: 'TLanguageManager' and 'string'
[DCC Error] Update.pas(109): E2066 Missing operator or semicolon
[DCC Error] Update.pas(109): E2035 Not enough actual parameters
[DCC Error] Update.pas(110): E2066 Missing operator or semicolon
[DCC Error] Update.pas(110): E2035 Not enough actual parameters
[DCC Error] Update.pas(111): E2066 Missing operator or semicolon
[DCC Error] Update.pas(111): E2035 Not enough actual parameters
[DCC Error] Update.pas(112): E2066 Missing operator or semicolon
[DCC Error] Update.pas(112): E2035 Not enough actual parameters
[DCC Error] Update.pas(113): E2066 Missing operator or semicolon
[DCC Error] Update.pas(113): E2035 Not enough actual parameters
[DCC Error] Update.pas(116): E2066 Missing operator or semicolon
[DCC Error] Update.pas(120): E2066 Missing operator or semicolon
[DCC Error] Update.pas(125): E2003 Undeclared identifier: 'Updater'
[DCC Error] Update.pas(153): E2003 Undeclared identifier: 'Updater'
[DCC Error] Update.pas(153): E2029 '.' expected but ')' found
[DCC Error] Update.pas(154): E2029 ';' expected but 'TRY' found
[DCC Error] Update.pas(158): E2029 '.' expected but ';' found
[DCC Warning] Update.pas(159): W1011 Text after final 'END.' - ignored by compiler
[DCC Error] Update.pas(49): E2065 Unsatisfied forward or external declaration: 'TfrmUpdate.UpdaterUpdateFound'
[DCC Error] Update.pas(50): E2065 Unsatisfied forward or external declaration: 'TfrmUpdate.UpdaterNoUpdateFound'
[DCC Error] Update.pas(51): E2065 Unsatisfied forward or external declaration: 'TfrmUpdate.UpdaterDownloadProgress'
[DCC Error] Update.pas(52): E2065 Unsatisfied forward or external declaration: 'TfrmUpdate.UpdaterUpdateDownloaded'
[DCC Error] Update.pas(53): E2065 Unsatisfied forward or external declaration: 'TfrmUpdate.UpdaterError'
[DCC Fatal Error] Main.pas(29): F2063 Could not compile used unit '..\..\common\forms\Update.pas'
 
alex
2538 Posts
wrote on 09.11.10 at 15:51
Link to this post
Did you get the files from the source zip or from subversion?
I will try using D2009 later, the sources should compile without any error.. sorry.
I will post here when I got more info.
LG/Best regards, Alex

"Journalism is printing what someone else does not want printed. Everything else is public relations."
- George Orwell

D1734FA178BF7D5AE50CB1AD54442494
 
Abe Sahrani
wrote on 10.11.10 at 03:41
Link to this post
sorry fot the late reply….electricity problem…

i use from the svn ….
 
Abe Sahrani
wrote on 10.11.10 at 03:44
Link to this post
hmm…sorry

what delphi exactly do you use?? 2010??
 
alex
2538 Posts
wrote on 10.11.10 at 09:37
Link to this post
Yes, It's D2010…
I did not test it with 2009 yet, I think I will look at it this evening or tomorrow.
LG/Best regards, Alex

"Journalism is printing what someone else does not want printed. Everything else is public relations."
- George Orwell

D1734FA178BF7D5AE50CB1AD54442494
 
Abe Sahrani
wrote on 10.11.10 at 09:46
Link to this post
i'll test it on D2010, my friend fortunately has it….tonite he'll bring it … i'll let you know if the streamwriter works




big thanks

regards

 
Abe Sahrani
wrote on 10.11.10 at 18:01
Link to this post
hello again…

i already installed D2010…but now i get error message

[DCC Fatal Error] Main.pas(9): F1026 File not found: 'VirtualTrees.dcu'

i already tried to directly access VirtualTress.dcu file located on folder dcu

but the following error comes with :

couldn't compile file VirtualTress.pas
 
Abe Sahrani
wrote on 10.11.10 at 18:20
Link to this post
already solve the previous problem

now i get this

Checking project dependencies…
Compiling streamwriter.dproj (Debug configuration)
[DCC Error] E1026 File not found: '..\..\common\res\lang_icons.res'
[DCC Error] E1026 File not found: '..\..\common\res\icons.res'
[DCC Error] E1026 File not found: '..\..\common\res\lang_icons.res'
[DCC Error] E1026 File not found: '..\..\common\res\icons.res'
Failed
Elapsed time: 00:00:02.6

 
alex
2538 Posts
wrote on 10.11.10 at 18:51 last edited by alex on 10.11.10 at 18:51
Link to this post
You have to run "buildres.bat" two times - one is located at "common\res", the other is located at "streamwriter\streamwriter\res".
I'm pretty sure these are the last problems you encounter:-P
LG/Best regards, Alex

"Journalism is printing what someone else does not want printed. Everything else is public relations."
- George Orwell

D1734FA178BF7D5AE50CB1AD54442494
 
Abe Sahrani
wrote on 10.11.10 at 19:02
Link to this post
yeah…it works man……u're rock

thanks anyway….