Skip to main content

Posts

Showing posts from February, 2014

Read 64-bit registry key from 32-bit process in IronPython using WMI

References: http://msdn.microsoft.com/en-us/library/aa393297(v=vs.85).aspx http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_23080571.html Note(s): This is not reliable on Windows 10 or maybe related to the version of .Net? Anyway updated version is located here: http://8thstring.blogspot.com/2016/01/read-64-bit-remote-registry-from-32-bit.html

Manually configure a network interface to get an IP from a DHCP server

Got an Ubuntu 13.10 machine with one network interface. Added another one to test internal networking. To make this new network interface get IP address from DHCP server, we need to modify /etc/network/interfaces , like: auto eth1 iface eth1 inet dhcp Reference(s): https://help.ubuntu.com/10.04/serverguide/network-configuration.html Keywords: network interface IP Ubuntu

QNX Momentics throws a lot of error on start up after install in Ubuntu 13.10 64-bit

tldr; Reboot the machine. When starting up QNX Momentics 6.5.0 on Ubuntu 13.10 64-bit, it throws a lot of errors, like below. 'Initial state verification' has encountered a problem. An internal error has occured. [Details>>] [OK] There is an error in the QNX Configuration settings. Either the QNX_CONFIGURATION environment variable is not defined correctly or the location it points to is not accessible. Exit the IDE and fix the error? [No] [Yes] There is an error in the QNX compiler settings. Either the QNX compiler is not defined or compiler definition directory is not accessible. You should exit the IDE and fix the error immediately. Exit the IDE and fix the error? [No] [Yes] And what is the workaround? Reboot the machine. Guessing that the environment variables are not yet set after install, reboot picks up the new configuration. Keywords: QNX Momentics Ubuntu

Fixing QNX Momentics Gtk themes warning on Ubuntu 13.10 64-bit

You might observe the following Gtk warnings when running QNX Momentics 6.5.0 on Ubuntu 13.10 64-bit. (qde:9636): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine", (qde:7229): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (qde:7229): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks", To fix, run the following command. $: sudo apt-get install gtk2-engines-murrine:i386 gtk2-engines-pixbuf:i386 gtk2-engines:i386