Install Visual Studio on Windows 7 x64

Failed thousands of times in the mounted ISO file. (tested vs2008, 2010b2)
Succeeded just after I copied all the files out of the ISO file and ran the setup file. (tested vs2010b2).

Update: 2/2/2010, recently I have tried Pismo File Mount, succeeded. No need to waste time to  copy files out of ISO file.
Also, suggested by #kivin, using latest DAEMON Tools lite to mount ISO can work.

Tags: ,

* Comments(3)

Using Windows Media Player Control in Visual Studio

In Old times, I still remember how cool it is to add a media player in my Delphi Form. Now I need to do the same to VC++.net, so I searched and got these links. Although they are not VC++.net solution, they still help a lot.

With some codec (here), this way can enable your application play video of most popular formats. So give up the other version of using Direct X to play only AVI format video in dotnet application.

Here are the links (still updating)

How to add Windows Media Player Control to Design ToolBox

How to use Windows Media Player in code (C# Version)

Tags: , ,

Comments(0)

How to configue OpenCV in Visual Studio – Reprice

It has been quite a while since last time I post a howto of configuring OpenCV in Visual Studio. The post got a lot of attention and comments. As the the configuring has become simpler, the post becomes a bit bulky and out-of-date. So right now I am considering to rewrite the howto with a much simpler version.

  • Open Visual Studio, add following path to
    Tools–>Options–>Projects–>VC++ Directories–>Include files

    C:\Program Files\OpenCV\cv\include
    C:\Program Files\OpenCV\otherlibs\highgui
    C:\Program Files\OpenCV\cxcore\include
    C:\Program Files\OpenCV\otherlibs\cvcam\include
  • Add following path to Tools–>Options–>Projects–>VC++ Directories–>Library files
    C:\Program Files\OpenCV\lib
  • When create a new project,
    add following to “Project–>Properties–>Linker->Input–>Additonal dependencies

    cv.lib highgui.lib cvaux.lib cxcore.lib

    NOTE there is no difference between debug or release configurations

  • Tested on OpenCV 1.0 with Visual Studio 2008

    Links
    Original blogspot link1 link2.
    Li Hao’s post.

    Tags: ,

    * Comments(2)

    Visual Studio 2008 居然还没有refactoring

    别人早就有了, JBuilder, XCode, Delphi等等等, 只要是个IDE都有了, 没想到VS2008还没提供. sigh, 忍吧.

    UPDATE:  装了个Developer Express for VS.net 就有了refactoring, 基础功能是免费的, 用起来还不错. 推荐使用. pro版都有什么俺就不关心了.
    link:

    http://www.devexpress.com/Products/Visual_Studio_Add-in/RefactorCPP/

    Tags:

    Comments(0)