To create a DLL in Delphi to run in Codewright you will need to have 
DELPHIMM.DLL in the same directory as your CW DLL or in your 
PATH, \windows\system, or windows\system32 directory. 

This zip file contains:

DPRSAMP.DPR	 Delphi Project File
CWAPI.PAS	 Codewright API declarations
SAMPLE.PAS	 Contains Sample function _init() (required by Codewright ) and _MyFunc()
CWCONST.PAS	 Codewright API declarations
DPRSAMP.DLL	 32 bit DLL that can be LibPreLoad'd into CWRIGHT.INI
README.TXT	 this file

Add DPRSAMP.DLL to Codewright in Customize|Libraries/Add button.
