Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
A

anu

@anu
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • only one instance of an exe?
    A anu

    create a static instance for a type ex: static CMyClass *pInstance; // you need to initialize it... CMyClass *CMyClass::pinstance = NULL; add the following functions // constructing the object CMyClass *CMyClass::GetInstance() { if(pInstance== NULL) pInstance = new CMyClass; return pInstance; } // destructing the object void CSystemManager::DeleteInstance() { if( pInstance) delete pInstance; pInstance = NULL; } apart from constructor and destructor... Now... you can happily access the singleton thro GetInstance() function. call DeleteInstance() when you are done with that. -anu

    C / C++ / MFC question

  • tutorials for com
    A anu

    Hallo.... can anybody help me to get COM tutorials on web??? i'm new to COM familiar in windows programming:(( -Hariharan

    COM com help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups