Jump to content
Xtreme .Net Talk

Console window popping up when I start my DirectX/C# app


Recommended Posts

Posted

So whenever I run my app, I get a strange, empty console window that loads behind my DirectX window and goes away when I close my project.

 

The console window just has the Window path of my app (c:\projects\FantasyWars\bin\Debug\FantasyWars.exe) as its title, and little "c:\" as its icon, but is otherwise empty with just a flashing cursor in its upper-left.

 

My initialization code is almost identical to the GameUtil Demo (http://www.danpeverill.com/gameutil.asp) initialization code, and that project doesn't have this problem when I run it.

 

Anyone know what could cause this to happen, or what i can do to get rid of it? Thnx in advance....

 

-Hiro_Antagonist

Posted
i think you are compiling your application to a Console EXE instead of a Win32 EXE. can you confirm that? it should be on your projects build configs :)
Menge
Posted

I've dug around everywhere, and yet I can't find any opportunity to change the setting you mentioned.

 

Can you tell me how to get to the exact menu opton or dialog where I need to change this setting?

 

I'm still very much a beginner, so I'm not all that familiar with the environment yet....

 

Thanks.

 

-Hiro_Antagonist

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...