Building NeatTools Executable From Source

Neattools online home is not available yet, but I did get source, and built it.

Visual Studio 2008 on Windows XP

  1. open Visual Studio, and open the solution in trunk/ms/msdebug.sln
  2. Convert project, no special changes, just hit Next and Finish
  3. Build menu, select Clean Solution
  4. Build menu, select Rebuild Solution

Visual Studio 2005 on Windows 2000

  1. open Visual Studio, and open the solution in trunk/ms/msdebug.sln
  2. Build menu, select Clean Solution
  3. Build menu, select Rebuild Solution

The Rebuild did NOT work for me, there was an error related to WM_MOUSEWHEEL and WHEEL_DATA

Looking online, this seems to be a Windows mystery that happens to other people on other projects, so I copied on of the many online solutions:

In JComponent.cpp, I had to add lines:

// no idea why I have to do this, but I do (other people had same problem)
#ifndef WM_MOUSEWHEEL
#define WM_MOUSEWHEEL 0x020A
#define WHEEL_DELTA 120 /* Value for rolling one detent */
#endif

After adding those, the Rebuild Solution worked.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License