i was looking for a way of compiling application for wince 5.0 x86 using VS. I found a thread Intel C++ Compiler for Windows CE where you mentioned ... "For Windows CE based on x86 architecture probably yes.... we just need to use general windows compiler."
I was wondering if you could provide more details on how to set up visual studio project.
To compile an application that targets the x86 cpu you need to create a new Smart Device application using Visual Studio and choose a platform that is x86.
During the wizard of a new application you get to a screen in which you choose your target platform (a list of installed SDKs is displayed). If you choose an SDK that is for x86, then the program will be compiled using the x86 option.
Bottom line, Visual Studio includes the compiler for x86 devices.
You can also do Pocket PC development without the usage of the full Visual Studio, this article was written on CodeProject which utilized the Express editions to enable development of Pocket PC applications.
Hope this helps,
Best regards,
Tom.
You need to install Microsoft ActiveSync 4.0 or later and the respective mobile SDK.
For ActiveSync 4.5: http://www.microsoft.com/windowsmobile/en-us/downloads/microsoft/activesync-download.mspx
Win CE 5.0 SDK:
http://www.microsoft.com/downloads/details.aspx?familyid=fa1a3d66-3f61-4ddc-9510-ae450e2318c3&displaylang=en
Happy Coding!
Related
I have tried and installed every possible combination of Intel SDK toolkits and Visual Studio (2017/19/21) in the hope that the OpenCL integrations (project templates, compiler, and header and libraries) would be added as described here:
https://www.intel.com/content/www/us/en/developer/articles/guide/quick-getting-started-guide-for-opencl-sdk-integration-in-iss-2019.html
It is not quite clear to me what toolkit is currently needed, the links to the Intel OpenCL SDK does not give a download link, but if found elsewehre it installs some version of an Intel System Studio. If trying to download the OpenCL tools I'm redirected to an Intel oneAPI for IoT which does not set up the bindings, and the Base oneAPI does not do it either.
Any help or ideas here would be appreciated?
I want develop Win32 and DirectX in Visual Studio Code.
I already installed gcc, mingw.
OS is windows10.
How do I setting it?
See Microsoft Docs for details on developing C++ code with VS Code.
The latest DirectX headers and link libraries are found in the Windows 10 SDK. Using the Visual C++ or clang/LLVM for Windows toolsets are the best options for consuming the latest Windows 10 SDK.
You may find the DirectX Tool Kit a useful starting point, although my tutorials focus on the Visual Studio MSBuild build environment. I also reference using CMake. You can use MSBuild through Visual Studio Community, and you can use CMake through either VS Community or VS Code.
I've installed Windows Phone SDK 8.0 and there are no project types for desktop windows RT applications.
How can I develop this type of applications?
Windows RT is not associated with the Phone SDK - it comes from the main desktop development environment.
Microsoft does not allow desktop apps to be built for Windows RT. The RT desktop is limited to make the office applications work, but does not include the full windows functionality.
To develop windows 8 desktop apps, you use Visual Studio as you would have in the past for desktop apps.
To build a windows store app you would go under c# and select Windows Store. Tutorials located at Microsoft. There you will get a selection of templates you can build from to make your app. I expect these templates will also build apps that can run on a Windows RT device. (I haven't tested that though)
Creating desktop applications for Windows RT?
Technically, you cannot develop Desktop Applications for Windows RT. Its not officially supported by Microsoft. You can develop Store Applications for it, though. Store Apps used to be called Metro Apps, but Microsoft was exposed to legal risk with the name (see Microsoft to drop 'Metro' name for Windows 8).
For hacking around the restriction, see Can ARM desktop programs be built using visual studio 2012. However, your app will likely be rejected from Microsoft's Windows Store if you submit it.
...are no project types for desktop windows RT applications.
Windows RT is there - you want a Windows Store app:
The Windows Store App project will define WINAPI_FAMILY=WINAPI_FAMILY_APP. It will have three platforms: X86, X64 and ARM. Windows RT Pro is X64. Windows RT is ARM. I'm not sure what X86 is classified as. For developers and engineers, its all just WINAPI_FAMILY=WINAPI_FAMILY_APP with three platforms. There's no difference between Pro and non-Pro under Visual Studio (some hand waiving).
For some good reading on WINAPI_FAMILY and platform detection, see Chuck Walbourn's three part series Dual-use Coding Techniques for Games.
With some hand waiving, the backend difference between Windows Phone and Windows Store is:
Windows RT uses the compiler located at
%VSINSTALLDIR%\VC\bin\x86_ARM\CL.exe
Windows Phone uses the compiler located at
%VSINSTALLDIR%\VC\WPSDK\WP80\bin\x86_arm\link.exe
Obviously, the paths change when platforms change. But the linker (link.exe) and other tools (like lib.exe) are in the same directory as the compiler.
The environment for Windows RT (ARM) is labeled Visual Studio 2012 ARM Cross Tools Command Prompt. You can find it at Start (what's left of it) → Program Files → Visual Studio 2012 → Visual Studio Tools:
The environment for Windows Phone (ARM) is labeled Visual Studio 2012 ARM Phone Tools Command Prompt:
Similarly, the environment for Windows Phone (X86) is labeled Visual Studio 2012 X86 Phone Tools Command Prompt; and Windows RT Pro (X64) is labeled Visual Studio 2012 X64 Cross Tools Command Prompt.
All the command prompts set the environment so INCLUDE, LIBPATH, PATH etc are ready for command line development. To date, that's all I have used because I have been porting libraries. I have not use Visual Studio for a project yet.
You will also want to look over Can ARM desktop programs be built using visual studio 2012 for the _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1 define.
Also see Jason Zander’s What you need to know about developing for Windows on ARM (WOA) on MSDN.
Finally, see Desktop apps ported to Windows RT on XDA Developers forum.
You can sort of hack Visual Studio 2012 and later to allow you to reference RT in windows desktop apps.
1.) Unload your project in Visual Studio
2.) Add a TargetPlatformVersion property to the project:
<PropertyGroup>
<TargetPlatformVersion>8.0</TargetPlatformVersion>
</PropertyGroup>
3.) Reload the project.
4.) Go to "Add Reference..."
5.) There should now be an additional Windows option on the left panel that allows you to add the Windows Core reference.
For more information see Using Windows 8* WinRT API from desktop applications
Windows Phone 8 and Windows 8 are two separate products and require 2 separate SDKs to develop for. Windows Phone 8 runs on mobile devices only, while Windows 8 runs on desktops, laptops and tablets.
All you need to do to build Windows 8 apps is a machine with Windows 8 and Visual Studio 2012 installed on it. You can use the 90 day evaluation for Windows 8 Enterprise with the Express (free) edition of Visual Studio to build such apps. If you are a student you get full version of Visual Studio for free via the Dreamspark program.
To develop Windows Store apps, you need Visual Studio 2012.
The Visual Studio Express that comes with the Windows Phone SDK does not have the templates for developing Windows Store apps.
i can't find this information anywhere. I know that if you install vs2010 express on a 32bit os you need the win7 sdk to build 64 bit, but is it the same the other way round?
EDIT - I am interested in the c++ version, but I guess it's probably the same for others
thanks
oli
By default VS2010 Express will only target Win32. It doesn't matter if you are running Win7-64, MSVC++ Express uses the 32-bit tools unless you install the SDK.
From MSDN:
64-bit tools are not available on Visual C++ Express by default. To enable 64-bit tools on Visual C++ Express, install the Windows Software Development Kit (SDK) in addition to Visual C++ Express.
I have been able to successfully build and deploy C# apps from a Win 7 64bit machine onto machines running 32 bit Windows XP, Vista and Win 7 without any extra SDK. So far I have had no issues.
Regards
AJ
I'm planning to develop an application targetting the Honeywell Dolphin 6100 running Win CE 5.0. The documentation for the platform SDK and device SDK say that VS2005 is required to use them.
I don't have a copy of VS2005 and since it's not sold or supported by MS any more, I'd much rather buy VS2010. Does anyone know if the Honeywell D6X00 SDKs are compatible with VS2010?
Thanks for your help!
Matt
You can get access to VS2005 or VS2008 by purchasing VS2010 Pro with a MSDN subscription. You can then download old versions of VS and other stuff from the MSDN site. This is the path I have taken as there is lots of info on the web about how VS2010 does not support Win CE 5.0. If you plan to only write straight C++, you can use embedded visual c++ 4.0 which you can download for free from MS. If you have a lot of UI code, you may want to get VS2005.
Good luck.
Visual Studio 2010 removed support for developing Windows Mobile devices (instead replacing that with support for Windows Phone) - you would need to get hold of Visual Studio 2008 (or 2005, as you mention), which should still be available.