|
Creating an Extension |
|
Step 2
Launch Zinc™ v2.5 and select "Extension Creator" from the Tools menu as shown below:

This will launch the Zinc™v2.5 Extension Creator:

The first step is to select a DLL file. Click on the browse button at the bottom of the screen to select a DLL file. The kernel32.dll file is located in the Windows System32 Folder as shown below:

Select the kernel32.dll and click on Open. The Extension Creator will then ask you to select an Extension Class name. The Extension Creator will automatically select the prefix "kERNEL32" for you. For the purpose of this Tutorial, we shall leave the prefix to this value:

Click OK to accept the prefix. A second prompt will then be displayed as shown below:

If you are connecting to a custom DLL, it is best to select "No" at this prompt so that the DLL is packed into your final extension file. As we are using a standard Windows DLL, we can select "Yes" at this prompt so that the DLL is not included in the extension. Instead, the extension will search in the appropriate system32 folder once it is installed.
Once you click on "Yes" the DLL Functions will be populated in the Extension Creator Command List. This can take anything from 10 - 45 seconds based upon the speed of your processor.