@grahamdearsley
Forum Replies Created
-
AuthorPosts
-
Yep SPD/DIF is one way. When I had a quick look at backplate connectors I found that the output type are common but the input type are much rarer and about twice the price.
I have SP/DIF in on my Windows system too. In my case I know that my Realtek codec supports it and there is a header on the motherboard for connecting a backplate mounted coax and optical input.
It turns out she was not telling me the whole truth, she DID have the Authenticator App installed on her iPad. Adding devices as trusted may well have fixed the problem but she was not interested in two step authentication so just deleting the App fixed the problem, on all devices.
Here is a copy of my security certificate, issued to Me, by Me 😉

I have now had a chance to test the installation process on another machine and it works fine with a few cravats.
The machine I tested on only has Windows Defender as it’s antivirus and it wasn’t bothered in the slightest. I get the same response on my machine but Avast brings up a warning and insists on doing a scan.
The PowerShell installation script is very well written and it doesn’t fail when it encounters an error, it asks if you would like it to make changes to your system instead.
The first error says you need to run PowerShell in admin mode to make the required changes to your system. When you hit enter an elevation box pops up and when you hit accept the script continues.
The next error is about cert signing and it asks if you would like to make changes to your system to allow the installation of this program or all programs from this author.
If you answer yes then you get the third error which says your system needs to be in developer mode to make the required changes. When you hit enter the control panel box for setting developer mode pops up so you can enable it.
Now with any luck the installation continues to”Sccess!” and the program appears in your installed apps list along with its Uninstall button.
Simple see :scratch:
https://1drv.ms/u/s!ApY7Ke0brhrm9QJ30i7O4IlSpZqz?e=PdPegt
If you wish to try installing my program then the folder from the above link needs to be downloaded first, then click through to App2/AppPackages/App2/App2 1.0.0.0_Test and find Add-AppDevPackages.psi, right click on that and choose Run with Powershell. This is where the cert problem will probably crop up. I would be interested to know what happens because I haven’t got another Windows machine handy to test it with :wacko:
I have a package !
Turns out I missed a tick box that said “Provide update server”, once I unticked that, on a previous page, I was able to continue with creating a self signed certificate and building the package.
I will provide a link in my next post but I’m not sure you will be able to install it because the cert will not be immediatly trusted on your machine.
I am not claiming the credit for that, it is the VS sample project with only “and Graham” added by me 😁.
I wanted to post a link to the compiled program so you could see it running, but even the release build doesn’t produce stand alone code so it only runs from inside Visual Studio.
It seems I must produce a UWP package but the package builder insists I supply a certificate (I think I can get a temporary MS signed one) and a URI (Yes not URL) for a hosting site that will provide updates (haven’t a clue).
If I try to run the program from outside of VS then it comes up with 5 or 6 missing DLL’s that I assume are generated by the package manager when I select a target platform.
In any case I would end up with a program that has to be installed before it can be run.
C++/WinRT sample project nearly in action (The cube spins when the program is running).

Oh yes, C++/WinRT.
C++/WinRT is an ISO compliant, header based, library for C++17 and above, it replaces C++/CX which was a non compliant language extension for C++11.
If I start a UWP C++ project in Visual Studio then the C++/WinRT library gets included and it also provides an XAML editor for good measure. Or so the doc’s say, haven’t actually tried it yet :rose:
The resulting compiled code still relies on the Windows runtime so it only works on W8 and above.
Thanks for the link Ed. I am aware of WPF and I will be looking at it in future but it uses XAML and is based on the .NET framework which would really require me to use a managed language like C#. Although it is possible to include managed code modules in a native C++ project I am nowhere near competent enough to do that yet :scratch:
I came back to the Programming Principles And Practice book because it uses example graphics classes to demonstrate class inheritance. I am currently stuck in a mire of base classes, templates, virtual functions and pure virtual functions with my other programming book so I was looking for other examples.
I was not previously able to work through the example code because it would not compile due to the faulty “std_lib_facilities.h” file, but now I can.
I was going to include a link to the source code for my FLTK Window program but it is part of a project that includes the compiled FLTK code and the Graphics class headers from the book. I cannot see a way to export a project so that it will compile from any location, the path names stay fixed so a copied project cannot find them. Any ideas ?
Hmm. Apparently the jpeg didn’t share if your not me ! Try this:
https://1drv.ms/u/s!ApY7Ke0brhrm9H7DY2Sv1_R5HJpp?e=Ee6yK8
Well my link seems to work but the direct link to the book site is now broken ! If you would still like a look then just go to http://www.stroustrup.com and find it from there.
To make my program display the image you have to download both files to the same folder and run the .EXE from there.
Ignore any warnings, I promise I am not trying to infect your PC :bye:
Well would you believe it ?
The support website http://www.stroustrup.com/programming for the book “Programming Principles And Practice” is finally in the process of being updated ! They have got as far as producing an updated listing for the bug riddled “std_lib_facilities.h” file so I copy and pasted it in to Visual Studio and finally got to work on the graphics classes in chapter 12.
Below is a link to the compiled result, I hope 🙂
https://1drv.ms/u/s!ApY7Ke0brhrm9HcBx0umtXjBIx6p?e=jJQwot
d
The base spec of you PC is fast enough to support almost any card, so the real question is ” How fast can you afford to go ?” 😁
At the VERY top end you would experience a small amount of bottlenecking but even then a faster card will run faster so fill your boots 😃
You said you updated the BIOS so make sure your SATA settings are AHCI as some new BIOS’s still insist on defaulting to IDE. Windows just will not work in UEFI mode with IDE drive settings.
Err, so EV’s loose 23% of the power that manages to get to the socket then Dave ?
If your’e not using 100% carbon free generation then there is the inefficiency of the whole thing to think about too.
If you burn fuel to make mechanical energy it is far from 100% efficient but at least if you burn the fuel in your car you can use that energy to drive the wheels directly.
For an electric vehicle you have to use mechanical energy to drive a generator which is far from 100% efficient.
Then you must send the electricity over a distribution network, which is less than 100% efficient.
Then you must use a charger to get the right Voltage/Current to charge your battery, which is not 100% efficient.
Then you must actually charge the battery, which is not 100% efficient.
Then you must release the electricity from the battery and regulate it, which is not 100% efficient.
And finally you must use a less than 100% efficient electric motor to produce mechanical power to drive the wheels.
All in all, its a wonder there is enough power left to actually go anywhere 😆
November 27, 2020 at 8:23 pm in reply to: Read First if flying on a Boeing 737 Max–or maybe not! #64237Above is the Guardians take on what was done to fix the problem.
The Intel assistant has never worked well for me either, usually gets as far as “scanning hardware” and then just sits there forever.
-
AuthorPosts
