Changeset 9 for trunk/Direct.pas


Ignore:
Timestamp:
Jan 7, 2017, 1:28:56 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Converted to Lazarus project. Application can be run with errors.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        66Win32
        77*.~dsk
         8C-evo.exe
         9Integrated.compiled
         10Integrated.lps
         11lib
  • trunk/Direct.pas

    r6 r9  
    1 {$INCLUDE switches}
     1{$INCLUDE Switches.pas}
    22unit Direct;
    33
     
    77  Messg,
    88
    9   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms;
     9  LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms;
    1010
    1111const
     
    4141
    4242uses
    43   ScreenTools, Protocol, GameServer, Start, LocalPlayer, NoTerm, Back, ShellAPI;
    44 
    45 {$R *.DFM}
     43  ScreenTools, Protocol, GameServer, Start, LocalPlayer, NoTerm, Back;
     44
     45{$R *.lfm}
    4646
    4747procedure Notify(ID: integer);
     
    110110    ntLoadError:
    111111      begin
    112         if OpenClipboard(Handle) then
     112(* TODO        if OpenClipboard(Handle) then
    113113        begin // copy file path to clipboard
    114114          NotifyMessage := NotifyMessage + #0;
     
    128128          ShowModal;
    129129          if ModalResult = mrOK then
    130             ShellExecute(Handle, 'open',
    131               'http://c-evo.org/_sg/contact/cevobug.html', '', '',
    132               SW_SHOWNORMAL);
     130            OpenURL('http://c-evo.org/_sg/contact/cevobug.html');{ *Převedeno z ShellExecute* }
    133131        end
     132    *)
    134133      end;
    135134    ntStartDone:
Note: See TracChangeset for help on using the changeset viewer.