WIN Delphi IDE: Difference between revisions
From SecuTech Wiki
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
[[category:UniKey Library Integration Guides]] | [[category:UniKey Library Integration Guides]] | ||
__TOC__ | |||
UniKey | |||
< | UniKey supports Delphi 5, 6, 7, 2009, 2010, XE and XE2. The following instruction is based on Delphi 2009, for other versions, refer to <code>UniKey SDK\Samples\Win32.Delphi</code> | ||
{| | |||
{|class="wikitable" | |||
|- | |- | ||
|Applied Products: | |Applied Products: | ||
| | |UniKey STD, UniKey Pro, UniKey Time | ||
|- | |- | ||
|Programming Language: | |Programming Language: | ||
| Line 16: | Line 18: | ||
|colspan="2"|Please copy Unikey.dcu into project folder | |colspan="2"|Please copy Unikey.dcu into project folder | ||
|} | |} | ||
== | ==Create a New Project== | ||
[[File:WIN Delphi2009 IDE Pic 1.jpg|750px|center]] | [[File:WIN Delphi2009 IDE Pic 1.jpg|750px|center|alt=CodeGear Delphi new project]] | ||
[[File:WIN Delphi2009 IDE Pic 2.jpg|750px|center]] | |||
[[File:WIN Delphi2009 IDE Pic 2.jpg|750px|center|alt=CodeGear Delphi empty project window]] | |||
== | |||
[[File:WIN Delphi2009 IDE Pic 3.jpg|750px|center]] | ==Create a Listbox for Output== | ||
[[File:WIN Delphi2009 IDE Pic 3.jpg|750px|center|alt=CodeGear Delphi creating listbox]] | |||
== | |||
[[File:WIN Delphi2009 IDE Pic 4.jpg|750px|center]] | ==Add a Button for Testing Purposes== | ||
[[File:WIN Delphi2009 IDE Pic 4.jpg|750px|center|alt=CodeGear Delphi add a button for use with tests]] | |||
== | |||
[[File:WIN Delphi2009 IDE Pic 5.jpg|750px|center]] | ==Double Click to Edit Code== | ||
[[File:WIN Delphi2009 IDE Pic 5.jpg|750px|center|alt=CodeGear Delphi editing code]] | |||
== | |||
[[File:WIN Delphi2009 IDE Pic 6.jpg|750px|center]] | ==Declare the UniKey Functions and Error Values== | ||
[[File:WIN Delphi2009 IDE Pic 6.jpg|750px|center|alt=CodeGear Delphi source code]] | |||
== | |||
[[File:WIN Delphi2009 IDE Pic 7.jpg|750px|center]] | ==Paste Code into Project== | ||
[[File:WIN Delphi2009 IDE Pic 7.jpg|750px|center|alt=CodeGear Delphi place to paste code to]] | |||
[[File:WIN Delphi2009 IDE Pic 8.jpg|750px|center]] | |||
[[File:WIN Delphi2009 IDE Pic 9.jpg|750px|center]] | [[File:WIN Delphi2009 IDE Pic 8.jpg|750px|center|alt=CodeGear Delphi paste button]] | ||
== | |||
[[File:WIN Delphi2009 IDE Pic 10.jpg|750px|center]] | [[File:WIN Delphi2009 IDE Pic 9.jpg|750px|center|alt=CodeGear Delphi pasted code]] | ||
[[File:WIN Delphi2009 IDE Pic 11.jpg|750px|center]] | ==Save Module== | ||
[[File:WIN Delphi2009 IDE Pic 10.jpg|750px|center|alt=CodeGear Delphi Save All button]] | |||
== | |||
[[File:WIN Delphi2009 IDE Pic 12.jpg|750px|center]] | |||
[[File:WIN Delphi2009 IDE Pic 11.jpg|750px|center|alt=CodeGear Delphi save dialog window]] | |||
== | |||
[[File:WIN Delphi2009 IDE Pic 13.jpg|750px|center]] | ==Put UniKey.dcu into Project Folder== | ||
[[File:WIN Delphi2009 IDE Pic 12.jpg|750px|center|alt=CodeGear Delphi UniKey.dcu in project folder]] | |||
== | |||
[[File:WIN Delphi2009 IDE Pic 14.jpg|750px|center]] | ==Use UniKey Module== | ||
[[File:WIN Delphi2009 IDE Pic 13.jpg|750px|center|alt=CodeGear Delphi uses UniKeyDCU]] | |||
[[File:WIN Delphi2009 IDE Pic 15.jpg|750px|center]] | |||
==Build and Run Project== | |||
[[File:WIN Delphi2009 IDE Pic 14.jpg|750px|center|alt=CodeGear Delphi Build All Projects]] | |||
[[File:WIN Delphi2009 IDE Pic 15.jpg|750px|center|alt=CodeGear Delphi running project]] | |||
Latest revision as of 15:12, 9 August 2016
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


Create a Listbox for Output

Add a Button for Testing Purposes

Double Click to Edit Code

Declare the UniKey Functions and Error Values

Paste Code into Project



Save Module


Put UniKey.dcu into Project Folder

Use UniKey Module

Build and Run Project

