CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: zxjun84

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    6,135

    Re: how CWinApp realize the singleton pattern?

    thanks for your reply!
    In debug mode, a assert will be throwed.Ignoring the assert,the application would continue to execute well. If creating second CWinApp-derived object in release mode, there is...
  2. Replies
    6
    Views
    6,135

    how CWinApp realize the singleton pattern?

    Generally,singleton pattern is applied by the way that the ctor is private and gives a member funtion named getInstance, but CWinApp's instance is defined as a global object,its ctor is not...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured