Crt unit for Delphi 2010 [closed]

只愿长相守 提交于 2019-12-10 12:26:34

问题


I need Crt unit for Delphi 2010 console application (ReadKey, GotoXY, ...). Is there any Crt unit for Delphi 2010?


回答1:


I'd start with any of the CRT units here.




回答2:


I updated the code from Branko's link, and came up with this:

https://onedrive.live.com/embed?cid=F5BB35AE00415BC7&resid=F5BB35AE00415BC7%21232&authkey=AIKZAtMjhUyE-TQ

It's a working Crt32 for unicode delphi. Changes required include char->AnsiChar, pChar->PAnsiChar, and VariousWin32ApiFunction() to VariousWin32ApiFunctionA().



来源:https://stackoverflow.com/questions/4706603/crt-unit-for-delphi-2010

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!