aewarnick Posted December 13, 2003 Posted December 13, 2003 This is actually, in my opinion, a very weird happening. I have a c++ program that stretches an image in the entire window and then draws that same image at normal size whereever the mouse moves. It works great and fast if I have another large program open like VS. But if I just have dev and the program running the drawing is slower than C# is. But C# remains the same. Is there something that .net does that my little c++ app does not that could cause that wierdness? Quote C#
iebidan Posted December 14, 2003 Posted December 14, 2003 Can you post an example to see it??? Quote Fat kids are harder to kidnap
*Experts* Bucky Posted December 14, 2003 *Experts* Posted December 14, 2003 Actually, this makes a lot of sense. In C#, the code is compiled every time before execution, so the only speed hit you will see in the IDE versus outside the IDE is in the fact that the debugger is attached to the app. Now I'm not sure how VC++ works in terms of debugging, but it sounds like it's doing something slow while debugging. In any case, the final compiled app will always be somewhat faster than its debugged counterpart, and you do not necessarily need to worry about the speed of your app if it's slow in the IDE. Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
aewarnick Posted December 14, 2003 Author Posted December 14, 2003 Let me explain better. I used Dev-C++ to create the C++ app and it has no runtimes. I am not using debug and Dev doesn't even have to be open for this weird thing to happen. I posted the same question here: http://www.vbforums.com/showthread.php?s=&threadid=271594 Quote C#
Recommended Posts