WinUSB Tutorial from MSDN Microsoft - c++

I've been faced with problem to follow this tutorial of Write a Windows desktop app based on the WinUSB template from MSDN of Microsoft. Following the instructions, in the step where we need to create an WinUSB Application, the website tell us that two projects will be create, but in my application just one project is created.
I'm using Microsoft Visual Studio Community 2015, and I had installed the WDK. Note: I'm using Windows 10 64 bits.
Below is available the part of the tutorial saying that two projects was created:
Below is available a screenshot of my Solution Explorer:
Can you help me to figure out what it's happened and help me to solve this?

Actually, I'm working on a WinUSB project too. And, it seems like Microsoft split the WinUSB application and the driver package into two different projects.
You should be able to see each of the individual projects when you try to create a new project.
Check the picture below.
The WinUSB INF Driver Package project will contain the INF file you need.
WinUSB Projects

Related

Why can't I generate a solution for the C++ project (.cryproject)?

I am a beginner and follow the lessons from the c++ CryEngine documentation. But the problem is that I can't go any further until I generate a solution for the c++ project
I don't even have an icon for the corresponding buttons in the menu
I can provide a couple of screenshots
I tried different versions of the engine to solve the problem with generating the solution for the project, but all in vain
https://ibb.co/nL3SYKp
Open up Visual Studio Installer and make sure you have the latest Windows SDK installed, besides the one required by Cryengine.
For me it was Windows 11 SDK (10.0.22621.0).

Unity Universal Windows App Development

I am trying to create windows store build using Visual studio 17 with Universal Windows App Development tool.
When I create a build from unity, it creates a visual studio solution but finishes with a lot of errors.
When I try to build the resulting visual studio solution, it fails to generate a build.
I am attaching related settings and build outputs screenshot in sequence that I encounter them.
My unity build settings
Unity console errors on Build complete
Vs error on opening/building VS solution output
Can anybody help with this UWA tool. I am trying this for the first time.
It is because Unity .Net version and UWP .NET are not the same. They have much in common and also some differences.
For instance, you can build and import in VS. Then you have async/await available which are not in Unity.
For your case, here's an excerpt from there : https://msdn.microsoft.com/en-us/library/mt185488.aspx
"This topic displays the types in the System.Security and
System.Security.Principal namespaces that are included in .NET for UWP
apps. Note that .NET for UWP apps does not include all the members of
each type. For information about individual types, see the linked
topics. The documentation for a type indicates which members are
included in .NET for UWP apps."

Change C++ target application to XP

I built a C++ application with Microsoft Visual Studio 2012, but when tried it in Windows XP, it returns "not valid win 32 application".
I found some similar questions in stackoverflow and the msdn blog, and all of them say to change the toolkit plateform to XP, but in my case i didn't find this option.
I tried to make an update to the ** C++ redistrubitable** , but this doesn't solve the issue.
Does anyone have an idea about the problem?
You need to build your app using windows xp targeting tool set. You can download it here. More info on msdn.
The Microsoft website offers a great description of creating and modifying Win32 Applications.
They even offer a video that gives you a step by step on creating such a thing and any other questions you may have regarding Win32 applications.
Also, you can download and build your application using Windows XP Targeting Tool Set.

How do I connect an SDK to Visual Studio?

I'm very new to SDK. I don't know how to add SDKs I downloaded to Visual Studio.
To be more specific, I've downloaded the SDK from LEAP MOTION for Windows:
https://developer.leapmotion.com/dashboard
I am currently using Visual Studio 2012 and writting in C++.
I just want to know how to connect the SDK to VS, so I can use the methods provided by the
SDK.
Any help is greatly appreciated!
Import the DLL Libraries into your code using the reference adding and the using or import reference (depending prog language). There are DLL for X86 and X64 arquitectures, select the full filled compliment version for your project and machine. When your code has no errors pleas, copy the DLL into the Release and Debug folder manually or you will have runtime exceptions.
Regards
There should be some documentation on the Leap Motion website, if it's compatible with Visual Studio. Also, check out this link, it might help: http://jviaches.blogspot.com.au/2013/02/leap-motion-development-connection-and.html

Deploy a C program compiled in VS2010

I have a compiled an older C++ program that runs fine in debug mode in VS2010 converted to VC++ 6 but I have no idea how to package or deploy the application.
VS2010 may not have anything to do with deploying the program at all but I thought I should mention it.
The "release" folder not only contains the executable but some "obj", "tlog", "vc100.pdb", "exe.intermediate.manifest" and "lastbuildstate".
This application is being installed on Windows Mobile OS (hopefully). It isn't as simple as copying the executable to the device is it?
Do I need to create a cab file or msi and, if so, how?
I am absolutely new at this being spoiled in C# and MVC for far too long!
Visual Studio 2010 does not have any of the Smart Device compilers (managed or native) required to even build for Windows Mobile (not Windows Phone). You must use Visual Studio 2008 to build, deploy and/or debug.
EDIT
FWIW, Studio 2012 will have support for Smart Devices (Studio 2010 still won't get support) in Q1 of next year. Backward-compatibility has yet to be announced, but it's always possible that you'll be able to develop for WinMo devices using the ARM compiler. There's a video here detailng some of the features.
Have you done a search on google yet? While I don't know anything about deploying to a windows phone, a quick google search found a few hits.
I searched for 'deploy windows phone app' and found a few things. Among which are:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/gg588378(v=vs.92).aspx
http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff928362(v=vs.92).aspx
Last of all, it looks like this has been asked before on this website. For instance:
Can you install you own apps on your windows 7 phone