Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. EEEeee

    mfc static member objects

    Thanks JohnFill, with a simple... CObList CRecorder::BusyDevs; ...all is now well with my world. R's, E.
  2. EEEeee

    mfc static member objects

    Thanks BurtanI, does your example link when you reference the static members from other code ? R's, E.
  3. EEEeee

    mfc static member objects

    It's not a static var though, it's a static object. Further to this, if I add : static CString str; into the class definition and compile - no problemo, however as soon as I reference CRecorder::str I get the same link error as before. R's, EEEeee...
  4. EEEeee

    mfc static member objects

    OK, here's what I have : class CRecorder { public: CRecorder(DEVICE *pDevice); virtual ~CRecorder(); static CObList FreeDevs; static CObList BusyDevs; // Various other member declarations. }; The app is a console app with MFC support (to be turned into a service once complete...
  5. EEEeee

    mfc static member objects

    Hi All, Why is it that within a class declaration I can write : static CString str; but I can't write : static CObList lst; without getting a link error ? Any help greatly appreciated. Regards, EEEeee...
  6. EEEeee

    DCOM book/tutorial

    Hi, Just started a new job, in much the same boat as yourself, plenty C++, little COM. Try this link for non condescending bare bones COM / DCOM, I found it most helpful : http://journal.iftech.com/articles/dcom_1/ R's, E.

Part and Inventory Search

Back
Top