Hi,

A lot of things has been going on since the previous blog post.

First of all I released the vamp# software to the public. It still lacks the proper DVD playback possibility though. First notification of the possibility of this software was mentioned in the blog post called "Silence might be good.." - so lots of hefty coding has been done with a 66 page instruction manual (with lots of pictures - of course ).

A few "side" libraries did spawn with the project as the goal was to make the solution to a single project solution 

Going nuts  - no going NuGet phase has been completed (wow ).. The next phase is to go to the GitHub which has already started - after that I'll "flatten" the SVN repository on the NAS as it already takes 26 gigabytes of disk space and the repository contains lots of and lots of useless stuff ():

"The long winter is coming.."

I do hate the autumn as it rains all the time and everything is getting wet, cold and dark (I do live in the Scandinavia, Finland)   - so do develop a bird feeding place to help them to keep alive through the winter  

 

A holiday.. I do think I'll take a few weeks of from the "hobby" as the previously mentioned word should never mean stressful ( 

 

TODO

  • Save the world from Trump  
  • Stuff..  

Have fun again and don't let the winter get to you  

- Be seeing you all..

Hi,

Now all libraries which are under development and are published on the web site have been published at nuget.org.

At least I'm going to use them in my projects as it's easier than to add SVN externals to your project directory and manually add the assemblies to the References list of a project.

So the developing just got a bit easier!

 

BTW: There are now 12 NuGet packages published.. and some have dependencies to another of them, some have dependencies to packages not made by me. Also the links to the nuget.org have been added for the libraries on this site. 

Hi,

As I'm doing this HTPC software all by my self I created a class to help with System.Windows.Forms.Message to access hParam and wParam low and high words, as of yet I didn't found any use for that so have fun with it as I release it to the public domain

 

The code is as follows:

#region License
/*
This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <http://unlicense.org/>
*/

// PS. (C) VPKSoft 2018..
#endregion

using System;
using System.Windows.Forms;

#pragma warning disable CS1587 
/// <summary>
/// A name space for the MessageHelper class.
/// </summary>
#pragma warning restore CS1587 // XML comment is not placed on a valid language element
namespace VPKSoft.MessageHelper
{
    /// <summary>
    /// A class to help with Message class in such cases as an overridden Control.WndProc Method.
    /// </summary>
    public static class MessageHelper
    {
        /// <summary>
        /// Posted to a window when the cursor moves.
        /// </summary>
        public const int WM_MOUSEMOVE = 0x0200; // Posted to a window when the cursor moves.

        /// <summary>
        /// // Posted to a window when the cursor leaves the client area of the window specified in a prior call to TrackMouseEvent.
        /// </summary>
        public const int WM_MOUSELEAVE = 0x02A3; // Posted to a window when the cursor leaves the client area of the window specified in a prior call to TrackMouseEvent.

        /// <summary>
        /// Sent to the window that is losing the mouse capture.
        /// </summary>
        public const int WM_CAPTURECHANGED = 0x0215; // Sent to the window that is losing the mouse capture.

        /// <summary>
        /// The CTRL key is down.
        /// </summary>
        public const int MK_CONTROL = 0x0008; // The CTRL key is down.

        /// <summary>
        /// The left mouse button is down.
        /// </summary>
        public const int MK_LBUTTON = 0x0001; // The left mouse button is down.

        /// <summary>
        /// The middle mouse button is down.
        /// </summary>
        public const int MK_MBUTTON = 0x0010; // The middle mouse button is down.

        /// <summary>
        /// The right mouse button is down.
        /// </summary>
        public const int MK_RBUTTON = 0x0002; // The right mouse button is down.

        /// <summary>
        /// The SHIFT key is down.
        /// </summary>
        public const int MK_SHIFT = 0x0004; // The SHIFT key is down.

        /// <summary>
        /// The first X button is down.
        /// </summary>
        public const int MK_XBUTTON1 = 0x0020; // The first X button is down.

        /// <summary>
        /// // The second X button is down.
        /// </summary>
        public const int MK_XBUTTON2 = 0x0040; // The second X button is down.

        /// <summary>
        /// Gets the low order word of the lParam's value.
        /// </summary>
        /// <param name="message">A message of which low order word of the lParam's value to get.</param>
        /// <returns>The low order word of the lParam's value.</returns>
        public static int LParamLoWord(this Message message)
        {
            return BitConverter.ToInt16(BitConverter.GetBytes((int)message.LParam), 0);
        }

        /// <summary>
        /// Gets the high order word of the lParam's value.
        /// </summary>
        /// <param name="message">A message of which high order word of the lParam's value to get.</param>
        /// <returns>The high order word of the lParam's value.</returns>
        public static int LParamHiWord(this Message message)
        {
            return BitConverter.ToInt16(BitConverter.GetBytes((int)message.LParam), 2);
        }

        /// <summary>
        /// Gets the low order word of the wParam's value.
        /// </summary>
        /// <param name="message">A message of which low order word of the wParam's value to get.</param>
        /// <returns>The low order word of the wParam's value.</returns>
        public static int WParamLoWord(this Message message)
        {
            return BitConverter.ToInt16(BitConverter.GetBytes((int)message.WParam), 0);
        }

        /// <summary>
        /// Gets the high order word of the wParam's value.
        /// </summary>
        /// <param name="message">A message of which high order word of the wParam's value to get.</param>
        /// <returns>The high order word of the wParam's value.</returns>
        public static int WParamHiWord(this Message message)
        {
            return BitConverter.ToInt16(BitConverter.GetBytes((int)message.WParam), 2);
        }

        /// <summary>
        /// Gets the low order word of the lParam's value unsigned.
        /// </summary>
        /// <param name="message">A message of which low order word of the lParam's value to get unsigned.</param>
        /// <returns>The low order word of the lParam's value unsigned.</returns>
        public static uint LParamLoWordUnsigned(this Message message)
        {
            return BitConverter.ToUInt16(BitConverter.GetBytes((int)message.LParam), 0);
        }

        /// <summary>
        /// Gets the high order word of the lParam's value unsigned.
        /// </summary>
        /// <param name="message">A message of which high order word of the lParam's value to get unsigned.</param>
        /// <returns>The high order word of the lParam's value unsigned.</returns>
        public static uint LParamHiWordUnsigned(this Message message)
        {
            return BitConverter.ToUInt16(BitConverter.GetBytes((int)message.LParam), 2);
        }

        /// <summary>
        /// Gets the low order word of the wParam's value unsigned.
        /// </summary>
        /// <param name="message">A message of which low order word of the wParam's value to get unsigned.</param>
        /// <returns>The low order word of the wParam's value unsigned.</returns>
        public static uint WParamLoWordUnsigned(this Message message)
        {
            return BitConverter.ToUInt16(BitConverter.GetBytes((int)message.WParam), 0);
        }

        /// <summary>
        /// Gets the high order word of the wParam's value unsigned.
        /// </summary>
        /// <param name="message">A message of which high order word of the wParam's value to get unsigned.</param>
        /// <returns>The high order word of the wParam's value unsigned.</returns>
        public static uint WParamHiWordUnsigned(this Message message)
        {
            return BitConverter.ToUInt16(BitConverter.GetBytes((int)message.WParam), 2);
        }
    }
}

 

See you later..  

 

Hi,

I added a possibility to get a NuGet package from nuget.org to the first library.

This should help as you now more have to check for updates from the website - source code and releases are being kept in sync with the website as well. 

So the first library - VPKSoft.Utils is now also available as a NuGet package, more of them will get there as I have the time. 

An updated download section at the bottom of the library's page

A Visual Studio 2017 Community Edition displaying the nuget

 

Have fun again  

 

Hi,

It has been a few to 6 months since last time I released or posted something here, no to tell the reason.

I have been working on a software which would somewhat replace the KODI software for my HTPC as the system seems to be low on resources - the KODI is just unable to present suitable video playback.

So as a solution I started creating a new software - as there is no other way to fix the problem (of course) 

To create a new HTPC solution from scratch is somewhat time consuming.. 

The recipe goes as follows

  • Find suitable libraries for video and audio playback
  • Find suitable libraries for full screen web browsing
  • Do code as a maniac
  • Do remember to relax
  • And do think what other users might have to expect for the software to do
  • Use the "nightly" release to do what you might expect and be prepared for a catastrophic disappointment   
  • The name of the software to become, I decided to name it as vamp# (video amp) as the audio software this is using via WCF will be the amp#

 

The project seems to be creating a lot of side projects - with Windows.Forms, reminder: Learn something more efficient ..

 

 

So to the conclusion, it might take another six months before this project will released as I'm doing this as a hobby, not as work.

By the way I try not to release any beta version of any software, so just email me or contact me other way if you found more bugs on the previously released software however I use my laziness as an excuse to do nothing.

 

A teaser :

 

 

The most time consuming issue seem to be a license compatibility with the GLPv3 - someone (hopefully not me) should construct a mind-map or a software to see the compatibility with the selected license .   

 

TODO

  • Make it work
  • Have the time to make it work
  • Release the updated projects such as amp# before releasing this project
  • Lot more of of this hobby
  • Duplicate the amount of swearing out loud 

I have not spared any resources on this one, all the images used in the software are PNG images sized enough to scale to a 4K television and this is made possible by the openclipart.org with an excellent selection of image as I don't have any visually artistic talents.

 

The resources

As I mentioned before I have spared no resources - first the working directory

 

NSIS creating an installer with the best compression (took about 7 minutes with a Intel(R) Core(TM) i7-4770K CPU @ 3500 GHz whit a SSD drive):

 

Surprise, the size is now a lot smaller  !

 

See you all at the next time (TODO:: update the manifesto of something to support the GDPR)..