Query:how to use windows api in my c source code?

C

Chris Hills

CBFalconer said:
You know better than to answer an off-topic question in this
newsgroup. You should give him a reference to a suitable group.

He can answer who he likes, how he likes.

Don't start the OT rubbish again. Your definition is yours. Others have
other definitions of OT. (that is On topic or Off Topic as suites)
 
C

Chris Hills

CBFalconer said:
Specific system, such as windows, Turbo C, etc. are off-topic here,
where we deal with the C language as defined in the various C
standards.

You do others don't
In particular, there is no such include file as
<windows.h> in standard C,

True but many C compilers inthe desktop market have it.
so your question is unanswerable here.
No it's not.
Things would be different on a windows news group, but strictly
limited to windows systems.

But strict windows groups also cover C....
Try the references in my sig. below:

Your illegal over long sig.... You should at least halve it before you
have any credibility as to what the rules for this NG are.
 
C

Chris Hills

Morris Dovey said:
Richard Heathfield wrote:
| Morris Dovey said:
|
|| BTW, I still have a Post-It with your initials on it stuck to the
|| front of a small book
|
| Can't be my book, then. :)

Of course not. That would be ISBN 0-672-31896-2, three volumes over.
These days it'd probably be considered an act of terrorism to attempt
sending anything that heavy by air.


Only in the USA where paranoia triumphs over common sense and reality
 
K

Keith Thompson

Chris Hills said:
He can answer who he likes, how he likes.

Don't start the OT rubbish again. Your definition is yours. Others
have other definitions of OT. (that is On topic or Off Topic as
suites)

And you've never told us *your* definition of what's topical and what
isn't.
 
C

Chris Hills

Keith Thompson said:
And you've never told us *your* definition of what's topical and what
isn't.

We largely the same as yours but I would widen it to most C questions.
However as you point out in depth discussions of various OS and other
things is not the main aim of this NG.

However I would not react to posters for being OT in the way you do, Be
nicer, more helpful. Some of the net nannies on here seem to have
personal problems.

Relax if you answer more of, what you call, OT questions on here we
would not get endless arguments of what is OT and what is OT

Your fear of this ng not staying racially pure has overtones of AH not
KR
 
K

Keith Thompson

Chris Hills said:
We largely the same as yours but I would widen it to most C
questions. However as you point out in depth discussions of various OS
and other things is not the main aim of this NG.

I don't know what you mean by "most C questions". Questions that are
actually about the C programming language are topical. (The language
is defined by the standard(s).)

So you agree that questions about operating systems are off-topic, but
you object to anyone complaining about them?
However I would not react to posters for being OT in the way you do,
Be nicer, more helpful. Some of the net nannies on here seem to have
personal problems.

I give the best help I can, by telling off-topic posters that they
should ask in a forum where their questions are topical. Attempting
to answer off-topic questions here is far less helpful. We've been
over this.
Relax if you answer more of, what you call, OT questions on here we
would not get endless arguments of what is OT and what is OT

No, if we answer more OT questions here, the newsgroup will collapse,
just as comp.lang.c++ nearly did a few years ago. Again, we've been
over this.
Your fear of this ng not staying racially pure has overtones of AH
not KR

"Racially pure"? What kind of nonsense is that? (I don't know what
you mean by AH and KR, but that's all right.)
 
R

Richard Heathfield

Chris Hills said:
We largely the same as yours but I would widen it to most C questions.

That would be *narrowing* it. All C questions are topical here. The OP,
however, was asking a Windows API question, not a C question.
However as you point out in depth discussions of various OS and other
things is not the main aim of this NG.

Right. So what's your beef?
However I would not react to posters for being OT in the way you do,

He can answer who he likes, how he likes, as you said yourself.
Be nicer, more helpful.

I agree that that's good advice, but none of us can mandate it.
Relax if you answer more of, what you call, OT questions on here we
would not get endless arguments of what is OT and what is OT

Instead, we'd get a torrent of people asking OT questions and expecting
answers, and the real C discussions would get lost, and at least some
of the real C experts would decide that the group is no longer a good
use of their time, and we'd end up in the same place as clc++ a few
years ago.
Your fear of this ng not staying racially pure has overtones of AH
not KR

Godwin's Law. This thread is now over, and you lose.
 
C

Chris Dollin

Chris said:
Your fear of this ng not staying racially pure has overtones of AH not
KR

What have Avalon Hill to do with this? And you've got Reiner Knizia's
initials wackbards.
 
J

jacob navia

Chris said:
We largely the same as yours but I would widen it to most C questions.
However as you point out in depth discussions of various OS and other
things is not the main aim of this NG.

However I would not react to posters for being OT in the way you do, Be
nicer, more helpful. Some of the net nannies on here seem to have
personal problems.

Relax if you answer more of, what you call, OT questions on here we
would not get endless arguments of what is OT and what is OT

Your fear of this ng not staying racially pure has overtones of AH not KR

The same people that say "off topic" to every windows related questions
will answer any question about gcc, for instance the huge thread about
how to elicit a specific warning with gcc.
Subject: "How to get warnings about implicit narrowing in c99 code"
Message ID: <[email protected]>

And that is one of many. They will discuss anything, from specific mail
software to specific compiler implementations.

It is only when you do not share their Linux+Unix are good, windows is
evil standpoint that they will start telling their "off topic" nonsense.

They speak about the danger for this group being too specific to some
implementation but they reduce this newsgroup to just discussions about
homework, or the eternal questions about

I did i++ = i++ and it doesn't work.

jacob
 
I

Ian Collins

jacob said:
The same people that say "off topic" to every windows related questions
will answer any question about gcc, for instance the huge thread about
how to elicit a specific warning with gcc.

gcc runs on windows....
 
C

Chris Hills

jacob navia said:
The same people that say "off topic" to every windows related questions
will answer any question about gcc, for instance the huge thread about
how to elicit a specific warning with gcc.

I noticed that GCC is definitely OT here as it has it's own standard.
Subject: "How to get warnings about implicit narrowing in c99 code"
Message ID: <[email protected]>

And that is one of many. They will discuss anything, from specific mail
software to specific compiler implementations.

It is only when you do not share their Linux+Unix are good, windows is
evil standpoint that they will start telling their "off topic" nonsense.

I have noticed that too
 
R

Richard Heathfield

Chris Hills said:
I have noticed that too

I haven't, particularly. What I *have* noticed is that Mr Navia's
articles demonstrate a marked tendency to get hold of the wrong end of
the stick.

If people here are discussing Linux or Unix, they're off-topic, and no
doubt someone will say so. But very few such discussions actually
occur, as far as I can tell, certainly when compared with the number of
times Mr Navia treats this group as a marketing tool for his
implementation.
 
C

Chris Hills

Richard Heathfield said:
Chris Hills said:


I haven't, particularly. What I *have* noticed is that Mr Navia's
articles demonstrate a marked tendency to get hold of the wrong end of
the stick.

I assume English is not his mother tongue.
If people here are discussing Linux or Unix, they're off-topic, and no
doubt someone will say so. But very few such discussions actually
occur, as far as I can tell, certainly when compared with the number of
times Mr Navia treats this group as a marketing tool for his
implementation.

To be fair it is no more than any FOSS devotee pushes their favourite
brand of Linux or Gcc. Some people have it in their sigs.

You only have to ask what is the best compiler for windows and you get a
stream of people listing their favourite Gcc, Cygwin compiler (and
getting very annoyed when some one points out the best bet for a novice
is probably the Free MS VC express thingy)

Then it is followed by the usual voices suggesting the OP dumps it al
for Linux and Gcc...

I assume as someone who is pushing a.n.other free compiler he is as
sensitive to the competition as the GCC crowd are when I suggest the
Free MS compiler for Windows.


BTW I still stand by that. For a complete novice to have a compiler for
windows written by the people who did the OS and with all the
intergration, examples and onboard help it is the easiest start. It may
not be "The Best" but it will get him up and running to the point where
he knows what he wants to do and can make a better assessment of the
other free tools out there.

Some people want to just install and program not have to knit their own
system.
 
R

Richard Heathfield

Chris Hills said:
I assume English is not his mother tongue.

I accept that, but he is so quick to give and take offence that I don't
think it's just a language issue.
To be fair it is no more than any FOSS devotee pushes their favourite
brand of Linux or Gcc.

Yes, it is. Far more.

Some people have it in their sigs.

Sigs are a different kettle of fish altogether. If Mr Navia wants a
four-line lcc ad in every single article he posts, the sig is the place
to put it. The content of sigs does not have to be topical and, AFAIK,
is allowed to be commercial.
You only have to ask what is the best compiler for windows and you get
a stream of people listing their favourite Gcc, Cygwin compiler (and
getting very annoyed when some one points out the best bet for a
novice is probably the Free MS VC express thingy)

The very, very best thing for a novice is to learn that the question
"which is the best" has no meaning until his meaning of "best" is
nailed down. Once that's done, the question is properly referred to
comp.os.ms-windows.programmer.win32 where the expertise exists to
answer the question properly.
Then it is followed by the usual voices suggesting the OP dumps it al
for Linux and Gcc...

Such suggestions would be more topical in a Linux or gcc newsgroup.

<snip>
 
K

Keith Thompson

Keith Thompson said:
"Racially pure"? What kind of nonsense is that? (I don't know what
you mean by AH and KR, but that's all right.)

My guess is that "KR" refers to Kernighan & Ritchie. Does AH refer to
Adolf Hitler? (That hadn't occurred to me until I saw Richard H's
followup.) Have you decided to give up on civility and become a
troll?
 
C

CBFalconer

Richard said:
Chris Hills said:
.... snip ...

If people here are discussing Linux or Unix, they're off-topic,
and no doubt someone will say so. But very few such discussions
actually occur, as far as I can tell, certainly when compared
with the number of times Mr Navia treats this group as a
marketing tool for his implementation.

As a one line refutation to Chris, gcc is advancing (slowly) to C99
conformance, while Microsoft is ignoring that advance.
 
C

CBFalconer

Richard said:
Chris Hills said:

So can Chuck.


Don't forget - he can answer who he likes, how he likes.

I THINK I made a fairly mild topical complaint, which has expanded
into something like 60 messages beating firmly on one another.
 
C

Chris Hills

CBFalconer said:
As a one line refutation to Chris, gcc is advancing (slowly) to C99
conformance, while Microsoft is ignoring that advance.

I am told that MS is very standards compliant these days.

BTW do MS do a C compiler? I thought it was C++
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top