Installing wodFtpDLX on Delphi 2007 (General questions)
When I install wodFtpDLX in Delphi 2007 I don't get the wodFtpDLXCom component. I get TwodFtpDLX, TDirItems, TDirItem etc. but not wodFtpDLXCom.
If I install it in Delphi 7 it works properly. Is there a way to make it work in Delphi 2007 .
Re: Installing wodFtpDLX on Delphi 2007
Hi Vic,
You are importing OCX version of wodFtpDLX in Delphi 2007.
Here is guide how to import wodFtpDLX COM object (DLL) in Delphi 2007:
----------------------------------------------------------------------------------------------------
1. Create File \ New \ Package.
2. Go to Component \ Import Component.
3. Select Import a Type Library and go to Next.
4. Select WeOnlyDo! COM FtpDLX Client Component and go to Next.
5. Chose Palette Page (Standard for example) and go to Next.
6. Select Add unit to Package1.bdsproj project and go to Finish.
7. Go to Package Project Manager and right click to Package1.bpl.
8. Go to Compile.
9. In bottom of the page you will found message:
[Warning] wodFtpDLXCOMLib_TLB.pas(827): W1009 Redeclaration of 'Notification' hides a member in the base class double click on that message.
10. Red Line will appear:
property Notification: IwodFtpDLXNotify read Get_Notification write _Set_Notification;
Add // before that line, so that line look like this:
// property Notification: IwodFtpDLXNotify read Get_Notification write _Set_Notification;
Notification is not used in Delphi so this is something that you don't need.
11. Again right click on Package1.bpl and go to Compile. Now you will not get Warning Message in button of a page. If you get it go though step 9 and 10 again for line that you receive.
12. Now right click on Package1.bpl and go to Install.
13. Go to File \ Save As and save wodFtpDLXCOMLib_TLB.pas file.
14. Create File \ New \ VCL Forms Application.
Delphi 2007: Create File \ New \ Form.
15. Go to Standard Tool Palette and drag & drop TwodFtpDLXCom to your Form. wodFtpDLXCom1 object will appear in Form1.
----------------------------------------------------------------------------------------------------
Hope this helps.
Regards,
Drazen