Windows 98中的可视c ++项目 [英] visual c++ project in windows 98
问题描述
在vs 2005中为Windows 98构建vc ++程序
-------------------------------------------------
我已经在Visual Studio(2005)中成功构建了一个vc ++程序,该程序旨在在Windows 98上运行(由于特定的硬件原因,工程应用程序需要访问dos端口).
我将其构建为win32程序,并且一切都可以正常运行,并在Visual Studio环境中显示一个工作按钮,但是当我在Windows 98中运行它时,它一直运行到结束,没有错误,但是似乎完全没有任何作用. >
为了进行测试,我还构建了一个简单的控制台应用程序win32,该应用程序在98中愉快地显示了"hello world",但是带有简单按钮的版本却什么也不显示(在Visual Studio中可以,并且我编写了一个响应wm_command事件的消息框就可以了)
我将每个与msvc相关的dll复制到Windows 98,并且98没有有关dll的投诉
未安装,它只是启动并关闭应用程序
有人知道我要在98中缺少什么来进行窗口处理吗?
任何帮助将不胜感激,因为我被困在98位上
我想对该程序做更多工作,但是如果它不能在98中运行,那又有什么意义呢?
(我真的不愿意为此付出努力,因为我的想法很简单
按钮和文本-Win32会很好的
帮助
谢谢
我相信这是由 SxS [^ ]
Building a vc++ program in vs 2005 for windows 98
-------------------------------------------------
I have successfully built a vc++ program in visual studio (2005), destined to run on windows 98 (for a specific hardware reason, engineering apps requiring access to dos ports).
I built it as a win32 program and it all builds ok and runs, displaying a working button in the visual studio environment, but when I run it in windows 98 it runs to end, no error, but appears to do absolutely nothing
For test I also built a simple console app win32 which happily displays "hello world" in 98, but the version with a simple button shows nothing (ok in visual studio, and I coded a message box responding to a wm_command event just fine)
I copied every msvc - related dll to windows 98, and 98 has no complaints about dlls
not installed, it simply starts and closes the app
Has anybody any idea what I am missing in 98 to make it do it''s window processing?
Any help would be much appreciated as I am stuck on the 98 bit
I want to do some more work on the program but if it can''t run in 98 what''s the point?
(I don''t really want to go to the effort of mfc for this as it looks like - for my simple
buttons and text - win32 will be fine
Help
thanks
I believe it''s caused by SxS[^]
这篇关于Windows 98中的可视c ++项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!