When I create an executable file with MASM 8.0, I can not execute the
executable file on another machine.
When I doubleclick the SimpleAddition2.exe I receive the following
messagebox:
Windows find that this file is potentially harmful
To help protect your computer, Windows has blocked access to this
file.
Whatever I have tried, I cannot execute my SimpleAddition2.exe on
another computer.
Please reply also by mail if possible.
Thanks a lot in advance for reading my question.
Best Regards,
Wouter Wessels.
First check that you can start a DOS emulation on the second machine
and test it with simple DOS commands like
DIR <ret>
If you do not have DOS emulation (command.com or CMD.exe) on the
second machine it will not execute a DOS program by duble-clicking on
it in the Windows environment.
The next possibility is that you have a problem with the linker. I had
to give my linker 4K more stack space itself over its original
configuration to actually run in the Windows emulator on W2000 and XP
mcachines; but there would have been a message "Error 2000, stack
space". And then after linking I had to give the new linked-compiled
DOS program itself 4k stack space more as well.
Sounds like either:
1) Your machine is infected by a virus that attaches itself to exes
(unlikely, these days), or
2) Your virus detection software is mistaking code in your
SimpleAddition2.exe program for a virus.
hLater,
Randy Hyde