From: Thomas Minor on 24 May 2007 02:43 Hello, we are migrating a large codebase from vc6 to vc8 while adding Windows Vista to our supported Platfoms. We experience some strange program terminations with the new code on the vista platform, while everything runs fine on a XP box. At the moment, we suspect some compiler setting like /GS to be part of the problem, but we are open to suggestions. Bye, -- Thomas
From: "Jeffrey Tan[MSFT]" on 24 May 2007 04:35 Hi Thomas, Can you show me some detailed information regarding the "strange program terminations"? Do you experience any unhandled exceptions in the program? Can you show me the error details of this termination? If so, I would recommend you to follow the steps below to obtain the call stack of the unhandled exception: "How to debug application crash/hang in production environment?" http://blogs.msdn.com/msdnts/archive/2006/11/24/how-to-debug-application-cra sh-hang-in-production-environment.aspx Additionally, why do you think it is something to do with the /GC compiler option? I hope you can provide some detailed information to help us identify the root cause. Thanks. Best regards, Jeffrey Tan Microsoft Online Community Support ================================================== Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif ications. Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscriptions/support/default.aspx. ================================================== This posting is provided "AS IS" with no warranties, and confers no rights.
From: MrAsm on 24 May 2007 05:48 On Thu, 24 May 2007 08:43:05 +0200, "Thomas Minor" <Thomas.Minor(a)newsgroup.nospam> wrote: >we are migrating a large codebase from vc6 to vc8 while adding Windows Vista >to >our supported Platfoms. We experience some strange program terminations with >the >new code on the vista platform, while everything runs fine on a XP box. > >At the moment, we suspect some compiler setting like /GS to be part of the >problem, >but we are open to suggestions. Hi, I believe that /GS switch is a very good friend: it helps you develop more robust and secure code. Maybe are you having buffer overruns in your code? Do you use raw C arrays or raw C strings in your code, or are you using the more robust classes like MFC CString or CArray or std::string and STL collection classes? MrAsm
From: MrAsm on 24 May 2007 06:12 On Thu, 24 May 2007 08:43:05 +0200, "Thomas Minor" <Thomas.Minor(a)newsgroup.nospam> wrote: >we are migrating a large codebase from vc6 to vc8 while adding Windows Vista >to >our supported Platfoms. We experience some strange program terminations with >the >new code on the vista platform, while everything runs fine on a XP box. Moreover, we add a thread on this newsgroup (started on April 13th), about porting problems to Vista, exspecially with drag-and-drop (I don't know if your codebase does some D&D): the thread subject is: "Visual C++ 6.0, Vista, Drag'n'Drop and evelation..." You might also consider the following link interesting (this link appeared also in the above thread): http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1452350&SiteID=1 MrAsm
From: Joseph M. Newcomer on 24 May 2007 08:47 OK, so the message box pops up and says "strange program termination", right? Otherwise, presumably there is something actually informative produced. What is the exact description of what you see? joe On Thu, 24 May 2007 08:43:05 +0200, "Thomas Minor" <Thomas.Minor(a)newsgroup.nospam> wrote: >Hello, > >we are migrating a large codebase from vc6 to vc8 while adding Windows Vista >to >our supported Platfoms. We experience some strange program terminations with >the >new code on the vista platform, while everything runs fine on a XP box. > >At the moment, we suspect some compiler setting like /GS to be part of the >problem, >but we are open to suggestions. > >Bye, > >-- Thomas > Joseph M. Newcomer [MVP] email: newcomer(a)flounder.com Web: http://www.flounder.com MVP Tips: http://www.flounder.com/mvp_tips.htm
|
Next
|
Last
Pages: 1 2 3 Prev: Custom CEdit Text Control Next: CTreeCtrl::SelectItem() behaves weird on VISTA |