DYNAMIC LINK LIBRARIES
FORMLESS FUNCTIONS

  1. Open up the Dynamic Link Library project DLLTest.PRJ created in the Delphi Setup section of this tutorial.

      File, Open ...

  2. Create a new unit.

      File, New, Unit

  1. Save the unit with an appropriate name. What I do, but this is just a personal preference thing to keep me organised, is to sus out the two or three letter shortcut that I want the function to have in Visual CADD (eg AN) and then name the unit __Unit (eg ANUnit).
  1. It is worthwhile to realise that we can create a simple DLL function to be called from Visual CADD that does not really talk to Visual CADD. See the ANoise example.
  1. However, this is not really of much use in Visual CADD. The GetPoint example goes a little further and gets the messages between Visual CADD and the external function working.
  1. Things can start to get a bit more complex now. See the BngDst example.