From: DS on
Yes, after I did a clean and rebuild all no message was displayed, so I hope
i can safely rule out that this directive is set.


"David Lowndes" <davidl(a)example.invalid> wrote in message
news:9m95k1l32ou921nso4vgrbna2n5piaaeuj(a)4ax.com...
> >well actually, i added this to see, and didn't return anything:
>
> Do you mean that it didn't output "Mean and lean"?
>
> Have you got the symbol VC_EXTRALEAN defined?
>
> Dave
> --
> MVP VC++ FAQ: http://www.mvps.org/vcfaq


From: Skywing on
Are the Platform SDK headers placed above or below the built-in VC SDK
headers?

It sounds like you might be using the (ancient) built-in VC SDK headers
instead of the headers installed by the Platform SDK.

For VC7:

Tools->Options->Projects->VC++ Directories

For VC6:

Tools->Options->Directories

"DS" <ikoonman(a)hotmail.com> wrote in message
news:O5PFtAOyFHA.1132(a)TK2MSFTNGP10.phx.gbl...
>I am sure this has been covered before but I can't find any references to
> it.
>
> I need to suspend an active thread using SuspendThread and ResumeThread.
> My
> problem is I need to use OpenThread to get the handle in order to pause
> it.
> But when compiling my VC++ app cannot find it.
>
> I get "error C2065: 'OpenThread' : undeclared identifier"
>
> I have the latest W2K SDK installed and can see the definition in
> winbase.h,
> but cannot understand why it doesn't want to compile. Am I missing
> aditional
> libraries which I should include (apart from kernel32.lib)?
>
> Any advice would be greatly appreciated.
> DS
>
>


From: Waleri Todorov on
> I need to suspend an active thread using SuspendThread and ResumeThread. My
> problem is I need to use OpenThread to get the handle in order to pause it.
> But when compiling my VC++ app cannot find it.
>
> I get "error C2065: 'OpenThread' : undeclared identifier"
>
> I have the latest W2K SDK installed and can see the definition in winbase.h,
> but cannot understand why it doesn't want to compile. Am I missing aditional
> libraries which I should include (apart from kernel32.lib)?

Check, whether you define WINVER/_WIN32_WINNT values or not. They define
which SDK version to use, so you might have latest SDK and still compile
for an earlier one

If you define those values, either remove the definitions (and let the
SDK use its default values) or set version to at least 0x500

Also, make sure your SDK include folder is first in include directory
list (or at least before the default compiler's include directory)
From: TC on
Why do you want to suspend a thread?

TC

From: DS on
by suspending the primary thread of an app you can temporarily suspend an
app if you have sufficient rights, or so i am told

"TC" <aatcbbtccctc(a)yahoo.com> wrote in message
news:1128488111.274229.88050(a)z14g2000cwz.googlegroups.com...
> Why do you want to suspend a thread?
>
> TC
>