C/C++
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives FAQs C/C++

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old July 3rd, 2008, 09:09 AM
Jrdman
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
get a window not a console

what's the minimum code should i add to this code:
#include<windows.h>
int APIENTRY WinMain(HINSTANCE hinstane,
HINSTANCE hpinstance,
LPSTR lpcmdline,
int cmdshow){

while(1)
;


}

to get a window not a console?

Reply With Quote
  #2  
Old July 3rd, 2008, 02:49 PM
pete
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
get a window not a console

Jrdman wrote:
what's the minimum code should i add to this code:
#include<windows.h>
int APIENTRY WinMain(HINSTANCE hinstane,
HINSTANCE hpinstance,
LPSTR lpcmdline,
int cmdshow){
>

while(1)
;
>
>

}
>

to get a window not a console?

Just change WinMain to NoWinMain.

--
pete

Reply With Quote
  #3  
Old July 4th, 2008, 08:39 AM
Joachim Schmitz
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
get a window not a console

jacob navia wrote:
pete wrote:
<snip>
>I have no respect for bona fide attempts to answer P's question
>with anything other than redirection to another newsgroup.
>>

>

I do not respect you at all then.
Why should I?
Do you really miss the difference between (not) respecting a _person_ and
doing the same on a 'bona fide attempt', i.e. a message, here?

Bye, Jojo



Reply With Quote
  #4  
Old July 4th, 2008, 05:00 PM
Antoninus Twink
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
get a window not a console

4 Jul 2008 at 19:36, pete wrote:
>He's 100% right. This isn't comp.lang.isoc.moderated - it's up to each
>person to decide what they post, and whether they agree that "C" and
>"the IS C standard" should be considered synonymous.
>

Who are you to say me what do I write what I don't?

I think you should write whatever you want, whatever you think is
appropriate. I did no more than observe that if you find topicality
enforcement tedious, then a way of avoiding tedium is not to (try to)
enforce topicality.


Reply With Quote
  #5  
Old July 4th, 2008, 05:00 PM
pete
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
get a window not a console

Antoninus Twink wrote:
4 Jul 2008 at 19:08, pete wrote:
>Because topicality enforcement is tedious
>

I agree. And I can see a simple solution for you
>
>, in the words of someone who has no respect for me:
>"Who are you to say me what do I write what I don't?"
>

He's 100% right. This isn't comp.lang.isoc.moderated - it's up to each
person to decide what they post, and whether they agree that "C" and
"the IS C standard" should be considered synonymous.

Who are you to say me what do I write what I don't?

--
pete

Reply With Quote
  #6  
Old July 4th, 2008, 05:00 PM
Antoninus Twink
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
get a window not a console

4 Jul 2008 at 19:08, pete wrote:
Because topicality enforcement is tedious

I agree. And I can see a simple solution for you

, in the words of someone who has no respect for me:
"Who are you to say me what do I write what I don't?"

He's 100% right. This isn't comp.lang.isoc.moderated - it's up to each
person to decide what they post, and whether they agree that "C" and
"the IS C standard" should be considered synonymous.


Reply With Quote
  #7  
Old July 4th, 2008, 07:00 PM
pete
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
get a window not a console

Antoninus Twink wrote:

I did no more than observe that if you find topicality
enforcement tedious, then a way of avoiding tedium is not to (try to)
enforce topicality.

That would be like watching PBS and not sending in any money.

--
pete

Reply With Quote
  #8  
Old July 5th, 2008, 06:19 AM
Antoninus Twink
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
get a window not a console

4 Jul 2008 at 23:55, pete wrote:
Antoninus Twink wrote:
>I did no more than observe that if you find topicality
>enforcement tedious, then a way of avoiding tedium is not to (try to)
>enforce topicality.
>

That would be like watching PBS and not sending in any money.

No, it would be like watching PBS and not sending in any hate mail.


Reply With Quote
Reply

Viewing: Web Development Archives FAQs C/C++ > get a window not a console


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway