DYNAMIC LINK LIBRARIES
FORMLESS FUNCTIONS
- Open up the Dynamic Link Library project DLLTest.PRJ created in the Delphi Setup section
of this tutorial.
File, Open ...
- Create a new unit.
File, New, Unit
- 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).
- 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.
- 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.
- Things can start to get a bit more complex now. See the BngDst example.