Thanx for stopping in Monotonic!
I do understand the concept - I mean - I'm the one asking for help and you responded and I AM grateful. Unfortunately - like you well know - the more you know the harder it is to ask for help - not because you don't want to - but because trying to ask the question to the kinds of stuff that stumps an advanced programmer is not easy - and the expected reply - "Show the source" means uploading a couple megs of source code! LOL
Yeah - I solved the problem - but I don't know why/how exactly - par for the course with Microsoft I guess.
First out of frustration - I INCLUDED EVERY SINGLE file for the whole project (even though the necessary includes were already there (as compiler was complaining of lack of a semi colon - which was there - it was choking on a CLASS I was trying to inherit - and that class's file was included where it needed to be) any way - I included EVERYTHING (included everything in project) into this file and the matching CPP file - then I Totally Rebuilt the whole solution and it work.
It truly doesn't make sense - unless 1: the massive includes I did caused the compiler to compile stuff in a different order and the weirdness didn't apply - or rebuilding the solution from scratch (which I did before no success) did it or something. Dunno - I HATE when I don't know why.
I've screwed up projects because I had a one where a two should of been and converted thousands of database records incorrectly due to such simplton err but at LEAST I know what I did wrong - and fixed - (which sucked in this particular case) - but its WORSE not knowing WHY it works now.
One time in DBPRo - something (shoot ..Iron Infantry first Draft) thousands of lines of code all of a sudden wouldn't run right! directx was screwy - locking up WHAT THE!!! posted whined cryed - then I shut the system down - went to bed mad. When I woke up - I booted up - it worked. (Reboot needed cuz was baning on DirectX to much? Dunno - but I'll buy that as - computer hosed... this C++ include thing is BAFFLING.
FYI - I have over 64 files (*.h and *.cpp) in my project - so the basic rules to include files, headers, and source CPP I got - thias thing was just not playing by the rules...I don't think - ...ugh....I hate not knowing.
Thanx for popping in though - seriously. you always have really cool posts!