DirectX SDK (June 2010) Installation: Error Code S1023 - directx

So I got error S1023 for my installation. I don't want to install the SDK anymore on this computer but the installer left programs that now i can't uninstall. EX:DirectX Control Panel. Tried running the uninstaller located in C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\system\uninstall but it says i need to launch it from the control panel. Directx SDK doesn't even show up on the control panel!! What do i do ?

The legacy DirectX SDK has a few known issues including the one that gives rise to S1023. See this blog post.
You can just delete the folder and then remove any short-cuts that no longer work.
Note that the latest versions of DirectX Control Panel are included in the Windows SDK.

Related

Delphi 10.3 (Rio) Community Edition, opening project doesn't open any source files

I have installed Delphi 10.3 (Rio) Community Edition on two workstations. Both installations have the same issue.
When I open a Delphi project, none of the source files or form units are opened along with it. I have to either open them manually or via Project > View source and Open file at cursor
I have Delphi 10.4 (Sydney) Professional installed on my company laptop. Here it works as expected; upon opening the project, at least the main form unit is opened along with it.
Is this a setting that I'm overlooking, or is it just the way the community edition IDE works now?
You can get the IDE to remember which files you have open by checking Project Desktop in Tools->Options->Environment Options->Autosave options.
In Delphi 10.4 Sydney, the setting has been relocated to Tools->Options->IDE->Saving and Desktop->Autosave, where the checkbox is captioned Save project desktop when closing.

DirectX on Windows 10 and Visual Studio 2013 Express

I have installed Windows SDK on my Windows 10 laptop. However, there are assembly references to Microsoft.DirectX, Microsoft.DirectX.Direct3D, Microsoft.DirectX.Direct3DX and Microsoft.DirectX.DirectInput in my code. These are generating the error - The type or namespace name directx does not exist in the namespace Microsoft when i compile my code. Do I have to point my code to the directx header files that are installed within the Windows SDK. These are available at C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\cppwinrt\winrt\impl. If so, how do I point my code there. The directx files there are Windows.Graphics.DirectX.0, Windows.Graphics.DirectX.1 and so on and so forth. Should these be referenced instead of Microsoft.DirectX, Microsoft.DirectX.Direct3D, Microsoft.DirectX.Direct3DX and Microsoft.DirectX.DirectInput. If so, how?
The Microsoft.DirectX.* assemblies are the legacy Managed DX 1.1 assemblies that only shipped in the legacy DirectX SDK. They have nothing at all to do with the Windows Runtime APIs or C++/WinRT language projections. They never shipped in any Windows 10 SDK and are only deployed by the legacy DXSETUP package.
See this blog post and this blog post.
A recommended replacement is to use SharpDX or SlimDX.
SlimDX is no longer an active project, but it is still a good option for a direct replacement of legacy Managed DX 1.1

Monogame: no sound effects until DirectX reinstalled.

Environment: Windows 10 (fresh install), using Monogame 3.6 (same goes for 3.5 for this matter) on DirectX projects.
Problem: I can’t hear any sound effect unless I reinstall DirectX.
Before reinstalling DirectX, there is no exception or status information I could use to trace why the sound is not audible. After reinstalling, it just works. Same code, even same binary.
I don’t want my users to have to reinstall DX. This will be awkward as Win10 comes with DX pre-installed.
So I wonder if someone knows which additional DX libraries I may include in project folder so that the sound effects are audible without reinstalling DX?
It's important to understand that you cannot "Install DirectX" on Windows 10 or any version of Windows back to Windows XP Service Pack 2. The DirectX End-User Runtime package (a.k.a DXSETUP) doesn't actually install Direct3D, DirectPlay, DirectSound, etc. It doesn't even include the CABs needed to install DirectX on older versions of Windows.
Not So Direct Setup
The version of "DirectX" installed is only ever updated via Windows Update, installing a new version of Windows, or some kind of Service Pack. Windows 10 includes all supported components of DirectX 9.0c, DirectX 10.x, DirectX 11.x, and DirectX 12.0 as part of the OS.
Direct3D 11 Deployment for Game Developers
What the DirectX End-User Runtime package does install is the various legacy side-by-side helper components: D3DX9, D3DX10, D3DX12, XAUDIO2.7 or earlier, XINPUT 1.3 or earlier, XACTENGINE, and the legacy Managed DirectX 1.1 assemblies. That's it. Furthermore, it installs about 100 MB of these things including every version that has ever shipped for both x86 and x64, which means your game is never going to use most of them. Likely Monogame is set up to use XAudio 2.7 which is the last version of XAudio to support Windows 7. As such, it needs just a handful of CABs from DXSETUP.
KB179113: How to install the latest version of DirectX
XAudio2 and Windows 8
Finally, the DXSETUP files that shipped in the end-of-life DirectX SDK (June 2010) are actually not the latest version of the DirectX End-User Runtime. I fixed a number of bugs in an online only April 2011 refresh.
DXSETUP Update

XBOX LIVE NuGet for UWP Games with DirectX: How to install the nuget?

I have a problem and I was wondering if anyone could help me. In a nutshell:
I applied to the Creators Program,
I downloaded the SDK for XBOX Live,
I upgraded my Visual Studio 2015 to the Update 3
I installed the latest Windows 10 SDK, as instructed
I created a brand new title, and
I have a game as a UWP app using DirectX (I have not released, it is a brand new game that I was going to release at the Windows store eventually).
My Problem is:
At the step where it says to link the XBOX Live NuGet, I just cannot find it on the list.
I already browsed the entire SDK, and I cannot find any "readme" or "help" documentation that could guide me about how to install it.
My Question is:
Does anyone know how I can install it, or would it be better if I go through the "Add a reference to the source code" instead?
To add references to Xbox Live API NuGet packages in your project, in Visual Studio go to “Manage Nuget Packages”
You can enter “Xbox Live” (without quotes) in the search field in NuGet and you will find four variants of the Xbox Live API.
Choose the C++ for UWP Nuget package.
More information can be found at: https://developer.microsoft.com/en-us/games/xbox/docs/xboxlive/get-started/creators/getting-started-uwp-vs-creators

Where can I find the latest version of XNA to download?

I'm using Visual Studio 2010 Ultimate and I after searching for XNA Download on google, I found this page:
http://blogs.msdn.com/b/xna/archive/2010/09/16/xna-game-studio-4-0-available-for-download.aspx
Following the link there, I get to this page:
http://create.msdn.com/en-US/SiteError.aspx?404;aspx&404;http://create.msdn.com:80/launchcenter?lc=1033
So this is kind of confusing for someone starting out.
What is the latest release version of XNA I can use for PC/WP7 game development?
Where can I find the installer to download it?
I don't need a bootstrapper to download Visual Studio for me, as I already has the IDE installed. Thank you!
Here: Microsoft XNA Game Studio 4.0 download.
Also see Windows Phone Developer Tools: Offline ISO Image.
But note that the Web Installer available here will only download and install what you need. Since you already have Visual Studio, it will just integrate itself nicely.
The latest version is XNA 4.0. The bootstrapper is a smart installer and only installs the components you are missing. For example if you have Visual Studio 2010 Ultimate then it is not going to install the Express version as well. It also includes a Windows Phone emulator if you are interested in that. And here's the direct link to the installer.

Resources