stickleprojects Level: Moderator

 Registered: 09-09-2002 Posts: 891
|
Re: VB CallBack
Hi Deshin,
First, I would advise that you examine the structure of your application. COM applications are supposed to be as self-contained as possible, and it looks like the links between your DLLS/APPs are over-complicated.
There is no way of setting a reference to a DLL that is 5 levels deep without using EVENTs, Call-backs (which are just glorified events, anyway in vb), or passing the parameters through all 5 levels, or passing the DLL back to your main application (again, through all 5 levels).
My recommendation would be to restructure the dependencies of your projects that cause these 5 levels, or move the classes of the problematic DLL into an existing DLL.
Kieron
____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)
|