WIN Delphi IDE

From SecuTech Wiki
Jump to: navigation, search


UniKey supports Delphi 5, 6, 7, 2009, 2010, XE and XE2. The following instruction is based on Delphi 2009, for other versions, refer to UniKey SDK\Samples\Win32.Delphi

Applied Products: UniKey STD, UniKey Pro, UniKey Time
Programming Language: Delphi 2009
Platform: Windows 98SE, ME, 2000, XP, Server2003, Vista, 7
Please copy Unikey.dcu into project folder

Create a New Project

CodeGear Delphi new project


CodeGear Delphi empty project window

Create a Listbox for Output

CodeGear Delphi creating listbox

Add a Button for Testing Purposes

CodeGear Delphi add a button for use with tests

Double Click to Edit Code

CodeGear Delphi editing code

Declare the UniKey Functions and Error Values

CodeGear Delphi source code

Paste Code into Project

CodeGear Delphi place to paste code to


CodeGear Delphi paste button


CodeGear Delphi pasted code

Save Module

CodeGear Delphi Save All button


CodeGear Delphi save dialog window

Put UniKey.dcu into Project Folder

CodeGear Delphi UniKey.dcu in project folder

Use UniKey Module

CodeGear Delphi uses UniKeyDCU

Build and Run Project

CodeGear Delphi Build All Projects


CodeGear Delphi running project