I have a project in which i created a class called “validator”.
i also created a DLL that has a function that i want to pass the validator class as a parameter. but the DLL doesn’t know the class in my project cause it is a different DLL.
i also can’t add a reference in the dll to the project because the project has already a reference to the DLL (can’t make circular references).
how do i get the DLL to recognize the validator class?
Sounds like you need 1) a redesign or 2) a refactoring effort that creates a third class library that can be used by both of your current DLLs.