Windows NT4上的C ++应用程序 [英] C++ application on Windows NT4

查看:133
本文介绍了Windows NT4上的C ++应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试更新需要在Windows NT4 SP6上运行的软件.我最初使用VS2010更新了它,然后才发现VS2010不支持NT4.然后,我尝试了VS2005和VS2003. VS2003 exe不会在上引发错误 NT4,但它也无法启动.我什至在任务管理器"->进程"中确认,当我执行它时它不会启动.我什至取出MFC并创建了一个简单的空白Hello World应用程序,但没有成功.

I'm trying to update a piece of software that needs to run on Windows NT4 SP6.  I originally updated it using VS2010 before finding that VS2010 does not support NT4.  I then tried VS2005 and VS2003.  The VS2003 exe did not throw an error on NT4, but it also doesn't start up.  I even confirmed on Task Manager->Processes that it doesn't start when I execute it.  I even took out MFC and created a simple blank Hello World app without success.

然后我尝试回到VC ++ 6.0,但是由于boost并没有正式支持VC ++ 6.0,我在编译其中包含的boost库时遇到了麻烦.

I then tried going back to VC++ 6.0, but I had trouble compiling the boost libraries that are included, as boost doesn't officially support VC++ 6.0.

我需要找到某种方式来编译和运行此程序.我需要包含Boost,并且它需要在NT4 SP6上运行.如果我需要使用MFC替代方案或VS替代方案,我会的.我浏览了整个网络,但没有取得明显的成功. 请给我指出正确的方向,或者告诉我可以满足我需求的组件的组合.

I need to find some way to get this compiled and working.  I need to have boost included, and it needs to run on NT4 SP6.  If I need to go to an MFC-alternative or a VS alternative, I will.  I've looked all over the web with no obvious success.  Please just point me in the right direction or tell me the combination of components that will give me what I need.

非常感谢!

推荐答案

boost的较旧版本似乎支持VC6(尽管由于VC6而受到某种程度的限制)糟糕的模板支持).您可以尝试回到Boost的1.35时代.

Older versions of boost seemed like they supported VC6 (albeit in a somewhat limited fashion due to VC6s terrible template support).  You might try stepping back to the 1.35 era of Boost.

我相当确定,早在使用VC7.1时,我就能够为NT4进行编译,尽管已经很多年了,所以我可能记不清楚了.

I was fairly sure that back when I used VC7.1, I was able to compile for NT4, although it has been a lot of years, so I may not remember that clearly.

使用7.1时,您是否尝试过进入调试器中的代码?发生了什么事?

When you were using 7.1, did you try stepping into your code in the debugger?  What happened?


这篇关于Windows NT4上的C ++应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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