# Steam – Unable to launch the game + missing DLL

So I was installing Hyperdimension Neptunia from steam and encountered this DirectX Setup error when trying to start up the application:

The application immediately shut off for me. The following 4 simple steps will fix the issue on launching the game, but just note the error will still be there.

# Windows 8 – Limited Access over Wifi

I was having an issue connecting internet with Wi-Fi. It was working over Ethernet and could detect wrong password when trying to establish a connection over Wi-Fi. The error that I received was The network connection is limited and here’s how it was fixed for me:

(Note: reset to factory default does not work! I tried. Don’t do that 😥 )

# Clear Install Windows under Dual Boot System

I haven’t been using Windows for too long that I really couldn’t retreive the admin password back to the brain. Since I have a dual boot system (Lubuntu & Win7 Ultimate), I thought I had to wipe everything and redo the whole setup again, but fortunately Linux system can actually be preserved. We only need to redo the Windows setup and reset Linux grub.

Reinstall Windows

1. Insert Windows Installtion disk
2. Format the partition that is labelled Primary
3. Install Windows on the Primary partition

After clean installing Windows, grub is gone from the startup and jump straight into Win7 system. To restore the option for choosing OS, we need to get the grub back.

Recover grub (Lubuntu 14.04)

1. Insert Linux disk / usb and select the option “Try without installing Lubuntu”
2. Alt + Shift + T to open terminal
3. Run sudo fdisk -l to display a list of partitions on the hard drive
4. Run sudo mount /dev/sdaX /mnt where X is the number labeled with Linux
5. Run sudo grub-install --root-directory=/mnt /dev/sda to install grub
6. Run sudo update-grub
7. Reboot

*Note: if you get an error that say “Can’t find /dev/sdaX in /etc/fstab or /etc/mtab” from Step 4, you should double check to make sure that there are no whitespaces missing from the command.

# Win 7 Graphic Properties

To resolve the annoying pop up message from windows that says something like “windows detected your performance is slow” and then request a graphic quality change, you can try the following and customize the graphic properties.

1. Open Control Panel and type in “view advanced system settings”
2. In the Advance Tab under Performance section, click Settings
3. Click on Adjust for best performance to clear all the selection, then customize the way you want!

# Sony Windows 8 Fn keys not working

Okay, after I installed Windows 8 on my Sony model VPCEH27FD laptop, my FN keys don’t function. I’ve consult Sony expertise, and they provided me some half-ty answer that doesn’t work at all! (madness)! Fortunately, there are smart Sony “user” on the internet that posted a solution in the community. Basically, what you’ll want to do is the following:

1. Find your Sony model at their website: Here
2. Go to Driver & Software tab, Select Windows 8 64-bit in the drop down box, and click Open File List
a) Sony® Shared Library
b) VAIO® Control Center Software
c) VAIO® Control Center Update

The FN keys should work after your computer is rebooted!

# How to adjust microphone volume

First, go to control panel and click on Hardware and Sound

Select Sound in the following screen

Under Recording tab, right click on your default microphone (the one with green mark) and hit Properties

In the next view, select Levels tab and adjust the attributes shows on this page. (Might want to increase microphone boost).

# How to Install OpenCV – Windows

Hi, so I finally got openCV working on my laptop and thought I should keep a record for future references as well as the people who need it. I basically copied the steps from bsdnoobz at StackOverflow who explain so detail and clear. Hope this will work for you guys out there!

### Source: http://stackoverflow.com/questions/10901905/installing-opencv-2-4-3-in-visual-c-2010-express

1. Installing OpenCV 2.4.3

First, get OpenCV 2.4.3 from sourceforge.net. Its a self-extracting so just double click to start the installation. Install it in a directory, say C:\.

Wait until all files get extracted. It will create a new directory C:\opencv which contains OpenCV header files, libraries, code samples, etc.

Now you need to add the directory C:\opencv\build\x86\vc10\bin to your system PATH. This directory contains OpenCV DLLs required for running your code.

Open Control Panel → System → Advanced system settings → Advanced Tab → Environment variables…

On the System Variables section, select Path (1), Edit (2), and typeC:\opencv\build\x86\vc10\bin; (3), then click Ok.

On some computers, you may need to restart your computer for the system to recognize the environment path variables. ((this is a required step on my machine. You’ll get an error that says “opencv_core240d.dll is missing from the computer” if the path isn’t updated correctly!))

This will completes the OpenCV 2.4.3 installation on your computer.

2. Create a new project and set up Visual C++

Open Visual C++ and select File → New → Project… → Visual C++ → Empty Project. Give a name for your project (e.g: cvtest) and set the project location (e.g: c:\projects).

Click Ok. Visual C++ will create an empty project.

Make sure that “Debug” is selected in the solution configuration combobox. Right-click cvtest and select Properties → VC++ Directories.

Select Include Directories to add a new entry and type C:\opencv\build\include.

Click Ok to close the dialog.

Back to the Property dialog, select Library Directories to add a new entry and typeC:\opencv\build\x86\vc10\lib.

Click Ok to close the dialog.

Back to the property dialog, select Linker → Input → Additional Dependencies to add new entries. On the popup dialog, type the files below: (if you are using different version of OpenCV than version 2.4.3, you have to change 243 to your version number -> so if you’ve got version 2.4.5, you would want to say opencv_calib3d245.lib)

opencv_calib3d245d.lib
opencv_contrib245d.lib
opencv_core245d.lib
opencv_features2d245d.lib
opencv_flann245d.lib
opencv_gpu245d.lib
opencv_haartraining_engined.lib
opencv_highgui245d.lib
opencv_imgproc245d.lib
opencv_legacy245d.lib
opencv_ml245d.lib
opencv_nonfree245d.lib
opencv_objdetect245d.lib
opencv_photo245d.lib
opencv_stitching245d.lib
opencv_ts245d.lib
opencv_video245d.lib
opencv_videostab245d.lib

Note that the filenames end with “d” (for “debug”).

Click Ok to close the dialog. Click Ok on the project properties dialog to save all settings.

NOTE:

These steps will configure Visual C++ for the “Debug” solution. For “Release” solution (optional), you need to repeat adding the OpenCV directories and in Additional Dependencies section, use:

opencv_core243.lib
opencv_imgproc243.lib
...

opencv_core243d.lib
opencv_imgproc243d.lib
...

You’ve done setting up Visual C++, now is the time to write the real code. Right click your project and select Add → New Item… → Visual C++ → C++ File.

Name your file (e.g: loadimg.cpp) and click Ok. Type the code below in the editor:

#include <opencv2/highgui/highgui.hpp>
#include <iostream>

using namespace cv;
using namespace std;

int main()
{
if (im.empty())
{
cout << "Cannot load image!" << endl;
return -1;
}
imshow("Image", im);
waitKey(0);
}

The code above will load c:\full\path\to\lena.jpg and display the image. You can use any image you like, just make sure the path to the image is correct.

Type F5 to compile the code, and it will display the image in a nice window.

And that is your first OpenCV program!

3. Where to go from here?

1. Go to the samples dir → c:\opencv\samples\cpp.