SupportBuyTry
BCGSoft: Forums
BCGSoft: Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 BCGControlBar Forums
 BCGControlBar Bugs and Problems
 Bug in Appwizard
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jiangke

3 Posts

Posted - 03/29/2001 :  7:01:30 PM  Show Profile  Reply with Quote
I think there is a bug in BCGAppwizard. In a application created by BCGAppwizard. In CWinApp::InitInstatnce, there ia a line code LoadCustomState(). But I think it is unnecessary because it has been called in LoadState(...).

Support

2571 Posts

Posted - 04/04/2001 :  4:31:40 PM  Show Profile  Visit Support's Homepage  Reply with Quote
This is not a bug. If you don't need to implement LoadCustomState, just remove it. In many cases developers are using it to load the application-specific settings.

Best regards,

Technical Support
BCGSoft Ltd.
Go to Top of Page

jiangke

3 Posts

Posted - 04/08/2001 :  10:34:59 PM  Show Profile  Reply with Quote
Sorry, I think i don't describe the detail.

I don't mean the LoadCustomState is unnecessary. I only mean calling it in InitInstance is
unnecessary. Because it has been called by LoadState.

I remove LoadCustomState from InitInstance in my application and I overload it. It still
be called and works properly.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To:
BCGSoft: Forums © Copyright (c) 1998-2010 BCGSoft Co Ltd Go To Top Of Page
Snitz Forums 2000
Copyright © 1998-2008 BCGSoft CO Ltd. All rights reserved. Terms of Use | Privacy Statement
Microsoft, Visual C++, Visual Studio, Visual Studio.NET, Outlook, Windows and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. All other trademarks are the property of their respective owners.
Design by Web-Master.spb and Creativemind