Function does not exist in winbase.h 
Author Message
 Function does not exist in winbase.h

I am trying to use the GetComputerNameEx() function, which should be
declared in winbase.h but on my PC it isn't.  I use Visual C++ 6.0
Enterprise Edition on W2000 which supports this function.

Even if I declare the function prototype myself the compiler cannot find the
function definition and stops with a link error.  Is there an upgrade or a
service patch that fixes this?  Or anything?



Tue, 15 Jun 2004 02:24:17 GMT  
 Function does not exist in winbase.h
You need to install the platform sdk.

http://msdn.microsoft.com/platformsdk


Quote:
> I am trying to use the GetComputerNameEx() function, which should be
> declared in winbase.h but on my PC it isn't.  I use Visual C++ 6.0
> Enterprise Edition on W2000 which supports this function.

> Even if I declare the function prototype myself the compiler cannot find the
> function definition and stops with a link error.  Is there an upgrade or a
> service patch that fixes this?  Or anything?



Tue, 15 Jun 2004 12:09:02 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. 16 bit function now defined in winbase

2. static member inheritance not doing what I want...

3. Class not registered when doing COM interop

4. Strings doing what they are not supposed to...???

5. _open not doing the right thing

6. Enter key on dialog embedded in dialog not doing OnOK

7. ShellExecute does not exit when done

8. CTreeCtrl is not doing the business

9. AppWizzard not doing static dll option

10. List Box - Add item does option does not exist as in VB.

11. custom control namespace does not exist

12. System.Web.Mail namespace does not exist???

 

 
Powered by phpBB® Forum Software