我想先做一只纯DOS下的dos16.exe,然后做一只window下的win32.exe,在VC++里编译
win32.exe文件时用dos16.exe换掉winstub.exe,但不知如何替换。我在Vc++菜单/project/project settings/link/projext Options:下加入
/Stub:dos16.exe
或者在程序中加入:#pragma comment(linker,"/Stub:dos16.exe")
虽然发现dos16.exe已被加到win32.exe中,但在dos方式下还是This program can't
....(原winstub的内容)。
linking时都有:
warning LNK4060: stub file missing full MS-DOS header; rebuild stub with /KNOWEAS 16-bit LINK option
如何解决呢?谢老大们帮忙。
win32.exe文件时用dos16.exe换掉winstub.exe,但不知如何替换。我在Vc++菜单/project/project settings/link/projext Options:下加入
/Stub:dos16.exe
或者在程序中加入:#pragma comment(linker,"/Stub:dos16.exe")
虽然发现dos16.exe已被加到win32.exe中,但在dos方式下还是This program can't
....(原winstub的内容)。
linking时都有:
warning LNK4060: stub file missing full MS-DOS header; rebuild stub with /KNOWEAS 16-bit LINK option
如何解决呢?谢老大们帮忙。
我所做的同先生所说的好象没什么不同啊?为什么不行呢?
麻烦您指教。 多谢。
它需要纯DOS环境实在不行的话你就手工link这两个东西吧。因为很可能集成环境下还需要别的设置才能生效。
我不明白VC++的如下警告:
warning LNK4060: stub file missing full MS-DOS header; rebuild stub with /KNOWEAS 16-bit LINK option
编出来的DOS程序才能作为 stub 使用。
请教先生,我用TC编译的DOS16.exe,该怎么做呢?Tlink 是不认/KNOWEAS LINK的。
Microsoft 的 16位开发环境,那我用什么工具(常用).
stub file missing full MS-DOS header; rebuild stub with /KNOWEAS 16-bit LINK optionThe MS-DOS application specified with the /STUB option does not have a full 40-byte header. The stub program may not run as expected.To rebuild the 16-bit stub with a full 40-byte header, use the undocumented /KNOWEAS option with the 16-bit LINK version 5.5x or higher.
老大,16-bit LINK version 5.5x or higher您有吗?给我一份好吗?
[email protected]
多谢提携。