Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > BOOK: Ivor Horton's Beginning Visual C++ 2005
|
BOOK: Ivor Horton's Beginning Visual C++ 2005
This is the forum to discuss the Wrox book Ivor Horton's Beginning Visual C++ 2005 by Ivor Horton; ISBN: 9780764571978
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Ivor Horton's Beginning Visual C++ 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 28th, 2006, 04:55 AM
Registered User
 
Join Date: Nov 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Question about error after adding serialization...

I have completed serialization, created a document, and saved it.

When loading the document I double-click the filename in the file dialog box. Sometimes I get an error saying "Bad Element Code," followed by "Debug Error! This application has requested the runtime to terminate it in an unusual way." If I click OK or press enter, the error never occurs.

I've also noticed that when double-clicking the filename an element is added to the drawing using the top left corner as the start point and the current mouse position as the end point. I'm thinking maybe a race-condition is causing the left mouse button down event handler to add an element before the serialization retrieval process completes but that is only a guess. Any ideas?

I am using Visual Studio 2005 so there may be an issue with that alone- I would rather hear if others have had this problem with VC++6.0 than spend the time recreating the entire program.

Thanks,

Dave


 
Old December 28th, 2006, 04:58 AM
Registered User
 
Join Date: Nov 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please move this topic to the Visual C++ 6.0 forum. I am using that text, not the Visual Studio 2005 text.







Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about adding references in vs2008 chobo2 C# 2008 aka C# 3.0 4 December 4th, 2008 07:13 PM
vba question on adding certain columns csilla Excel VBA 0 July 30th, 2008 05:25 AM
question about Serialization hertendreef ASP.NET 2.0 Basics 2 February 27th, 2007 04:03 PM
Adding code question zoidberg BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 1 October 5th, 2006 02:25 PM
Adding Fields to a Text Box Question ausmoran BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 1 December 1st, 2005 06:15 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.