I want to preface this by saying "I love my job and I want to stay here"
But I've got a serious problem,
- Circularly linked DLL's (DLL's linked back to the EXE)
- Special builds with conditional defines to get rid of the links when the EXE doesn't exist for using the DLL's in special utilities.
- Inability to reference our own DLL's as external functions because they throw errors when linked (have to use Windows LoadLibrary functions instead)
So... My question is, referencing the executable seems like a bad idea, but a necessary evil to get session information (this is a client/server application with multiple users). Is the best way around referencing the executable in it's called DLL's is to initialize the DLL's called by the executable with all the information it could ever possibly need to do its job?