Original Post
I have a dll that has a static int (a reference counter) that is being used by another dll. The int is a member of an exported class (via MFC AFX_EXT_CLASS macro). I have the int properly initialized and the dll builds and links fine.
The problem occurs when another dll tries to use it. It compiles fine but it will not link claiming to not be able to find the static int. I have tried applying specific exports to the variable init but to no avail. I checked the exports in the first dll and the variable is listed. Any clues?
Thanks ahead of time!
Sieggy