VS2008 build error

Hi, I have a demo programe download from codeproject.com ,is about NPAPI plugins use vs2008 build,i can build win32 sucess,but win64 is error

Deleting intermediate file and output file for project “npcodeproject” (configuration “Debug | x64”)
1> Compiling …
1>np_entry.cpp
1>D:\Program Files\Microsoft SDKs\Windows\v7.1\Include\winnt.h(135) : fatal error C1189: #error : "No Target Architecture"
1>npn_gate.cpp
1>D:\Program Files\Microsoft SDKs\Windows\v7.1\Include\winnt.h(135) : fatal error C1189: #error : "No Target Architecture"
1>npp_gate.cpp
1>D:\Program Files\Microsoft SDKs\Windows\v7.1\Include\winnt.h(135) : fatal error C1189: #error : "No Target Architecture"
1>NPString.cpp
1>D:\Program Files\Microsoft SDKs\Windows\v7.1\Include\winnt.h(135) : fatal error C1189: #error : "No Target Architecture"
1>plugin.cpp
1>D:\Program Files\Microsoft SDKs\Windows\v7.1\Include\winnt.h(135) : fatal error C1189: #error : “No Target Architecture”

winnt.h file :
#if defined(AMD64)
#define PROBE_ALIGNMENT( _s ) TYPE_ALIGNMENT( DWORD )
#elif defined(IA64)
#define PROBE_ALIGNMENT( _s ) (TYPE_ALIGNMENT( _s ) > TYPE_ALIGNMENT( DWORD ) ?
TYPE_ALIGNMENT( _s ) : TYPE_ALIGNMENT( DWORD ))
#else
#error “No Target Architecture”
#endif

after add AMD64 macro,also has error

"_CONTEXT": "struct" type redefinition

is anyone can help me ?it confuse me many days

NPAPI plugins (except a couple whitlisted ones) have been removed and banned in Firefox.

Are you sure you want to pursue NPAPI? You should use instead native messaging: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Native_messaging

NPAPI plugins after signed ,it can be used in lastest version firefox .

Oh interesting, I didn’t know that thanks for sharing!

You can also do that with native messaging.

I’m not sure about NPAPI otherwise I would help.