Thursday, March 26, 2009

[WORK] life saving

I use "-h" for converting from cr2 to pfm.
I get much faster decompressing and much smaller file size.

I save storage and time at the beginning and in the further processing.

[work] create hardlink under windows xp

fsutil hardlink create x.exe c:\emacs\bin\emacs.exe

Thursday, March 5, 2009

[Work] Move the focused window

under Windows

Alt+Space then M then Arrow Keys

http://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts

[Work] multi-threaded

error C3861: '_beginthread': identifier not found, even with argument-dependent lookup
error C3861: '_endthread': identifier not found, even with argument-dependent lookup

change
from Runtime library: Single-threaded Debug (/MLd)
to Runtime library: Multi-threaded DLL (/MD)

Wednesday, March 4, 2009

[work] How to create libfftw3-3.lib?

Hi,

The instrauction is acually sayng that in order to use the library you have to produce a libfftw3-3.lib file. I think that in order to do so you need to do following:

1. Open command line, for instance type cmd in the Start->Run

2. in the command line you need to setup vs environment by runing a bat file:

C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat

3. Then make sure that you are in the directory where libfftw3-3.def is located (to go there use "cd" command)

4. execute command "lib /machine:i386 /def:libfftw3-3.def"

As result you will get a libfftw3-3.lib file

put this name in the "additional dependecies" field in the options of linker, and add path of the lib file in the "additional library directories" in the options of the linker.

Max