

At the same time, anything that's created also needs to be free'd when you're done with it. Objects need to be created in order to work. Very important: Seeing as you are not familiar with objects, let me quickly explain something. ONLY ONE INSTANCE (I say that just because by the looks of this, there's no need for more than one). Now in order to actually use this, you need to create an instance of this object. Copy/Paste all the code from that website and replace everything in this unit now. Save the unit as 'MahUSB.pas', and should be in the same folder as the rest of your project (or elsewhere, just a suggestion). In this example, you should use the same unit name as that source you're trying to use. Now when you save the unit, the name of the unit will automatically change to the filename (without the extension) like this: unit MahUSB It will look something like this: unit Unit1 You need to create a new Unit in your project (File > New > Unit).

If you are only familiar with drag-and-drop programming, and don't know much about objects or other units, then you need to get yourself familiarized with using objects other than auto-created forms and the components you drop in them.
