C Board  

Go Back   C Board > Community Boards > Tech Board

Reply
 
LinkBack Thread Tools Display Modes
Old 06-20-2006, 05:48 PM   #1
The Right Honourable
 
psychopath's Avatar
 
Join Date: Mar 2004
Location: Where circles begin.
Posts: 1,068
VC++ 2005 Express: Weird Behaviour

This only started happening recently, and I have no idea what's going on. I'll make changes to a form in the designer, compile and run, no problem. Then i'll go back and make more changes in the designer, compile, and it spits redefinition errors at me. For some reason, the designer is generating duplicated code. So far this has only happened to me while editing menu items and toolbar items.

Any ideas?
Thanks.

EDIT: I should also mention that if I try and remove the redefined lines, the desinger gives me either a "C++ CodeDOM parser error" or a "Catastrophic error".
__________________
Memorial University of Newfoundland
Computer Science

Mac and OpenGL evangelist.

Last edited by psychopath; 06-20-2006 at 05:52 PM.
psychopath is offline   Reply With Quote
Old 06-21-2006, 04:14 AM   #2
Super Moderator
 
Bubba's Avatar
 
Join Date: Aug 2001
Posts: 7,812
2005 is quite buggy, even in the standard release. It has a very bad habit of failing to re-compile changes to your code, duplicate definitions, non-grouped public, private, and protected members, memory leak detection errors, help system crashing or being extremely slow, IDE crashing, heap corruption, MFC class objects errors, auto-generated code errors, etc, etc.

Plus I think the entire IDE leaks memory on shutdown because if I play a game after just opening the IDE and selecting a project, but NOT compiling it, it either stutters, hesitates, completely crashes or fails to start.

I look for a service pack to be released soon.

Last edited by Bubba; 06-21-2006 at 04:17 AM.
Bubba is offline   Reply With Quote
Old 06-21-2006, 07:47 PM   #3
The Right Honourable
 
psychopath's Avatar
 
Join Date: Mar 2004
Location: Where circles begin.
Posts: 1,068
Unfortunatly, I can't wait for the service pack, so iv'e come up with a work around for the designer issues.

It seems like the designer only craps out if you add any of your own code to the generated file (even includes and namespaces). So what I do, is just create the main form in another project with the designer, create the event functions, and then copy it into the actual project and add my own code.

With issues like this, there's no way i'm letting VS generate class templates for me too.
__________________
Memorial University of Newfoundland
Computer Science

Mac and OpenGL evangelist.
psychopath is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VS 2008 Express with 2005 PSDK Mario F. Tech Board 2 10-11-2008 12:29 PM
How to compile .c files with Visual C# Express 2005 daYz Windows Programming 2 02-22-2008 10:37 AM
Linker errors with 2005 Express thetinman Windows Programming 4 12-30-2006 09:04 AM
Help: Microsoft Visual Basic 2005 Express Editon karlawarla Windows Programming 5 11-22-2006 02:46 PM
Visual C++ 2005 Express Edition BestGameMovie C++ Programming 6 05-15-2005 01:49 PM


All times are GMT -6. The time now is 04:02 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22