winNT.h "missing ';' before identifier 'PVOID64'" fix
#1

This Guide is for all the new people that want to start a lc server and cant get past the  before identifier 'PVOID64 error in vs2010.

How to fix

1. open the path called 

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include

2. look for the file called winNT.h

3.Open it up with notepad++ or what ever you use

4. go to line 290 and you find this typedef void * POINTER_64 PVOID64;

5. change typedef void * POINTER_64 PVOID64; to typedef void * __ptr64 PVOID64; .

#2

or just include `Windows SDK` before `DirectX SDK` in VC++ Directories

but the problem is when you have `DirectX SDK` installed, not just unpacked

 

#3

DONT EVER EDIT THE HEADER FILES FOR WINDOWS 100000% THIS IS WRONG BAD INFORMATION. Karmel is the correct way. VOGEL GET YOUR [CeNsOrEd] TOGETHERMAN THIS IS FAKENEWS!

#4

Reza have right ... you can not simpli edit the "winnt.h" lib. You should never touch the basic libraries ... is like try to change the iostream / unistd lib ? 



Forum Jump:


Users browsing this thread: 2 Guest(s)