windows.h not part of C++ Express edition?
I downloaded C++ Express, hoping to compile a DLL for a Java/JNI example. The DLL source included "windows.h" and "winbase.h". I can not find these anywhere. Are these not part of the Express editiion, or did I somehow goof up the install?
[267 byte] By [
agarcia] at [2008-2-23]
I also just downloaded and installed C++ Express and like you got the "Cannot open include file: 'windows.h': No such file or directory" error.
I found in another forum a suggestion to create a "PlatformSDK" folder in the "Microsoft Visual Studio 8" and copy the folders "VC\bin", "VC\include", and "VC\lib" into it. I did this to no avail. What I should have done first was to search the contents of the install folder and notice that "windows.h" does not exist in the distribution!
There must be a way to make this work. Any ideas?
OK - after a bit more searching it turns out there are additional steps before Express is a viable tool to begin using. Of course this is not clearly spelled out on the download page. I was able to get my Express to compile after following the steps on this web page and then restarting Express.
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
Hope this helps