|
-
January 27th, 2005, 05:45 PM
#1
SetComputerNameExA undeclared identifier
Hi,
I can't get my compiler to see SetComputerNameEx.
I included windows.h, kernel32.lib and I set the winver like so:
Code:
#define _WIN32_WINNT 0x0501
#define WINVER 0x0501
I installed the new sdk a few months ago and I can see the SetComputerNameEx in the winbase.h file, but my compiler can't see it.
What did I forget to do??
Thanks,
Best Regards,
--Zim If you find this post useful, please rate it.
_________________________________
"Have you the brain worms?!?!?"
-
January 27th, 2005, 05:52 PM
#2
Re: SetComputerNameExA undeclared identifier
Okay I fixed it.
I just moved the winver definitions to the top of StdAfx.h
Best Regards,
--Zim If you find this post useful, please rate it.
_________________________________
"Have you the brain worms?!?!?"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|