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 Wanet Telecoms Ltd 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: *

  • Users: gero
  • Order by date
  1. gero

    How to instance new objects by classname?

    Not realy. The problem is that "MyClass" ist a string and MyClass isn't ;) But I found a solution. Every CRuntimeClass struct contains the members: LPCSTR m_lpszClassName & CRuntimeClass* m_pNextClass If I get one CRuntimeClass*, I can handle through the list. Thanks and sorry...
  2. gero

    How to instance new objects by classname?

    I have to create an instance of my own MFC deriverd class. The only thing I know is the classname as a string, this is read out from a XML document. Are there any methodes like in Java loadClassByName(string) to create a new object? Thanks in advance.

Part and Inventory Search

Back
Top