I have a window form control project that I would to be referenced by a dll. The project works fine as a stand alone, but as soon as I try to build it from the .h file (separate project), I get all these error from the computer generated code. A example of a few errors are
Error 1 error C2039: 'ComponentModel' : is not a member of 'System'
Error 2 error C2871: 'ComponentModel' : a namespace with this name does not exist
Error 3 error C3083: 'Windows': the symbol to the left of a '::' must be a type
Error 4 error C2039: 'Forms' : is not a member of 'System'
Now... is it that I'm just doing this all wrong? If so, what is the proper way for me to define a window form control dll? I've searched far and wide and I just can't get a clue!!!
Thanks so much!!