VS 2008 - 编辑器中对话框的更改现在不在运行时显示!? [英] VS 2008 - changes to dialog in the editor not showing up at runtime now!?

查看:106
本文介绍了VS 2008 - 编辑器中对话框的更改现在不在运行时显示!?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



在Window XP中,在看似清晰的蓝天之外,VS 2008中我的C ++项目中的对话框在保存时停止显示更改,编译和运行。我可以将静态文本放在它上面作为测试,在这里和那里,保存并编译它,静态文本在运行时不存在。



所有的在这台机器上的这个对话框中远离过去开发的其他元素确实存在并且可以正常工作。



如果我启动到Windows 7 x64分区这是多么奇怪的事实在这台计算机上(双启动)并运行VS 2008打开解决方案(同一目标),所做的更改是可见的,并且在运行时也会显示在Win 7中。在Win7端的VS 2008中对齐对话框并显示更新按预期制作。



我过去只在这台机器上用XP做dev。在去年,我为这个项目的并行x86 / x64调试设置了双启动,现在处于测试阶段。



Win7中对话框的更改如果在XP方面重建vs 2008,则会显示出来。这是我第一次出现问题的迹象。



我已经在XP端清理了项目无济于事



帮助! : - )

Hi all,

Under Window XP, out of the seemingly clear blue sky, a dialog in my C++ project in VS 2008 stopped showing changes to it when saved, compiled and run. I can put static text all over it as a test, here and there, save and compile it and the static text is not there when it is run.

All the other elements from distant past development on this dialog on this machine are indeed there and do work.

What's stranger is the fact that if I boot to the Windows 7 x64 partition on this computer (dual boot) and run VS 2008 opening the solution (same target) there, the changes made are visible and also show up at runtime in Win 7. Canging the dialog in the VS 2008 on the Win7 side works and shows updates made as expected.

I used to only do dev in XP on this machine. Withing the last year I set up the dual boot for parallel x86 / x64 debugging of this project that is now in beta.

The changes to the dialog made in Win7 don't show up if rebuilt on vs 2008 on the XP side. This was my first indication that something was wrong.

I have cleaned the project on the XP side to no avail

HELP! :-)

推荐答案

听起来像XP端正在运行.exe的旧版本或.dll的加载和旧版本更有可能。您没有准确提到正在编译对话框的模块。如果从错误的地方加载一个,我会按名称搜索该副本。



这也可能是失败的链接器错误的一个例子在Visual Studio中更改基础编译器时发生。从VS2008到VS2010我遇到了2008年试图使用更新的编译器和链接器的问题,它们都声称可以正常工作但是会产生垃圾链接器错误或声称成功但却无法实际编写可执行文件。清理在这些情况下不起作用,即使它表示成功,并且在整个输出目录被删除时才开始出现含糊不清的错误。
It does sound like the XP side is running an old copy of the .exe or loading and old copy of the .dll which is more likely. You don't mention exactly what module your dialog is being compiled into. I would search for duplicates of that by name in case one is being loaded from the wrong place.

This could also possibly be an example of the failed linker bugs that can occur when the underlying compiler is changed in Visual Studio. Going from VS2008 to VS2010 I had issues where 2008 was trying to use the newer compiler and linker and it would all claim to be working but alternately produce garbage linker errors or claim success but fail to actually write the executable. Cleaning did not work in these circumstances even though it said it succeeded and vaguely sensible errors only started showing up when the entire output directory was deleted.


这篇关于VS 2008 - 编辑器中对话框的更改现在不在运行时显示!?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆