Posted on

Qt Application Hangs on Exit with vm3dgl64.dll

If you are running a Qt applications in VMware Workstation running VMware Tools 11.1.5 then this may happen to you too. Your program runs perfectly but when you try to exit the process hangs in the background.

To fix this, add this environment variable to disable opengl 3.x and drop down to opengl 2.1


See the following article for details

Posted on

Qt QComboBox to QStringList

Here is a function you can throw at the top of your .cpp file to convert any QComboBox into a QStringList.

static QStringList ComboBoxToStringList(
    QComboBox* comboBox)
    QStringList list;
    if(comboBox != nullptr)
        int index = 0;
        while(index < comboBox->count())
    return list;
Posted on

RED how to find a non-pointer variable


This means find the variable named “var” of type “VarType_t”

The variable must be defined on its own line because the ^\s* means find the line that starts with zero or more blank spaces or tabs.

The variable cannot be a pointer because the type is followed by [^\*]+ which means match any character except for ‘*’ one or more times

Posted on

How to remote desktop to Windows 10 Pro with a Microsoft Account

I won’t get into how annoying Windows can be about accounts and permissions. That’s more of a book than a quick blog post. But if you used your Microsoft account to login to your Windows 10 Pro computer and you want to use remote desktop from another computer to login…this is for you:

  1. on your host PC (the one you want to control remotely) – login using your Microsoft account and your password. do not use any other login method. from the login screen select the option to use your password. you must use your password.
  2. on your host PC enable remote desktop by opening the start menu and searching for remote desktop settings
  3. on your client PC, open your start menu and search for remote desktop connection
  4. enter the computer name or IP address and press connect
  5. when prompted for your login, use MicrosoftAccount\<your email address>
  6. enter your Microsoft password and it should work.

Good luck!

Posted on

How to use VS Code intellisense with Phaser 3

What is VS Code? It’s a nice text editor you can download for free here:

What is Phaser 3? It’s a nice game engine for web browsers you can download for free here:

How do you get VS Code to show Phaser documentation automatically in the editor? Create a text file named jsconfig.json in the root of your project folder that includes the Phaser types and your game code. The root of your project must contain folders that contain the code for Phaser and your game. For example, if your project folder is named “myProjectFolder” and your game code is stored in a folder called “src” and the Phaser 3 code is stored in a folder called “phaser” then here is your directory structure and jsconfig.json file’s contents:


  "include": [
  "files": [

After you create the jsconfig.json file and have saved it, close VS Code. The next time you open VS Code, select File->Open Folder and select your project root (“myProjectFolder” from our example”) and the Phaser information will be available after a short loading process completes.

Good luck!

Posted on

How to access Windows 10 c$ share

Open Settings ->Accounts

Click Add someone else to this PC to create a new user. Select “I don’t have an account” so that the user will be local only. After creating the user, click the name and Change Account Type, then select Administrator

Open regedit

Create this DWORD and set the value to 1


Posted on

Drifting away

Today I had a nice chat with someone named Hana using the Drift chat window on the website. They wanted to know more about how to use the Telnet connect to a VLC media player.

The good news is that I was able to find the information they needed. I did have to git clone the VLC source code and search through the Lua modules for the command they needed so it took about 30 minutes to find the answer.

The bad news is that the email address they gave me isn’t working so they can’t receive the invoice for my time or the answer to their question. Hopefully they were able to find the answer on their own.

If anyone else needs help finding an answer about a piece of software, network, or programming challenge, feel free to ask! I am happy to help with what I know and can even help find the answers I don’t know.

Posted on

TheoryBoard Unboxing

Here it is!

I am so impressed by the people who designed and developed the TheoryBoard. They launched a successful Kickstarter campaign and they not only delivered, but they really increased the value of their product by taking it from prototype to production while adding features and refinements all along the way.

Straight out of the box

I was able to quickly connect the TheoryBoard to my MacBook Pro, open Cubase, and begin recording. The USB cable is all you need if you are using a PC or Mac. I did test it with both external power and USB power only. It works really well!

Powered on and connected via USB

Since I didn’t watch the tutorial yet, here is me just exploring a little. 🙂

Select a scale and test

What I like:
– plug and play
– excellent build quality
– plays chords and scales that sound great without any knowledge of music theory
– light weight and easy to carry
– non-slip base
– pressure-sensitive lighted buttons

What can be improved:

– the symbols for the central display buttons that affect the current scale are not documented in the boxed literature or within the menu system, I’ll have to go online to learn more

– the lighted buttons are pressure-sensitive but require some finesse that I don’t yet have. Sometimes I was able to get the results I desired but there were also times where the result was louder or quieter than expected. Changing the algorithm used for debouncing these inputs might be able to improve this

– the central display indicates when a button is pressed but the lighted buttons themselves do not, it’s personal preference, but I’d like the button I press to dim or turn off for a moment so I know the press was registered there as well

Take aways:

I love this MIDI instrument. My only concern is that I won’t get used to the somewhat finicky response of the lighted buttons. Again, that might be user error, but it definitely has room for improvement. This has been a great first user experience and the bonus of following along with the development of this product has made this a great Kickstarter experience as well.

I’ll try to post again after I have had enough time to really learn how to use this instrument, but if you have the chance to pick one up sooner then I highly recommend you do!