CFanatic

Go Back   CFanatic > Programming > Win32 Programming

Join CFanatic Forum Now

A Windowless Program topic posted under Win32 Programming which is a part of Programming category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 10-31-2007, 08:12 PM
Junior Member
 
Join Date: Oct 2007
Location: Bakersfield, CA
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
bragr is on a distinguished road
Send a message via AIM to bragr
| More
Question A Windowless Program

I am working on a small program that changes system settings en mass based on the current settings. This program is mostly for efficiently since I change these setting, such as power settings and scream resolution, several times a day. (I have a laptop plugged into an external monitor with a higher resolution than what my laptop scream supports.) The problem is not how to do this, I already have a basic version hacked out, but that it still displays a console window even though there is no output whatsoever and this bugs me when it runs. Is there a simple way to create a windowless program in c++ without including some large 3rd part library, using only win32?
I am using Mingw with win32api 3.10 so anything .Net specific is out which seems to be why I am having trouble.

Last edited by bragr; 10-31-2007 at 08:25 PM.
Reply With Quote
  #2  
Old 10-31-2007, 11:15 PM
shabbir's Avatar
Administrator
 
Join Date: Sep 2006
Posts: 1,163
Thanks: 57
Thanked 63 Times in 44 Posts
shabbir has a spectacular aura aboutshabbir has a spectacular aura about
| More
Re: A Windowless Program

With Win32 programs unless you create a window it should not show.
Reply With Quote
  #3  
Old 07-12-2008, 09:25 AM
Junior Member
 
Join Date: Jun 2008
Location: Milano, Italy
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
Spogliani is on a distinguished road
| More
Re: A Windowless Program

You need to use the FreeConsole() function at the beginning of your program to hide the console window. Remember that every output that would be shown on the console makes it visible again
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
suggest a c program SAILOLLA Game Development 7 11-20-2011 08:29 AM
Same program different O/P... !!! batman.pratik C Programming 5 10-21-2008 11:18 AM
Simple encryption program Trebbert Win32 Programming 0 09-23-2007 04:09 AM
can any one help me start this program?? Albaniankool C++ Programming 1 04-18-2007 10:46 PM
Help with program using classes chaching C++ Programming 0 09-30-2006 04:52 AM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 03:06 AM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board