Extremely Active Member
Member No.: 160
Joined: 22-June 04
this is not so simple as sounds.
16-bit programs (MS DOS) are quiet different against 32-bit (Win32): they use not only 32-bit registers, but have different format and communicate with OS in different way.
MS DOS programs use software interrupts (say, int 21h) to invoke OS functions, while Win32 console program uses WinAPI calls.
Also, program with name "Alarm" may appear a resident (TSR)
Anyway, it may be possible: try to make Win32 console "hello world" program at first. If succeed then try to implement similar algorithm as in 16-bit program, to replace DOS interrupts search win32 help for API functions which are similar.