Google 網路論壇不再支援新的 Usenet 貼文或訂閱項目,但過往內容仍可供查看。

ServProv.h problem for first time Win32 API user

瀏覽次數:10 次
跳到第一則未讀訊息

moschops

未讀,
2007年8月7日 下午2:20:022007/8/7
收件者:
Hello chaps.

I decided to have a go at using the Win API. Long time C++ coder, first
time coding the Win API. I banged out some lines.

#include <windows.h>

int main (void)

{
return 0;
}


Result: No dice. An error tucked away in ServProv.h, apparently. Seemed
odd, so I wrote this:

#include <ServProv.h>

int main (void)

{
return 0;
}


Same errors;

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\ServProv.h(113): warning C4094: untagged
'struct' declared no symbols
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\ServProv.h(106): error C2283:
'__unnamed::QueryService' : pure specifier not allowed on unnamed struct


Since I'm doing nothing other than including a standard header file, I
must be really, REALLY missing the point here. Could someone please
enlighten me as to what I'm doing wrong?

Moschops

moschops

未讀,
2008年1月24日 下午4:30:002008/1/24
收件者:
There are many who do not believe
solely from wickedness. Few are between the two.

In this I do not include those who are of truly pious character, nor all
those who believe from a feeling in their heart.

257. There are only three kinds of persons; those who serve God, having
found Him; others who are occupied in seeking Him, not having found Him;
while the remainder live without seeking Him and without having found Him.
The first are reasonable and happy, the last are foolish and unhappy; those
between are unhappy and reasonable.

258. Unusquisque sibi Deum fingit.[37]

Disgust

259. Ordinary people have the power of not thinking of that about which they
do not wish to think. "Do not meditate on the passages about the Messiah,
said the Jew to his son. Thus our people often act. Thus are false religions
preserved, and even the true one, in regard to many persons.

But there are some who have not the power of thus preventing thought, and
who think so much the more as they are forbidden. These undo false religions
and even the true one, if they do not find solid arguments.

260. They hide themselves in the press and call numbers to their rescue.
Tumult.

Authority.--So far from making it a rule to believe a thing because you have
heard it, you ought to believe nothing without putting yourself into the
position as if you had never heard it.

It is your own assent to you


0 則新訊息