rejetto forum

want to compile, can't find libs

Guest · 20 · 17278

0 Members and 1 Guest are viewing this topic.

Dundee

  • Guest
Okay, I've just found the links in "dev notes.txt" and I've copied all needed files to the source code folder
But now I get an error:

Code: [Select]
destructor ThttpConn.destroy;
begin
P_destroying:=TRUE;
if assigned(sock) then
  begin
  sock.Shutdown(SD_BOTH);  <----------------- Error - undefinded
  sock.WaitForClose();
  end;
srv.offlines.remove(self);
freeAndNil(stream);
freeAndNIL(sock);
end; // destroy


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile
it's part of Delphi.
i guess you have an old version of Delphi.
it's defined in unit Winsock, and it is a costant

const
  SD_BOTH        = 2;


Dundee

  • Guest
Thanks for your reply.

I use "Turbo Delphi Explorer" and I've downloaded it from http://cc.codegear.com/free/turbo
It's Version 10.0.2288.42451

Another problems are:
1.
When I run the project I get these messages (I translated it, because I use the german version):
Exception in project hfs.exe with class EConvertError with the message "invalid argument to encoding the date"

2.
In the menĂ¼ under "Other Options" I only see "Auto-copy URL on addition" and "Always on top"

Don't know why...
Do I use a wrong Delphi ?

I'm programmer but don't know really Delphi, I just want to make some small modifications.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile
i use Turbo Delphi as well, you just didn't install some small updates.
indeed my version is 10.0.2558.35231

1. exceptions are normal. The point is that they must be catched/handled. if you see an uncatched exception, let me know the line.

2. switch to expert mode


Dundee

  • Guest
Quote
1. exceptions are normal. The point is that they must be catched/handled. if you see an uncatched exception, let me know the line.

After compiling I get no errors  :)

Quote
2. switch to expert mode
Argh, I am so stupid  :-X

Thanks a lot for your support and thanks a lot for this great tool.