开发者

Why do I see a console window when I run a dynamically compiled EXE?

So I have a program that dynamically compiles a new program at the click of a button.

The new program generates and works perfectly.

The only weird thing is that when I run this newly generated exe, first a console window opens, the title开发者_如何学编程 is "C:\calculator.exe"

and then my calculator.exe program opens.

For some reason it is starting the console window and I'm not sure why.

Any suggestions?


Are you using the command line compiler? If so, try using /target:winexe instead of /target:exe.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜