[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[exelist] Windows trap flag "bug"



Hi, I have a problem coding what is known as a "running line" trap:

The problem is that the code works fine under DOS, but crashes under
Windows.
I would like to know if someone has encountered this problem.
I think that the problem could be:

Either Windows clears trap flag after executing the first instruction,
so the remaining instruction are still encrypted...
Or Windows does not clear trap flag at all, so when the routine ends,
the unencrypted code is processed like it was encrypted, and crashes
the system...

Maybe Windows requires a certain privilege level to adjust trap flag?

TIA