Part of "doknir" virtual appliance is small win32 utility.
Here are instructions how to build it from source:
Part I:
- Register at Borland and download Delphi 2006 Trial.
- Start installation. You can select only "Borland Delphi for Microsoft Win32".
- After installation and before starting Delphi put activation file into your home folder.
Part II: Importing ActiveX component (this was easier with previous versions of Delphi)
- You need free "wodShellMenu" component from WeOnlyDo! Software
http://www.weonlydo.com/index.asp?showform=ShellMenu
Download it and install it! - Start Delphi and in menu "File" select New->Package
- Start "Import Compoment" wizard (in menu "Component")
- choose "Import Type Library"
- select WeOnlyDo! Shell ContextMenu COM object (if there is no such line, click Add and find wodShellMenu.dll in your system folder
- set "Palette Page" to ActiveX
- choose "Add unit to Package.bdsproj" project
- Finish! - In "Structure" window click on "Classes" and:
- rename TMenuItem to TwodMenuItem and TMenuItems to TwodMenuItems
- compile; there will be an error - rename as above - Save all (for example to "wod.bdsproj")
- Compile - this will generate wod.bpl file.
- Close all
- Package is ready - install it via "Install Packages" in menu "Component":
- click "Add..." and select wod.bpl
Part III: Building "doknir.exe"
- Open project "doknir.dpr"
- Delphi will report: Cannot find resource file:
\doknir.res. Recreated. - Compile project!
[]
1 comment:
Hi,
I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.
-
Delphi development
Post a Comment