Hi Hans,
Unless I have misunderstood you, I can't help feeling there is a fundamental
design problem here.
The DLL should be self contained and any interaction should be achievable
through its input and output parameters.
The function in the form (calculate_myscore) that the DLL would like to use
should be in the DLL. Anything on the form that wants to use the function
should access the DLL otherwise you are coupling the DLL to the form.
In which case why have a DLL at all?
regards
Bob
"Hans - DiaGraphIT -" <Ha************@discussions.microsoft.comwrote in
message news:FF**********************************@microsof t.com...
Hi!
I have a WinFrom solution with variouse forms and classes. Lets name the
namespace to <MyTest01>.
I've developed a dll <statistics>. The dll <statisticsneeds to reach
some
of the classes/functions in <MyTest01>. An example:
<MyTest01holds a class called <clsCalculations>. this class holds a
public functions called <calculate_MyScorereturning an integer.
How can the dll <Statisticsreach the function <calculate_MyScore???
From before the the dll is a part of the <MyTest01references.
Appreciate any help
Best regards
Hans Årsjö