![]() |
|
winNT.h "missing ';' before identifier 'PVOID64'" fix - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193) +---- Forum: Tutorials & Guides (https://lckb.dev/forum/forumdisplay.php?fid=124) +----- Forum: General Guides (https://lckb.dev/forum/forumdisplay.php?fid=194) +----- Thread: winNT.h "missing ';' before identifier 'PVOID64'" fix (/showthread.php?tid=4681) |
- Vogelj1988 - 01-24-2021 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; . - Karmel - 01-24-2021 or just include `Windows SDK` before `DirectX SDK` in VC++ Directories but the problem is when you have `DirectX SDK` installed, not just unpacked - Reza - 01-29-2021 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! - Scura - 03-16-2021 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 ? |