Compile/Link Work, Code Doesn't
-
I'm building a normal set of .h and .cpp code files using VAC++ 6.0 with all the latest fix packs installed. I've run into a real progress stumper. The code compiles fine but when I try to run a test the items declared in the .h file are not found in the .cpp file. I've compared the settings to many other projects that work fine and I've never seen this type of problem before. Suggestions? class CSapRfc // .h file down to minimum { public:... private:... bool bSapFunctionsAdded; // Easy enough to declare }; bool CSapRfc::OnLogon() // .cpp file down to minimum { bSapFunctionsAdded = false; // this statement blows up! } Ken
-
I'm building a normal set of .h and .cpp code files using VAC++ 6.0 with all the latest fix packs installed. I've run into a real progress stumper. The code compiles fine but when I try to run a test the items declared in the .h file are not found in the .cpp file. I've compared the settings to many other projects that work fine and I've never seen this type of problem before. Suggestions? class CSapRfc // .h file down to minimum { public:... private:... bool bSapFunctionsAdded; // Easy enough to declare }; bool CSapRfc::OnLogon() // .cpp file down to minimum { bSapFunctionsAdded = false; // this statement blows up! } Ken
-
:sigh:Thank you for the response and question. However, I resolved it this morning by changeing from CSapRfc mSapRfc; to CSapRfc * new = CSapRfc; and associated changes. I suppose that is what I get from trying to work with a recent brain injury. Makes things much more difficult to see side issues. ken