mainCRTStartup的签名是什么 [英] What is the signature of mainCRTStartup

查看:140
本文介绍了mainCRTStartup的签名是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找mainCRTStartup的签名.是吗:

I am looking for the signature of mainCRTStartup. Is it :

int mainCRTStartup( int argc, char *argv[] )

还有别的吗?

我感到非常恼火,因为Microsoft甚至无法给出他们自己的入口点的定义...

I find it so irritating that microsoft isn't even able to give the définition of their own entry points...

感谢您的帮助.

推荐答案

在随Visual Studio一起分发的crtexe.c文件中,您可以看到定义.它是:

In the crtexe.c file, distributed with VisualStudio, you can see the definition. It is:

int mainCRTStartup(void);

不是将命令行作为入口点的参数来获取,而是通过使用函数GetCommandLine()来恢复.

The command line is not obtained as an argument to the entry point, but recovered by using the function GetCommandLine().

这篇关于mainCRTStartup的签名是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆