开发者

How to write to StdOut in Windows and FASM?

开发者 https://www.devze.com 2023-04-01 08:16 出处:网络
The question is pretty simple, yet I can\'t seem to find how to do it: how do I write to StdOut in Windows/FASM?

The question is pretty simple, yet I can't seem to find how to do it: how do I write to StdOut in Windows/FASM?

There does not seem to b开发者_C百科e any documentation online. Ideas?


There are a few options...

1) Use the WinAPI. This is either WriteConsole OR by using CreateFile with the filename as CON and then using WriteFile

2) Using msvcrt, and printf as you would in a c program.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号