Author Topic: want to compile, can't find libs  (Read 6809 times)

0 Members and 1 Guest are viewing this topic.

Dundee

  • Guest
Re: want to compile, can't find libs
« Reply #15 on: December 25, 2007, 10:52:42 AM »
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: 12953
    • View Profile
Re: want to compile, can't find libs
« Reply #16 on: December 25, 2007, 05:45:15 PM »
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
Re: want to compile, can't find libs
« Reply #17 on: December 25, 2007, 07:16:05 PM »
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: 12953
    • View Profile
Re: want to compile, can't find libs
« Reply #18 on: December 25, 2007, 07:55:56 PM »
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
Re: want to compile, can't find libs
« Reply #19 on: December 25, 2007, 10:34:29 PM »
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.