DelphiGeek / mustangpeakvirtualshelltools

Automatically exported from code.google.com/p/mustangpeakvirtualshelltools
0 stars 0 forks source link

VirtualExplorerTree.pas doesn't compile in D2010 #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

Good to see this excellent lib live again :).

The VirtualExplorerTree.pas doesn't compile in D2010:
    {$IFDEF COMPILER_16_UP}
    procedure DragAndDrop(AllowedEffects: Integer; DataObject: IDataObject; var DragEffect: Integer); override;
    {$ELSE}

Solution:
change COMPILER_16_UP to COMPILER_14_UP.

Original issue reported on code.google.com by edwin....@innovationgear.com on 15 Nov 2011 at 3:48

GoogleCodeExporter commented 9 years ago
Just drop the {$ELSE} stuff.  VirtualTreeView v5.0 defines DragAndDrop as

procedure DragAndDrop(AllowedEffects: Integer; DataObject: IDataObject; var 
DragEffect: Integer);virtual;

Original comment by pyscripter on 26 Nov 2011 at 3:13

GoogleCodeExporter commented 9 years ago
Fixed

Original comment by pyscripter on 17 Dec 2011 at 1:15

GoogleCodeExporter commented 9 years ago

Original comment by pyscripter on 17 Dec 2011 at 1:15