Jump to content

Sherlock

Moderators
  • Content Count

    1291
  • Joined

  • Last visited

  • Days Won

    28

Posts posted by Sherlock


  1. With so many computers lying around, why is there no room for one with a correctly setup iptables and transparent squid(guard) with updating black lists? Better yet, IPCop + Squid?

    Windows is simply not safe to be directly connected to the Internet, no matter how much you fiddle around with its security settings. Seriously!


  2. OMG...I just saw, I copied the wrong declarations to the interface. My bad! Corrected here:

    type
      TForm1 = class(TForm)
        Edit1: TEdit;
        Label1: TLabel;
        Label2: TLabel;
        Button1: TButton;
        MemoLog: TMemo;
        procedure BtnClick(Sender: TObject);
        procedure FormCreate(Sender: TObject); 
        procedure OnServiceConnectionChange(Sender: TObject; PushChanges: TPushService.TChanges);
        procedure OnReceiveNotificationEvent(Sender: TObject; const ServiceNotification: TPushServiceNotification);

    But good on you, that you spotted the problem and solved it!


  3. Ummm, no. those methods are intended to be part of the class TForm1. So add those declarations to the class declaration:

    type
      TForm1 = class(TForm)
        Edit1: TEdit;
        Label1: TLabel;
        Label2: TLabel;
        Button1: TButton;
        MemoLog: TMemo;
        procedure BtnClick(Sender: TObject);
        procedure FormCreate(Sender: TObject); 
        procedure BtnClick(Sender: TObject);
        procedure FormCreate(Sender: TObject);

    Like this...


  4. Just now, Clément said:

    LOL!!
    Don't worry I have precedence :classic_rolleyes: ... I founded DHS when I was still in high school,Turbo Pascal and Turbo C++ ruled the world ( a long time ago , in a galaxy far away... )  ...
     

    And I bet they hate you for it :classic_biggrin:


  5. 9 hours ago, Remy Lebeau said:

    I really wish Delphi would stop mimicking DotNet.  Delphi IS NOT DotNet!

    Aye, there's the rub.

    I propose exchanging DotNet with <SomeLanguage>. But folks keep saying "I want <SomeLanguage> feature x, because that is so cool, and I simply can't write my application without it". And then we get some half cooked thing which resembles <SomeLanguage> feature x by intent, but is buggy and breaks other stuff...


  6. 12 minutes ago, Rollo62 said:

    Don't mess with youself too much,
    if Microsoft shows not any attempt to make these controls practically more usable since the last 20+ years, why should we do ?

     

    I must really say that meanwhile I hate to fix all the quirks in OS, IDE, tools, libraries, etc.
    Enough to do with my own, selfmade errors :classic_blush:

     

    And in the end, what is the effort worth? Just to say: "In my product 1+1 is still 2 but it looks better than the others".

×