Click here to Skip to main content
13,048,846 members (68,627 online)
Rate this:
Please Sign up or sign in to vote.
See more:
DoModal Works On Windows XP But Not Working On Windows 7.0.
Dialog Does not open at all in Windows 7.0
What Could Be the reason. Please let me know,its urgent

CCaxu1 Dcaxu1;
Posted 2-Oct-12 21:37pm
pasztorpisti 3-Oct-12 4:55am
Probably some bug in your code somewhere because MFC is quite a "cross-windows" library. The bug is definitely not in the code you shared.
Chuck O'Toole 3-Oct-12 8:50am
Your problem statment is unclear. Did you build/run it on Windows XP *AND* on Windows 7.0 or did you simply build it on Windows XP and move the binary to Windows 7 and then it doesn't work? If it's the latter, chances are you have some libraries missing from the Windows 7 machine. For example, are your building / moving the DEBUG build or the RELEASE build?
adityarao31 3-Oct-12 9:50am
On xp dialog is opening properly and everything is fine on windows 7.0 i am running release build in which dialog is not opening
Chuck O'Toole 3-Oct-12 15:46pm
First, when replying to someone, use the "Repky" button on the right side of their message. Since you didn't do that, I didn't get an e-mail saying you replied and you might have waited forever for a reply.

Secondly, did you also run the release build on the XP machine? Where is your development done, XP or Win 7 or BOTH? You need to provide precise answers otherwise we do not know what environments are working / failing.
adityarao31 3-Oct-12 21:36pm
Yah i also run on xp ss release developement is done on xp machine. But i am on release 7 of my project. Earlier 6 releases never got such problem

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 3 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100