I have some problems interfacing my dll and my main program.
My architecture can be described as follows :
I have defined several modules in my main program, sharing data and procedures together (USE, private...).
I want to build a DLL containing modules. The procedures contained in the dll are obviously called by the program. This step works.
The other problem is that I want the modules defined in the dll to use modules defined in the main program and to share the data allocate in these modules.
Is this procedure legal and possible ?
How does it work ?
Any examples ?