Hi all,
I have a WDF driver source code developed for a PCI express device on windows 7 x64 platform. . I have to port the driver and the application from windows 7 x64 to windows 8 x64…
- I have integrated WDK and Visual studio 2012 in win 8. I have taken the Win7 driver and application source codes, build them on this integrated environment but it gives
fatal error C1189: #error : “No Target Architecture”. should I have to uninstall the DDK/WDK and install it again?
roots of the problem traced to “ntdef.h”. I have attached a code snippet in ntdef.h
#elif !defined(RC_INVOKED)
#error “No Target Architecture”
#endif
- I have changed the Target machine type in VS 2012 to x64 and tried, but the results are the same. So I would like to know if we have to introduce some changes in the VS environment because of its integration with WDK 8.0?
Thanks & regards,
Tancy
>I have integrated WDK and Visual studio 2012 in win 8. I have taken the
Win7 driver and application source codes, build them >on this integrated
environment but it gives
How did you integrate the code into the environment? Did you run the sources
conversion utility (File->Open->Convert sources/dirs…) or did you try to
do it by hand?
-scott
OSR
wrote in message news:xxxxx@ntdev…
Hi all,
I have a WDF driver source code developed for a PCI express device on
windows 7 x64 platform. . I have to port the driver and the application from
windows 7 x64 to windows 8 x64…
- I have integrated WDK and Visual studio 2012 in win 8. I have taken the
Win7 driver and application source codes, build them on this integrated
environment but it gives
fatal error C1189: #error : “No Target Architecture”. should I have to
uninstall the DDK/WDK and install it again?
roots of the problem traced to “ntdef.h”. I have attached a code snippet in
ntdef.h
#elif !defined(RC_INVOKED)
#error “No Target Architecture”
#endif
- I have changed the Target machine type in VS 2012 to x64 and tried, but
the results are the same. So I would like to know if we have to introduce
some changes in the VS environment because of its integration with WDK 8.0?
Thanks & regards,
Tancy
For 1), how did you specifically (with details) port to a vs2012 project? Did you use the nmake2msbuild.exe tool the wdk supplied or did you port it by hand?
d
Bent from my phone
From: xxxxx@tataelxsi.co.inmailto:xxxxx
Sent: ?4/?3/?2013 3:20 AM
To: Windows System Software Devs Interest Listmailto:xxxxx
Subject: [ntdev] Porting WDF windows 7 driver onto Windows8 platform
Hi all,
I have a WDF driver source code developed for a PCI express device on windows 7 x64 platform. . I have to port the driver and the application from windows 7 x64 to windows 8 x64…
1. I have integrated WDK and Visual studio 2012 in win 8. I have taken the Win7 driver and application source codes, build them on this integrated environment but it gives
fatal error C1189: #error : “No Target Architecture”. should I have to uninstall the DDK/WDK and install it again?
roots of the problem traced to “ntdef.h”. I have attached a code snippet in ntdef.h
#elif !defined(RC_INVOKED)
#error “No Target Architecture”
#endif
2. I have changed the Target machine type in VS 2012 to x64 and tried, but the results are the same. So I would like to know if we have to introduce some changes in the VS environment because of its integration with WDK 8.0?
Thanks & regards,
Tancy
—
NTDEV is sponsored by OSR
OSR is HIRING!! See http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</mailto:xxxxx></mailto:xxxxx>
>have to port the driver and the application from windows 7 x64 to windows 8 x64…
No need in porting, the 99% of chances that it will just work on Win8.
–
Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com