summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Campbell <ben@scumways.com>2016-12-19 10:37:34 +1300
committerBen Campbell <ben@scumways.com>2016-12-19 10:37:34 +1300
commit890517c0772a339afbd86913bb7d068db03b9fc2 (patch)
tree3d374cfe1fd9c45d54bcb82b3f8222946b0e87d7
parent0ff9295456a5fef1e3a42fce7a546bc20aef3632 (diff)
downloaddevil-890517c0772a339afbd86913bb7d068db03b9fc2.tar.gz
normalize line endings
-rwxr-xr-xDevIL-utils/DevIL Install/DevIL + Uninstall + Modern UI.nsi186
-rwxr-xr-xDevIL-utils/DevIL Install/DevIL + Uninstall.nsi152
-rwxr-xr-xDevIL-utils/DevIL Install/DevIL.nsi68
-rwxr-xr-xDevIL-utils/DevIL Version/DevIL Version.cpp914
-rwxr-xr-xDevIL-utils/DevIL Version/DevIL Version.sln52
-rwxr-xr-xDevIL-utils/DevIL Version/DevIL Version.vcproj384
-rwxr-xr-xDevIL-utils/DevIL Version/IL Unicode.rc240
-rwxr-xr-xDevIL-utils/DevIL Version/Version Numbers.txt6
-rwxr-xr-xDevIL/bindings/DotNet/AssemblyInfo.cpp116
-rwxr-xr-xDevIL/bindings/DotNet/COPYING.txt20
-rwxr-xr-xDevIL/bindings/DotNet/DevIL.NET.cpp616
-rwxr-xr-xDevIL/bindings/DotNet/DevIL.NET.vcproj262
-rwxr-xr-xDevIL/bindings/DotNet/ImageViewCs/AssemblyInfo.cs116
-rwxr-xr-xDevIL/bindings/DotNet/ImageViewCs/ImageViewCs.csproj234
-rwxr-xr-xDevIL/bindings/DotNet/ImageViewCs/ImageViewCs.csproj.user96
-rwxr-xr-xDevIL/bindings/DotNet/ImageViewCs/frmImageView.cs494
-rwxr-xr-xDevIL/bindings/DotNet/ImageViewCs/frmImageView.resx208
-rwxr-xr-xDevIL/bindings/DotNet/ImageViewVb/AssemblyInfo.vb62
-rwxr-xr-xDevIL/bindings/DotNet/ImageViewVb/ImageViewVb.vbproj234
-rwxr-xr-xDevIL/bindings/DotNet/ImageViewVb/ImageViewVb.vbproj.user96
-rwxr-xr-xDevIL/bindings/DotNet/ImageViewVb/frmImageView.resx262
-rwxr-xr-xDevIL/bindings/DotNet/ImageViewVb/frmImageView.vb368
-rwxr-xr-xDevIL/bindings/DotNet/vcproj vs2005/DevIL.NET.vcproj438
-rwxr-xr-xDevIL/bindings/Mathematica/DevIL Mathematica.vcproj408
-rwxr-xr-xDevIL/bindings/Mathematica/DevIL.nb284
-rw-r--r--DevIL/cpp wrapper/Cpp Wrapper.dsp202
-rw-r--r--DevIL/cpp wrapper/Cpp Wrapper.vcproj374
-rwxr-xr-xDevIL/examples/Examples-vc8.sln190
-rwxr-xr-xDevIL/examples/Examples-vc9.sln190
-rw-r--r--DevIL/examples/animation_example/AnimTest.rc218
-rwxr-xr-xDevIL/examples/animation_example/animation_example-vc8.vcproj406
-rwxr-xr-xDevIL/examples/animation_example/animation_example-vc9.vcproj406
-rwxr-xr-xDevIL/examples/cpp_wrapper_example/cpp_wrapper_example-vc8.vcproj398
-rwxr-xr-xDevIL/examples/cpp_wrapper_example/cpp_wrapper_example-vc9.vcproj398
-rwxr-xr-xDevIL/examples/direct3d_example/direct3d_example-vc8.vcproj398
-rwxr-xr-xDevIL/examples/direct3d_example/direct3d_example-vc9.vcproj398
-rwxr-xr-xDevIL/examples/opengl_example/opengl_example-vc8.vcproj406
-rwxr-xr-xDevIL/examples/opengl_example/opengl_example-vc9.vcproj406
-rwxr-xr-xDevIL/examples/override_example/override_example-vc8.vcproj390
-rwxr-xr-xDevIL/examples/override_example/override_example-vc9.vcproj390
-rwxr-xr-xDevIL/examples/register_read_example/register_read_example-vc8.vcproj390
-rwxr-xr-xDevIL/examples/register_read_example/register_read_example-vc9.vcproj390
-rwxr-xr-xDevIL/examples/sdl_example/sdl_example-vc8.vcproj398
-rwxr-xr-xDevIL/examples/sdl_example/sdl_example-vc9.vcproj398
-rwxr-xr-xDevIL/examples/simple_example/simple_example-vc8.vcproj398
-rwxr-xr-xDevIL/examples/simple_example/simple_example-vc9.vcproj398
-rwxr-xr-xDevIL/examples/volume_example/volume_example-vc8.vcproj406
-rwxr-xr-xDevIL/examples/volume_example/volume_example-vc9.vcproj406
-rw-r--r--DevIL/examples/windows_example/WindowsTest.vcproj3152
-rw-r--r--DevIL/examples/windows_example/windows_example-vc8.vcproj422
-rwxr-xr-xDevIL/examples/windows_example/windows_example-vc9.vcproj422
-rwxr-xr-xDevIL/examples/windows_example/windows_example.rc424
-rw-r--r--DevIL/test/Benchmark/Benchmark.dsp192
-rw-r--r--DevIL/test/DDrawTest/DDrawTest.dsp266
-rw-r--r--DevIL/test/DDrawTest/test_window/DDrawTest.rc522
-rw-r--r--DevIL/test/DDrawTest/test_window/WindowTest.cpp1506
-rw-r--r--DevIL/test/Fltk/Fltk.dsp202
-rw-r--r--DevIL/test/Fltk/fltk.cpp326
-rw-r--r--DevIL/test/MdiTest/MdiTest.cpp672
-rw-r--r--DevIL/test/MdiTest/MdiTest.dsp242
-rw-r--r--DevIL/test/MdiTest/MdiTest.rc532
-rw-r--r--DevIL/test/Stress/StressTest.dsp222
-rw-r--r--DevIL/test/URar/test.dsp192
-rw-r--r--DevIL/test/URar/test.dsw58
-rw-r--r--DevIL/test/Unzip/nv_unzip.cpp190
65 files changed, 12106 insertions, 12106 deletions
diff --git a/DevIL-utils/DevIL Install/DevIL + Uninstall + Modern UI.nsi b/DevIL-utils/DevIL Install/DevIL + Uninstall + Modern UI.nsi
index 1706dd38..8889e484 100755
--- a/DevIL-utils/DevIL Install/DevIL + Uninstall + Modern UI.nsi
+++ b/DevIL-utils/DevIL Install/DevIL + Uninstall + Modern UI.nsi
@@ -1,93 +1,93 @@
-; DevIL.nsi
-
-
-;--------------------------------
-;Include Modern UI
-
- !include "MUI2.nsh"
-
-;--------------------------------
-;General
-
-Name "Developer's Image Library 1.7.2 Run-time Files"
-
-; The file to write
-OutFile "DevIL-1.7.2.exe"
-
-; The default installation directory
-InstallDir "$PROGRAMFILES\Developer's Image Library"
-
-; Request application privileges for Windows Vista
-RequestExecutionLevel admin
-
-
-;--------------------------------
-;Interface Settings
-
- !define MUI_ABORTWARNING
-
-;--------------------------------
-;Pages
-
- !insertmacro MUI_PAGE_COMPONENTS
- !insertmacro MUI_PAGE_DIRECTORY
- !insertmacro MUI_PAGE_INSTFILES
-
- !insertmacro MUI_UNPAGE_CONFIRM
- !insertmacro MUI_UNPAGE_INSTFILES
-
-;--------------------------------
-;Languages
-
- !insertmacro MUI_LANGUAGE "English"
-
-
-
-; The stuff to install
-Section "Developer's Image Library (required)"
-
- ; Set output path to the installation directory.
- SetOutPath $SYSDIR
-
- ; Put files in the System folder
- File "..\devil\lib\DevIL.dll"
- File "..\devil\lib\ILU.dll"
- File "..\devil\lib\ILUT.dll"
-
-
- ; Set output path to the installation directory.
- SetOutPath $INSTDIR
-
- ; Write the installation path into the registry
- WriteRegStr HKLM SOFTWARE\DevIL "Install_Dir" "$INSTDIR"
-
- ; Write the uninstall keys for Windows
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL" "DisplayName" "Developer's Image Library"
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL" "UninstallString" '"$INSTDIR\uninstall.exe"'
- WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL" "NoModify" 1
- WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL" "NoRepair" 1
- WriteUninstaller "uninstall.exe"
-
-SectionEnd
-
-
-
-;--------------------------------
-; Uninstaller
-
-Section "Uninstall"
-
- ; Remove registry keys
- DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL"
- DeleteRegKey HKLM SOFTWARE\DevIL
-
- ; Remove files and uninstaller
- Delete $SYSDIR\DevIL.dll
- Delete $SYSDIR\ILU.dll
- Delete $SYSDIR\ILUT.dll
- Delete $INSTDIR\uninstall.exe
-
- ; Remove directories used
- RMDir "$INSTDIR"
-
-SectionEnd
+; DevIL.nsi
+
+
+;--------------------------------
+;Include Modern UI
+
+ !include "MUI2.nsh"
+
+;--------------------------------
+;General
+
+Name "Developer's Image Library 1.7.2 Run-time Files"
+
+; The file to write
+OutFile "DevIL-1.7.2.exe"
+
+; The default installation directory
+InstallDir "$PROGRAMFILES\Developer's Image Library"
+
+; Request application privileges for Windows Vista
+RequestExecutionLevel admin
+
+
+;--------------------------------
+;Interface Settings
+
+ !define MUI_ABORTWARNING
+
+;--------------------------------
+;Pages
+
+ !insertmacro MUI_PAGE_COMPONENTS
+ !insertmacro MUI_PAGE_DIRECTORY
+ !insertmacro MUI_PAGE_INSTFILES
+
+ !insertmacro MUI_UNPAGE_CONFIRM
+ !insertmacro MUI_UNPAGE_INSTFILES
+
+;--------------------------------
+;Languages
+
+ !insertmacro MUI_LANGUAGE "English"
+
+
+
+; The stuff to install
+Section "Developer's Image Library (required)"
+
+ ; Set output path to the installation directory.
+ SetOutPath $SYSDIR
+
+ ; Put files in the System folder
+ File "..\devil\lib\DevIL.dll"
+ File "..\devil\lib\ILU.dll"
+ File "..\devil\lib\ILUT.dll"
+
+
+ ; Set output path to the installation directory.
+ SetOutPath $INSTDIR
+
+ ; Write the installation path into the registry
+ WriteRegStr HKLM SOFTWARE\DevIL "Install_Dir" "$INSTDIR"
+
+ ; Write the uninstall keys for Windows
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL" "DisplayName" "Developer's Image Library"
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL" "UninstallString" '"$INSTDIR\uninstall.exe"'
+ WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL" "NoModify" 1
+ WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL" "NoRepair" 1
+ WriteUninstaller "uninstall.exe"
+
+SectionEnd
+
+
+
+;--------------------------------
+; Uninstaller
+
+Section "Uninstall"
+
+ ; Remove registry keys
+ DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL"
+ DeleteRegKey HKLM SOFTWARE\DevIL
+
+ ; Remove files and uninstaller
+ Delete $SYSDIR\DevIL.dll
+ Delete $SYSDIR\ILU.dll
+ Delete $SYSDIR\ILUT.dll
+ Delete $INSTDIR\uninstall.exe
+
+ ; Remove directories used
+ RMDir "$INSTDIR"
+
+SectionEnd
diff --git a/DevIL-utils/DevIL Install/DevIL + Uninstall.nsi b/DevIL-utils/DevIL Install/DevIL + Uninstall.nsi
index 62087a9f..d4e20d7a 100755
--- a/DevIL-utils/DevIL Install/DevIL + Uninstall.nsi
+++ b/DevIL-utils/DevIL Install/DevIL + Uninstall.nsi
@@ -1,76 +1,76 @@
-; DevIL.nsi
-
-Name "Developer's Image Library 1.7.1 Run-time Files"
-
-; The file to write
-OutFile "DevIL-1.7.1.exe"
-
-; The default installation directory
-InstallDir "$PROGRAMFILES\Developer's Image Library"
-
-; Request application privileges for Windows Vista
-RequestExecutionLevel admin
-
-;--------------------------------
-
-; Pages
-
-Page components
-Page directory
-Page instfiles
-
-UninstPage uninstConfirm
-UninstPage instfiles
-
-;--------------------------------
-
-; The stuff to install
-Section "Developer's Image Library (required)"
-
- SectionIn RO
-
- ; Set output path to the installation directory.
- SetOutPath $SYSDIR
-
- ; Put files in the System folder
- File "..\devil\lib\DevIL.dll"
- File "..\devil\lib\ILU.dll"
- File "..\devil\lib\ILUT.dll"
-
-
- ; Set output path to the installation directory.
- SetOutPath $INSTDIR
-
- ; Write the installation path into the registry
- WriteRegStr HKLM SOFTWARE\DevIL "Install_Dir" "$INSTDIR"
-
- ; Write the uninstall keys for Windows
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL" "DisplayName" "Developer's Image Library"
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL" "UninstallString" '"$INSTDIR\uninstall.exe"'
- WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL" "NoModify" 1
- WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL" "NoRepair" 1
- WriteUninstaller "uninstall.exe"
-
-SectionEnd
-
-
-
-;--------------------------------
-; Uninstaller
-
-Section "Uninstall"
-
- ; Remove registry keys
- DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL"
- DeleteRegKey HKLM SOFTWARE\DevIL
-
- ; Remove files and uninstaller
- Delete $SYSDIR\DevIL.dll
- Delete $SYSDIR\ILU.dll
- Delete $SYSDIR\ILUT.dll
- Delete $INSTDIR\uninstall.exe
-
- ; Remove directories used
- RMDir "$INSTDIR"
-
-SectionEnd
+; DevIL.nsi
+
+Name "Developer's Image Library 1.7.1 Run-time Files"
+
+; The file to write
+OutFile "DevIL-1.7.1.exe"
+
+; The default installation directory
+InstallDir "$PROGRAMFILES\Developer's Image Library"
+
+; Request application privileges for Windows Vista
+RequestExecutionLevel admin
+
+;--------------------------------
+
+; Pages
+
+Page components
+Page directory
+Page instfiles
+
+UninstPage uninstConfirm
+UninstPage instfiles
+
+;--------------------------------
+
+; The stuff to install
+Section "Developer's Image Library (required)"
+
+ SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath $SYSDIR
+
+ ; Put files in the System folder
+ File "..\devil\lib\DevIL.dll"
+ File "..\devil\lib\ILU.dll"
+ File "..\devil\lib\ILUT.dll"
+
+
+ ; Set output path to the installation directory.
+ SetOutPath $INSTDIR
+
+ ; Write the installation path into the registry
+ WriteRegStr HKLM SOFTWARE\DevIL "Install_Dir" "$INSTDIR"
+
+ ; Write the uninstall keys for Windows
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL" "DisplayName" "Developer's Image Library"
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL" "UninstallString" '"$INSTDIR\uninstall.exe"'
+ WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL" "NoModify" 1
+ WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL" "NoRepair" 1
+ WriteUninstaller "uninstall.exe"
+
+SectionEnd
+
+
+
+;--------------------------------
+; Uninstaller
+
+Section "Uninstall"
+
+ ; Remove registry keys
+ DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DevIL"
+ DeleteRegKey HKLM SOFTWARE\DevIL
+
+ ; Remove files and uninstaller
+ Delete $SYSDIR\DevIL.dll
+ Delete $SYSDIR\ILU.dll
+ Delete $SYSDIR\ILUT.dll
+ Delete $INSTDIR\uninstall.exe
+
+ ; Remove directories used
+ RMDir "$INSTDIR"
+
+SectionEnd
diff --git a/DevIL-utils/DevIL Install/DevIL.nsi b/DevIL-utils/DevIL Install/DevIL.nsi
index 9411c13e..7917e61b 100755
--- a/DevIL-utils/DevIL Install/DevIL.nsi
+++ b/DevIL-utils/DevIL Install/DevIL.nsi
@@ -1,34 +1,34 @@
-; DevIL.nsi
-
-Name "Developer's Image Library 1.7.1 Run-time Files"
-
-; The file to write
-OutFile "DevIL-1.7.1.exe"
-
-; Request application privileges for Windows Vista
-RequestExecutionLevel admin
-
-;--------------------------------
-
-; Pages
-
-Page components
-Page instfiles
-
-;--------------------------------
-
-; The stuff to install
-Section "Developer's Image Library (required)"
-
- SectionIn RO
-
- ; Set output path to the installation directory.
- SetOutPath $SYSDIR
-
- ; Put file there
- File "..\devil\lib\devil.dll"
- File "..\devil\lib\ilu.dll"
- File "..\devil\lib\ilut.dll"
-
-SectionEnd
-
+; DevIL.nsi
+
+Name "Developer's Image Library 1.7.1 Run-time Files"
+
+; The file to write
+OutFile "DevIL-1.7.1.exe"
+
+; Request application privileges for Windows Vista
+RequestExecutionLevel admin
+
+;--------------------------------
+
+; Pages
+
+Page components
+Page instfiles
+
+;--------------------------------
+
+; The stuff to install
+Section "Developer's Image Library (required)"
+
+ SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath $SYSDIR
+
+ ; Put file there
+ File "..\devil\lib\devil.dll"
+ File "..\devil\lib\ilu.dll"
+ File "..\devil\lib\ilut.dll"
+
+SectionEnd
+
diff --git a/DevIL-utils/DevIL Version/DevIL Version.cpp b/DevIL-utils/DevIL Version/DevIL Version.cpp
index e167f0a3..62f67020 100755
--- a/DevIL-utils/DevIL Version/DevIL Version.cpp
+++ b/DevIL-utils/DevIL Version/DevIL Version.cpp
@@ -1,457 +1,457 @@
-// Updates the version numbers in all DevIL files.
-// This is definitely not the "best" or prettiest way to do it, and this is
-// a very linear file. The problem is that each file that needs to be updated
-// usually has a different way of representing the version number. For
-// instance, some have the version number as x.x.x, while others have
-// x,x,x. The resource files even have these mixed. This program gets the
-// job done, though! I was missing updates of version numbers in files for
-// each release, so running this should fix it.
-
-
-#include <iostream>
-#include <fstream>
-#include <string>
-using namespace std;
-
-int CheckLine(string line, fstream *file, int pos);
-
-
-int main()
-{
- string oldversion[3];
- string newversion[3];
- string OldString, NewString;
- string OldLine, NewLine;
- fstream file;
- string line;
- //int pos1, pos2;
- streamoff pos1, pos2;
- //fpos_t pos1, pos2;
-
- //oldversion[0] = '1';
- //oldversion[1] = '7';
- //oldversion[2] = '5';
-
- //newversion[0] = '1';
- //newversion[1] = '7';
- //newversion[2] = '4';
-
- file.open("Version Numbers.txt", fstream::in | fstream::out);
- if (!file.is_open()) {
- cout << "Unable to open Version Numbers.txt" << endl;
- return 0;
- }
- file >> line;
- oldversion[0] = line[0];
- oldversion[1] = line[1];
- oldversion[2] = line[2];
- file >> line;
- newversion[0] = line[0];
- newversion[1] = line[1];
- newversion[2] = line[2];
-
- file.close();
- file.clear();
-
-
- OldString = oldversion[0] + "." + oldversion[1] + "." + oldversion[2];
- NewString = newversion[0] + "." + newversion[1] + "." + newversion[2];
-
-//
-//
-// src-IL/msvc9/IL.rc and src-IL/msvc8/IL.rc
-//
-//
- /*for (int i = 0; i < 2; i++) {
- string ILrc[2] = {"src-IL/msvc8/IL.rc", "src-IL/msvc9/IL.rc"};
- file.open(ILrc[i].c_str(), fstream::in | fstream::out);
- if (!file.is_open()) {
- cout << "Unable to open " << ILrc[i] << endl;
- return 0;
- }
- do {
- pos1 = file.tellg();//.seekpos();
- getline(file, line);
- int linelen = line.length();
- pos2 = file.tellg();//.seekpos();
-
- OldLine = string(" FILEVERSION 0,") + string(oldversion[0]) + "," + string(oldversion[1]) + "," + string(oldversion[2]);
- if (line == OldLine) {
- file.seekp(pos1, ios_base::beg);
- NewLine = string(" FILEVERSION 0,") + string(newversion[0]) + "," + string(newversion[1]) + "," + string(newversion[2]);
- file << NewLine;
- file.seekg(pos2, ios_base::beg);
- int j = file.tellg();
- }
- OldLine = string(" PRODUCTVERSION 0,") + string(oldversion[0]) + "," + string(oldversion[1]) + "," + string(oldversion[2]);
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = string(" PRODUCTVERSION 0,") + string(newversion[0]) + "," + string(newversion[1]) + "," + string(newversion[2]);
- file << NewLine;
- file.seekg(pos2);
- }
- OldLine = string(" VALUE \"FileVersion\", \"") + OldString + "\"";
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = string(" VALUE \"FileVersion\", \"") + NewString + "\"";
- file << NewLine;
- file.seekg(pos2);
- }
- OldLine = " VALUE \"ProductVersion\", \"" + OldString + " Ansi\"";
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = " VALUE \"ProductVersion\", \"" + NewString + " Ansi\"";
- file << NewLine;
- file.seekg(pos2);
- }
- OldLine = " IDC_OPENIL \"Developer's Image Library, Version " + OldString + "\"";
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = " IDC_OPENIL \"Developer's Image Library, Version " + NewString + "\"";
- file << NewLine;
- file.seekg(pos2);
- }
- } while (!file.eof());
- file.close();
- file.clear();
- }*/
-
-
-
-//
-//
-// src-IL/msvc9/IL Unicode.rc and src-IL/msvc/IL Unicode.rc
-//
-//
- for (int i = 0; i < 2; i++) {
- string ILrc[2] = {"src-IL/msvc9/IL Unicode.rc", "src-IL/msvc8/IL Unicode.rc"};
- file.open(ILrc[i].c_str(), fstream::in | fstream::out);
- if (!file.is_open()) {
- cout << "Unable to open IL Unicode.rc" << endl;
- return 0;
- }
- do {
- pos1 = file.tellg();
- getline(file, line);
- pos2 = file.tellg();
-
- OldLine = string(" FILEVERSION 0,") + string(oldversion[0]) + "," + string(oldversion[1]) + "," + string(oldversion[2]);
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = string(" FILEVERSION 0,") + string(newversion[0]) + "," + string(newversion[1]) + "," + string(newversion[2]);
- file << NewLine;
- file.seekg(pos1);
- file.seekp(pos1);
- }
- OldLine = string(" PRODUCTVERSION 0,") + string(oldversion[0]) + "," + string(oldversion[1]) + "," + string(oldversion[2]);
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = string(" PRODUCTVERSION 0,") + string(newversion[0]) + "," + string(newversion[1]) + "," + string(newversion[2]);
- file << NewLine;
- file.seekg(pos2);
- }
- OldLine = string(" VALUE \"FileVersion\", \"") + OldString + "\"";
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = string(" VALUE \"FileVersion\", \"") + NewString + "\"";
- file << NewLine;
- file.seekg(pos2);
- }
- OldLine = " VALUE \"ProductVersion\", \"" + OldString + " Unicode\"";
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = " VALUE \"ProductVersion\", \"" + NewString + " Unicode\"";
- file << NewLine;
- file.seekg(pos2);
- }
- OldLine = " IDC_OPENIL \"Developer's Image Library, Version " + OldString + "\"";
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = " IDC_OPENIL \"Developer's Image Library, Version " + NewString + "\"";
- file << NewLine;
- file.seekg(pos2);
- }
- } while (!file.eof());
- file.close();
- file.clear();
- }
-
-
-
-//
-//
-// configure.ac
-//
-//
- file.open("configure.ac", fstream::in | fstream::out);
- if (!file.is_open()) {
- cout << "Unable to open configure.ac" << endl;
- return 0;
- }
- do {
- pos1 = file.tellg();
- getline(file, line);
- pos2 = file.tellg();
-
- OldLine = " " + OldString + ",";
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = " " + NewString + ",";
- file << NewLine;
- file.seekg(pos2);
- }
- } while (!file.eof());
- file.close();
- file.clear();
-
-
-
-//
-//
-// IL/il.h
-//
-//
- file.open("include/IL/il.h", fstream::in | fstream::out);
- if (!file.is_open()) {
- cout << "Unable to open include/IL/il.h" << endl;
- return 0;
- }
- do {
- pos1 = file.tellg();
- getline(file, line);
- pos2 = file.tellg();
-
- OldLine = "#define IL_VERSION_" + oldversion[0] + "_" + oldversion[1] + "_" + oldversion[2] + " 1";
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = "#define IL_VERSION_" + newversion[0] + "_" + newversion[1] + "_" + newversion[2] + " 1";
- file << NewLine;
- file.seekg(pos2);
- }
- OldLine = "#define IL_VERSION " + oldversion[0] + oldversion[1] + oldversion[2];
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = "#define IL_VERSION " + newversion[0] + newversion[1] + newversion[2];
- file << NewLine;
- file.seekg(pos2);
- }
- } while (!file.eof());
- file.close();
- file.clear();
-
-
-
-//
-//
-// IL/ilu.h
-//
-//
- file.open("include/IL/ilu.h", fstream::in | fstream::out);
- if (!file.is_open()) {
- cout << "Unable to open include/IL/ilu.h" << endl;
- return 0;
- }
- do {
- pos1 = file.tellg();
- getline(file, line);
- pos2 = file.tellg();
-
- OldLine = "#define ILU_VERSION_" + oldversion[0] + "_" + oldversion[1] + "_" + oldversion[2] + " 1";
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = "#define ILU_VERSION_" + newversion[0] + "_" + newversion[1] + "_" + newversion[2] + " 1";
- file << NewLine;
- file.seekg(pos2);
- }
- OldLine = "#define ILU_VERSION " + oldversion[0] + oldversion[1] + oldversion[2];
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = "#define ILU_VERSION " + newversion[0] + newversion[1] + newversion[2];
- file << NewLine;
- file.seekg(pos2);
- }
- } while (!file.eof());
- file.close();
- file.clear();
-
-
-
-//
-//
-// IL/ilut.h
-//
-//
- file.open("include/IL/ilut.h", fstream::in | fstream::out);
- if (!file.is_open()) {
- cout << "Unable to open include/IL/ilut.h" << endl;
- return 0;
- }
- do {
- pos1 = file.tellg();
- getline(file, line);
- pos2 = file.tellg();
-
- OldLine = "#define ILUT_VERSION_" + oldversion[0] + "_" + oldversion[1] + "_" + oldversion[2] + " 1";
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = "#define ILUT_VERSION_" + newversion[0] + "_" + newversion[1] + "_" + newversion[2] + " 1";
- file << NewLine;
- file.seekg(pos2);
- }
- OldLine = "#define ILUT_VERSION " + oldversion[0] + oldversion[1] + oldversion[2];
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = "#define ILUT_VERSION " + newversion[0] + newversion[1] + newversion[2];
- file << NewLine;
- file.seekg(pos2);
- }
- } while (!file.eof());
- file.close();
- file.clear();
-
-
-
-//
-//
-// README
-//
-//
- file.open("README", fstream::in | fstream::out);
- if (!file.is_open()) {
- cout << "Unable to open README" << endl;
- return 0;
- }
- do {
- pos1 = file.tellg();
- getline(file, line);
- pos2 = file.tellg();
-
- OldLine = "Developer's Image Library version " + OldString + " Readme, Notes and Quick Use";
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = "Developer's Image Library version " + NewString + " Readme, Notes and Quick Use";
- file << NewLine;
- file.seekg(pos2);
- }
- } while (!file.eof());
- file.close();
- file.clear();
-
-
-
-//
-//
-// include/IL/config.h.win
-//
-//
- file.open("include/IL/config.h.win", fstream::in | fstream::out);
- if (!file.is_open()) {
- cout << "Unable to open include/IL/config.h.win" << endl;
- return 0;
- }
- do {
- pos1 = file.tellg();
- getline(file, line);
- pos2 = file.tellg();
-
- OldLine = "//#define IL_VERSION \"" + OldString + "\"";
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = "//#define IL_VERSION \"" + NewString + "\"";
- file << NewLine;
- file.seekg(pos2);
- }
- } while (!file.eof());
- file.close();
- file.clear();
-
-
-
-//
-//
-// src-IL/src/il_states.c
-//
-//
- file.open("src-IL/src/il_states.c", fstream::in | fstream::out);
- if (!file.is_open()) {
- cout << "Unable to open src-IL/src/il_states.c" << endl;
- return 0;
- }
- do {
- pos1 = file.tellg();
- getline(file, line);
- pos2 = file.tellg();
-
- OldLine = "ILstring _ilVersion = IL_TEXT(\"Developer's Image Library (DevIL) " + OldString + "\");";
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = "ILstring _ilVersion = IL_TEXT(\"Developer's Image Library (DevIL) " + NewString + "\");";
- file << NewLine;
- file.seekg(pos2);
- }
- } while (!file.eof());
- file.close();
- file.clear();
-
-
-
-//
-//
-// src-ILU/src/ilu_states.c
-//
-//
- file.open("src-ILU/src/ilu_states.c", fstream::in | fstream::out);
- if (!file.is_open()) {
- cout << "Unable to open src-ILU/src/ilu_states.c" << endl;
- return 0;
- }
- do {
- pos1 = file.tellg();
- getline(file, line);
- pos2 = file.tellg();
-
- OldLine = "ILconst_string _iluVersion = IL_TEXT(\"Developer's Image Library Utilities (ILU) " + OldString + " \" IL_TEXT(__DATE__));";
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = "ILconst_string _iluVersion = IL_TEXT(\"Developer's Image Library Utilities (ILU) " + NewString + " \" IL_TEXT(__DATE__));";
- file << NewLine;
- file.seekg(pos2);
- }
- } while (!file.eof());
- file.close();
- file.clear();
-
-
-
-//
-//
-// src-ILUT/src/ilut_states.c
-//
-//
- file.open("src-ILUT/src/ilut_states.c", fstream::in | fstream::out);
- if (!file.is_open()) {
- cout << "Unable to open src-ILUT/src/ilut_states.c" << endl;
- return 0;
- }
- do {
- pos1 = file.tellg();
- getline(file, line);
- pos2 = file.tellg();
-
- OldLine = "ILconst_string _ilutVersion = IL_TEXT(\"Developer's Image Library Utility Toolkit (ILUT) " + OldString + " \");";
- if (line == OldLine) {
- file.seekp(pos1);
- NewLine = "ILconst_string _ilutVersion = IL_TEXT(\"Developer's Image Library Utility Toolkit (ILUT) " + NewString + " \");";
- file << NewLine;
- file.seekg(pos2);
- }
- } while (!file.eof());
- file.close();
- file.clear();
-
-
- cout << "Successfully updated all files!" << endl;
-
- return 0;
-}
-
+// Updates the version numbers in all DevIL files.
+// This is definitely not the "best" or prettiest way to do it, and this is
+// a very linear file. The problem is that each file that needs to be updated
+// usually has a different way of representing the version number. For
+// instance, some have the version number as x.x.x, while others have
+// x,x,x. The resource files even have these mixed. This program gets the
+// job done, though! I was missing updates of version numbers in files for
+// each release, so running this should fix it.
+
+
+#include <iostream>
+#include <fstream>
+#include <string>
+using namespace std;
+
+int CheckLine(string line, fstream *file, int pos);
+
+
+int main()
+{
+ string oldversion[3];
+ string newversion[3];
+ string OldString, NewString;
+ string OldLine, NewLine;
+ fstream file;
+ string line;
+ //int pos1, pos2;
+ streamoff pos1, pos2;
+ //fpos_t pos1, pos2;
+
+ //oldversion[0] = '1';
+ //oldversion[1] = '7';
+ //oldversion[2] = '5';
+
+ //newversion[0] = '1';
+ //newversion[1] = '7';
+ //newversion[2] = '4';
+
+ file.open("Version Numbers.txt", fstream::in | fstream::out);
+ if (!file.is_open()) {
+ cout << "Unable to open Version Numbers.txt" << endl;
+ return 0;
+ }
+ file >> line;
+ oldversion[0] = line[0];
+ oldversion[1] = line[1];
+ oldversion[2] = line[2];
+ file >> line;
+ newversion[0] = line[0];
+ newversion[1] = line[1];
+ newversion[2] = line[2];
+
+ file.close();
+ file.clear();
+
+
+ OldString = oldversion[0] + "." + oldversion[1] + "." + oldversion[2];
+ NewString = newversion[0] + "." + newversion[1] + "." + newversion[2];
+
+//
+//
+// src-IL/msvc9/IL.rc and src-IL/msvc8/IL.rc
+//
+//
+ /*for (int i = 0; i < 2; i++) {
+ string ILrc[2] = {"src-IL/msvc8/IL.rc", "src-IL/msvc9/IL.rc"};
+ file.open(ILrc[i].c_str(), fstream::in | fstream::out);
+ if (!file.is_open()) {
+ cout << "Unable to open " << ILrc[i] << endl;
+ return 0;
+ }
+ do {
+ pos1 = file.tellg();//.seekpos();
+ getline(file, line);
+ int linelen = line.length();
+ pos2 = file.tellg();//.seekpos();
+
+ OldLine = string(" FILEVERSION 0,") + string(oldversion[0]) + "," + string(oldversion[1]) + "," + string(oldversion[2]);
+ if (line == OldLine) {
+ file.seekp(pos1, ios_base::beg);
+ NewLine = string(" FILEVERSION 0,") + string(newversion[0]) + "," + string(newversion[1]) + "," + string(newversion[2]);
+ file << NewLine;
+ file.seekg(pos2, ios_base::beg);
+ int j = file.tellg();
+ }
+ OldLine = string(" PRODUCTVERSION 0,") + string(oldversion[0]) + "," + string(oldversion[1]) + "," + string(oldversion[2]);
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = string(" PRODUCTVERSION 0,") + string(newversion[0]) + "," + string(newversion[1]) + "," + string(newversion[2]);
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ OldLine = string(" VALUE \"FileVersion\", \"") + OldString + "\"";
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = string(" VALUE \"FileVersion\", \"") + NewString + "\"";
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ OldLine = " VALUE \"ProductVersion\", \"" + OldString + " Ansi\"";
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = " VALUE \"ProductVersion\", \"" + NewString + " Ansi\"";
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ OldLine = " IDC_OPENIL \"Developer's Image Library, Version " + OldString + "\"";
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = " IDC_OPENIL \"Developer's Image Library, Version " + NewString + "\"";
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ } while (!file.eof());
+ file.close();
+ file.clear();
+ }*/
+
+
+
+//
+//
+// src-IL/msvc9/IL Unicode.rc and src-IL/msvc/IL Unicode.rc
+//
+//
+ for (int i = 0; i < 2; i++) {
+ string ILrc[2] = {"src-IL/msvc9/IL Unicode.rc", "src-IL/msvc8/IL Unicode.rc"};
+ file.open(ILrc[i].c_str(), fstream::in | fstream::out);
+ if (!file.is_open()) {
+ cout << "Unable to open IL Unicode.rc" << endl;
+ return 0;
+ }
+ do {
+ pos1 = file.tellg();
+ getline(file, line);
+ pos2 = file.tellg();
+
+ OldLine = string(" FILEVERSION 0,") + string(oldversion[0]) + "," + string(oldversion[1]) + "," + string(oldversion[2]);
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = string(" FILEVERSION 0,") + string(newversion[0]) + "," + string(newversion[1]) + "," + string(newversion[2]);
+ file << NewLine;
+ file.seekg(pos1);
+ file.seekp(pos1);
+ }
+ OldLine = string(" PRODUCTVERSION 0,") + string(oldversion[0]) + "," + string(oldversion[1]) + "," + string(oldversion[2]);
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = string(" PRODUCTVERSION 0,") + string(newversion[0]) + "," + string(newversion[1]) + "," + string(newversion[2]);
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ OldLine = string(" VALUE \"FileVersion\", \"") + OldString + "\"";
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = string(" VALUE \"FileVersion\", \"") + NewString + "\"";
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ OldLine = " VALUE \"ProductVersion\", \"" + OldString + " Unicode\"";
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = " VALUE \"ProductVersion\", \"" + NewString + " Unicode\"";
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ OldLine = " IDC_OPENIL \"Developer's Image Library, Version " + OldString + "\"";
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = " IDC_OPENIL \"Developer's Image Library, Version " + NewString + "\"";
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ } while (!file.eof());
+ file.close();
+ file.clear();
+ }
+
+
+
+//
+//
+// configure.ac
+//
+//
+ file.open("configure.ac", fstream::in | fstream::out);
+ if (!file.is_open()) {
+ cout << "Unable to open configure.ac" << endl;
+ return 0;
+ }
+ do {
+ pos1 = file.tellg();
+ getline(file, line);
+ pos2 = file.tellg();
+
+ OldLine = " " + OldString + ",";
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = " " + NewString + ",";
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ } while (!file.eof());
+ file.close();
+ file.clear();
+
+
+
+//
+//
+// IL/il.h
+//
+//
+ file.open("include/IL/il.h", fstream::in | fstream::out);
+ if (!file.is_open()) {
+ cout << "Unable to open include/IL/il.h" << endl;
+ return 0;
+ }
+ do {
+ pos1 = file.tellg();
+ getline(file, line);
+ pos2 = file.tellg();
+
+ OldLine = "#define IL_VERSION_" + oldversion[0] + "_" + oldversion[1] + "_" + oldversion[2] + " 1";
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = "#define IL_VERSION_" + newversion[0] + "_" + newversion[1] + "_" + newversion[2] + " 1";
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ OldLine = "#define IL_VERSION " + oldversion[0] + oldversion[1] + oldversion[2];
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = "#define IL_VERSION " + newversion[0] + newversion[1] + newversion[2];
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ } while (!file.eof());
+ file.close();
+ file.clear();
+
+
+
+//
+//
+// IL/ilu.h
+//
+//
+ file.open("include/IL/ilu.h", fstream::in | fstream::out);
+ if (!file.is_open()) {
+ cout << "Unable to open include/IL/ilu.h" << endl;
+ return 0;
+ }
+ do {
+ pos1 = file.tellg();
+ getline(file, line);
+ pos2 = file.tellg();
+
+ OldLine = "#define ILU_VERSION_" + oldversion[0] + "_" + oldversion[1] + "_" + oldversion[2] + " 1";
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = "#define ILU_VERSION_" + newversion[0] + "_" + newversion[1] + "_" + newversion[2] + " 1";
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ OldLine = "#define ILU_VERSION " + oldversion[0] + oldversion[1] + oldversion[2];
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = "#define ILU_VERSION " + newversion[0] + newversion[1] + newversion[2];
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ } while (!file.eof());
+ file.close();
+ file.clear();
+
+
+
+//
+//
+// IL/ilut.h
+//
+//
+ file.open("include/IL/ilut.h", fstream::in | fstream::out);
+ if (!file.is_open()) {
+ cout << "Unable to open include/IL/ilut.h" << endl;
+ return 0;
+ }
+ do {
+ pos1 = file.tellg();
+ getline(file, line);
+ pos2 = file.tellg();
+
+ OldLine = "#define ILUT_VERSION_" + oldversion[0] + "_" + oldversion[1] + "_" + oldversion[2] + " 1";
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = "#define ILUT_VERSION_" + newversion[0] + "_" + newversion[1] + "_" + newversion[2] + " 1";
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ OldLine = "#define ILUT_VERSION " + oldversion[0] + oldversion[1] + oldversion[2];
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = "#define ILUT_VERSION " + newversion[0] + newversion[1] + newversion[2];
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ } while (!file.eof());
+ file.close();
+ file.clear();
+
+
+
+//
+//
+// README
+//
+//
+ file.open("README", fstream::in | fstream::out);
+ if (!file.is_open()) {
+ cout << "Unable to open README" << endl;
+ return 0;
+ }
+ do {
+ pos1 = file.tellg();
+ getline(file, line);
+ pos2 = file.tellg();
+
+ OldLine = "Developer's Image Library version " + OldString + " Readme, Notes and Quick Use";
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = "Developer's Image Library version " + NewString + " Readme, Notes and Quick Use";
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ } while (!file.eof());
+ file.close();
+ file.clear();
+
+
+
+//
+//
+// include/IL/config.h.win
+//
+//
+ file.open("include/IL/config.h.win", fstream::in | fstream::out);
+ if (!file.is_open()) {
+ cout << "Unable to open include/IL/config.h.win" << endl;
+ return 0;
+ }
+ do {
+ pos1 = file.tellg();
+ getline(file, line);
+ pos2 = file.tellg();
+
+ OldLine = "//#define IL_VERSION \"" + OldString + "\"";
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = "//#define IL_VERSION \"" + NewString + "\"";
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ } while (!file.eof());
+ file.close();
+ file.clear();
+
+
+
+//
+//
+// src-IL/src/il_states.c
+//
+//
+ file.open("src-IL/src/il_states.c", fstream::in | fstream::out);
+ if (!file.is_open()) {
+ cout << "Unable to open src-IL/src/il_states.c" << endl;
+ return 0;
+ }
+ do {
+ pos1 = file.tellg();
+ getline(file, line);
+ pos2 = file.tellg();
+
+ OldLine = "ILstring _ilVersion = IL_TEXT(\"Developer's Image Library (DevIL) " + OldString + "\");";
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = "ILstring _ilVersion = IL_TEXT(\"Developer's Image Library (DevIL) " + NewString + "\");";
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ } while (!file.eof());
+ file.close();
+ file.clear();
+
+
+
+//
+//
+// src-ILU/src/ilu_states.c
+//
+//
+ file.open("src-ILU/src/ilu_states.c", fstream::in | fstream::out);
+ if (!file.is_open()) {
+ cout << "Unable to open src-ILU/src/ilu_states.c" << endl;
+ return 0;
+ }
+ do {
+ pos1 = file.tellg();
+ getline(file, line);
+ pos2 = file.tellg();
+
+ OldLine = "ILconst_string _iluVersion = IL_TEXT(\"Developer's Image Library Utilities (ILU) " + OldString + " \" IL_TEXT(__DATE__));";
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = "ILconst_string _iluVersion = IL_TEXT(\"Developer's Image Library Utilities (ILU) " + NewString + " \" IL_TEXT(__DATE__));";
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ } while (!file.eof());
+ file.close();
+ file.clear();
+
+
+
+//
+//
+// src-ILUT/src/ilut_states.c
+//
+//
+ file.open("src-ILUT/src/ilut_states.c", fstream::in | fstream::out);
+ if (!file.is_open()) {
+ cout << "Unable to open src-ILUT/src/ilut_states.c" << endl;
+ return 0;
+ }
+ do {
+ pos1 = file.tellg();
+ getline(file, line);
+ pos2 = file.tellg();
+
+ OldLine = "ILconst_string _ilutVersion = IL_TEXT(\"Developer's Image Library Utility Toolkit (ILUT) " + OldString + " \");";
+ if (line == OldLine) {
+ file.seekp(pos1);
+ NewLine = "ILconst_string _ilutVersion = IL_TEXT(\"Developer's Image Library Utility Toolkit (ILUT) " + NewString + " \");";
+ file << NewLine;
+ file.seekg(pos2);
+ }
+ } while (!file.eof());
+ file.close();
+ file.clear();
+
+
+ cout << "Successfully updated all files!" << endl;
+
+ return 0;
+}
+
diff --git a/DevIL-utils/DevIL Version/DevIL Version.sln b/DevIL-utils/DevIL Version/DevIL Version.sln
index d4b0aa28..a18163e1 100755
--- a/DevIL-utils/DevIL Version/DevIL Version.sln
+++ b/DevIL-utils/DevIL Version/DevIL Version.sln
@@ -1,26 +1,26 @@
-
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DevIL Version", "DevIL Version.vcproj", "{038AD9B0-4964-417C-BA1A-9BE619CB7FB6}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Debug|x64 = Debug|x64
- Release|Win32 = Release|Win32
- Release|x64 = Release|x64
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {038AD9B0-4964-417C-BA1A-9BE619CB7FB6}.Debug|Win32.ActiveCfg = Debug|Win32
- {038AD9B0-4964-417C-BA1A-9BE619CB7FB6}.Debug|Win32.Build.0 = Debug|Win32
- {038AD9B0-4964-417C-BA1A-9BE619CB7FB6}.Debug|x64.ActiveCfg = Debug|x64
- {038AD9B0-4964-417C-BA1A-9BE619CB7FB6}.Debug|x64.Build.0 = Debug|x64
- {038AD9B0-4964-417C-BA1A-9BE619CB7FB6}.Release|Win32.ActiveCfg = Release|Win32
- {038AD9B0-4964-417C-BA1A-9BE619CB7FB6}.Release|Win32.Build.0 = Release|Win32
- {038AD9B0-4964-417C-BA1A-9BE619CB7FB6}.Release|x64.ActiveCfg = Release|x64
- {038AD9B0-4964-417C-BA1A-9BE619CB7FB6}.Release|x64.Build.0 = Release|x64
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
+
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DevIL Version", "DevIL Version.vcproj", "{038AD9B0-4964-417C-BA1A-9BE619CB7FB6}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
+ Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {038AD9B0-4964-417C-BA1A-9BE619CB7FB6}.Debug|Win32.ActiveCfg = Debug|Win32
+ {038AD9B0-4964-417C-BA1A-9BE619CB7FB6}.Debug|Win32.Build.0 = Debug|Win32
+ {038AD9B0-4964-417C-BA1A-9BE619CB7FB6}.Debug|x64.ActiveCfg = Debug|x64
+ {038AD9B0-4964-417C-BA1A-9BE619CB7FB6}.Debug|x64.Build.0 = Debug|x64
+ {038AD9B0-4964-417C-BA1A-9BE619CB7FB6}.Release|Win32.ActiveCfg = Release|Win32
+ {038AD9B0-4964-417C-BA1A-9BE619CB7FB6}.Release|Win32.Build.0 = Release|Win32
+ {038AD9B0-4964-417C-BA1A-9BE619CB7FB6}.Release|x64.ActiveCfg = Release|x64
+ {038AD9B0-4964-417C-BA1A-9BE619CB7FB6}.Release|x64.Build.0 = Release|x64
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/DevIL-utils/DevIL Version/DevIL Version.vcproj b/DevIL-utils/DevIL Version/DevIL Version.vcproj
index c40fbb17..370c3f70 100755
--- a/DevIL-utils/DevIL Version/DevIL Version.vcproj
+++ b/DevIL-utils/DevIL Version/DevIL Version.vcproj
@@ -1,192 +1,192 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="DevIL Version"
- ProjectGUID="{038AD9B0-4964-417C-BA1A-9BE619CB7FB6}"
- RootNamespace="DevILVersion"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- OutputFile="$(OutDir)\DevIL Version Updater.exe"
- GenerateDebugInformation="true"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- EmbedManifest="false"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- RuntimeLibrary="2"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- OutputFile="$(OutDir)\DevIL Version Updater.exe"
- GenerateDebugInformation="true"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- EmbedManifest="false"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\DevIL Version.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="DevIL Version"
+ ProjectGUID="{038AD9B0-4964-417C-BA1A-9BE619CB7FB6}"
+ RootNamespace="DevILVersion"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(OutDir)\DevIL Version Updater.exe"
+ GenerateDebugInformation="true"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ EmbedManifest="false"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ RuntimeLibrary="2"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(OutDir)\DevIL Version Updater.exe"
+ GenerateDebugInformation="true"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ EmbedManifest="false"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\DevIL Version.cpp"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL-utils/DevIL Version/IL Unicode.rc b/DevIL-utils/DevIL Version/IL Unicode.rc
index 11042a02..7eb7c7bb 100755
--- a/DevIL-utils/DevIL Version/IL Unicode.rc
+++ b/DevIL-utils/DevIL Version/IL Unicode.rc
@@ -1,120 +1,120 @@
-// Microsoft Visual C++ generated resource script.
-//
-#include "resource.h"
-
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-#include "afxres.h"
-
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
-/////////////////////////////////////////////////////////////////////////////
-// English (U.S.) resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-#ifdef _WIN32
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
-#pragma code_page(1252)
-#endif //_WIN32
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Version
-//
-
-1 VERSIONINFO
- FILEVERSION 0,1,7,4
- PRODUCTVERSION 0,1,7,4
- FILEFLAGSMASK 0x0L
-#ifdef _DEBUG
- FILEFLAGS 0x1L
-#else
- FILEFLAGS 0x0L
-#endif
- FILEOS 0x4L
- FILETYPE 0x2L
- FILESUBTYPE 0x0L
-BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "040904b0"
- BEGIN
- VALUE "Comments", "DevIL: A portable image library in development"
- VALUE "CompanyName", "Abysmal Software"
- VALUE "FileDescription", "DevIL: A portable image library in development"
- VALUE "FileVersion", "1.7.4"
- VALUE "InternalName", "Developer's Image Library (DevIL)"
- VALUE "LegalCopyright", "Copyright © 2000-2008"
- VALUE "LegalTrademarks", "Under LGPL License"
- VALUE "OriginalFilename", "DevIL.dll"
- VALUE "PrivateBuild", "Open Source"
- VALUE "ProductName", "Developer's Image Library (DevIL)"
- VALUE "ProductVersion", "1.7.4 Unicode"
- VALUE "SpecialBuild", "Unicode"
- END
- END
- BLOCK "VarFileInfo"
- BEGIN
- VALUE "Translation", 0x409, 1200
- END
-END
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Icon
-//
-
-// Icon with lowest ID value placed first to ensure application icon
-// remains consistent on all systems.
-IDI_ICON1 ICON "resources\\IL Logo.ico"
-
-#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// TEXTINCLUDE
-//
-
-1 TEXTINCLUDE
-BEGIN
- "resource.h\0"
-END
-
-
-3 TEXTINCLUDE
-BEGIN
- "\r\n"
-END
-
-#endif // APSTUDIO_INVOKED
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// String Table
-//
-
-STRINGTABLE
-BEGIN
- IDC_OPENIL "Developer's Image Library, Version 1.7.4"
-END
-
-#endif // English (U.S.) resources
-/////////////////////////////////////////////////////////////////////////////
-
-
-
-#ifndef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 3 resource.
-//
-
-
-/////////////////////////////////////////////////////////////////////////////
-#endif // not APSTUDIO_INVOKED
-
+// Microsoft Visual C++ generated resource script.
+//
+#include "resource.h"
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+#include "afxres.h"
+
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// English (U.S.) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
+#ifdef _WIN32
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+#pragma code_page(1252)
+#endif //_WIN32
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+1 VERSIONINFO
+ FILEVERSION 0,1,7,4
+ PRODUCTVERSION 0,1,7,4
+ FILEFLAGSMASK 0x0L
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x4L
+ FILETYPE 0x2L
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "Comments", "DevIL: A portable image library in development"
+ VALUE "CompanyName", "Abysmal Software"
+ VALUE "FileDescription", "DevIL: A portable image library in development"
+ VALUE "FileVersion", "1.7.4"
+ VALUE "InternalName", "Developer's Image Library (DevIL)"
+ VALUE "LegalCopyright", "Copyright © 2000-2008"
+ VALUE "LegalTrademarks", "Under LGPL License"
+ VALUE "OriginalFilename", "DevIL.dll"
+ VALUE "PrivateBuild", "Open Source"
+ VALUE "ProductName", "Developer's Image Library (DevIL)"
+ VALUE "ProductVersion", "1.7.4 Unicode"
+ VALUE "SpecialBuild", "Unicode"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Icon
+//
+
+// Icon with lowest ID value placed first to ensure application icon
+// remains consistent on all systems.
+IDI_ICON1 ICON "resources\\IL Logo.ico"
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+1 TEXTINCLUDE
+BEGIN
+ "resource.h\0"
+END
+
+
+3 TEXTINCLUDE
+BEGIN
+ "\r\n"
+END
+
+#endif // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// String Table
+//
+
+STRINGTABLE
+BEGIN
+ IDC_OPENIL "Developer's Image Library, Version 1.7.4"
+END
+
+#endif // English (U.S.) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
+
diff --git a/DevIL-utils/DevIL Version/Version Numbers.txt b/DevIL-utils/DevIL Version/Version Numbers.txt
index 58c038ef..693d3aad 100755
--- a/DevIL-utils/DevIL Version/Version Numbers.txt
+++ b/DevIL-utils/DevIL Version/Version Numbers.txt
@@ -1,4 +1,4 @@
-174
-175
-
+174
+175
+
Previous version goes in the first line, and the current version goes in the next line. \ No newline at end of file
diff --git a/DevIL/bindings/DotNet/AssemblyInfo.cpp b/DevIL/bindings/DotNet/AssemblyInfo.cpp
index 46f20243..3ab8af79 100755
--- a/DevIL/bindings/DotNet/AssemblyInfo.cpp
+++ b/DevIL/bindings/DotNet/AssemblyInfo.cpp
@@ -1,58 +1,58 @@
-#include "stdafx.h"
-
-using namespace System::Reflection;
-using namespace System::Runtime::CompilerServices;
-
-//
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-//
-[assembly:AssemblyTitleAttribute("DevIL.NET")];
-[assembly:AssemblyDescriptionAttribute("DevIL.NET - Image Library for .NET framework")];
-[assembly:AssemblyConfigurationAttribute("")];
-[assembly:AssemblyCompanyAttribute("(C) 2005 - Marco Mastropaolo (http://www.mastropaolo.com)")];
-[assembly:AssemblyProductAttribute("(C) 2005 - Marco Mastropaolo (http://www.mastropaolo.com)")];
-[assembly:AssemblyCopyrightAttribute("(C) 2005 - Marco Mastropaolo (http://www.mastropaolo.com) - Released under BSD license")];
-[assembly:AssemblyTrademarkAttribute("(C) 2005 - Marco Mastropaolo (http://www.mastropaolo.com) - Released under BSD license")];
-[assembly:AssemblyCultureAttribute("")];
-
-//
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the value or you can default the Revision and Build Numbers
-// by using the '*' as shown below:
-
-[assembly:AssemblyVersionAttribute("1.1.*")];
-
-//
-// In order to sign your assembly you must specify a key to use. Refer to the
-// Microsoft .NET Framework documentation for more information on assembly signing.
-//
-// Use the attributes below to control which key is used for signing.
-//
-// Notes:
-// (*) If no key is specified, the assembly is not signed.
-// (*) KeyName refers to a key that has been installed in the Crypto Service
-// Provider (CSP) on your machine. KeyFile refers to a file which contains
-// a key.
-// (*) If the KeyFile and the KeyName values are both specified, the
-// following processing occurs:
-// (1) If the KeyName can be found in the CSP, that key is used.
-// (2) If the KeyName does not exist and the KeyFile does exist, the key
-// in the KeyFile is installed into the CSP and used.
-// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
-// When specifying the KeyFile, the location of the KeyFile should be
-// relative to the project directory.
-// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
-// documentation for more information on this.
-//
-[assembly:AssemblyDelaySignAttribute(false)];
-[assembly:AssemblyKeyFileAttribute("")];
-[assembly:AssemblyKeyNameAttribute("")];
-
+#include "stdafx.h"
+
+using namespace System::Reflection;
+using namespace System::Runtime::CompilerServices;
+
+//
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+//
+[assembly:AssemblyTitleAttribute("DevIL.NET")];
+[assembly:AssemblyDescriptionAttribute("DevIL.NET - Image Library for .NET framework")];
+[assembly:AssemblyConfigurationAttribute("")];
+[assembly:AssemblyCompanyAttribute("(C) 2005 - Marco Mastropaolo (http://www.mastropaolo.com)")];
+[assembly:AssemblyProductAttribute("(C) 2005 - Marco Mastropaolo (http://www.mastropaolo.com)")];
+[assembly:AssemblyCopyrightAttribute("(C) 2005 - Marco Mastropaolo (http://www.mastropaolo.com) - Released under BSD license")];
+[assembly:AssemblyTrademarkAttribute("(C) 2005 - Marco Mastropaolo (http://www.mastropaolo.com) - Released under BSD license")];
+[assembly:AssemblyCultureAttribute("")];
+
+//
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the value or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+
+[assembly:AssemblyVersionAttribute("1.1.*")];
+
+//
+// In order to sign your assembly you must specify a key to use. Refer to the
+// Microsoft .NET Framework documentation for more information on assembly signing.
+//
+// Use the attributes below to control which key is used for signing.
+//
+// Notes:
+// (*) If no key is specified, the assembly is not signed.
+// (*) KeyName refers to a key that has been installed in the Crypto Service
+// Provider (CSP) on your machine. KeyFile refers to a file which contains
+// a key.
+// (*) If the KeyFile and the KeyName values are both specified, the
+// following processing occurs:
+// (1) If the KeyName can be found in the CSP, that key is used.
+// (2) If the KeyName does not exist and the KeyFile does exist, the key
+// in the KeyFile is installed into the CSP and used.
+// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
+// When specifying the KeyFile, the location of the KeyFile should be
+// relative to the project directory.
+// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
+// documentation for more information on this.
+//
+[assembly:AssemblyDelaySignAttribute(false)];
+[assembly:AssemblyKeyFileAttribute("")];
+[assembly:AssemblyKeyNameAttribute("")];
+
diff --git a/DevIL/bindings/DotNet/COPYING.txt b/DevIL/bindings/DotNet/COPYING.txt
index 767a6cf4..97eb2ead 100755
--- a/DevIL/bindings/DotNet/COPYING.txt
+++ b/DevIL/bindings/DotNet/COPYING.txt
@@ -1,11 +1,11 @@
-DevIL.NET
-Copyright (c) 2005, Marco Mastropaolo
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- * Neither the name of DevIL.NET nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
-
+DevIL.NET
+Copyright (c) 2005, Marco Mastropaolo
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+ * Neither the name of DevIL.NET nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file
diff --git a/DevIL/bindings/DotNet/DevIL.NET.cpp b/DevIL/bindings/DotNet/DevIL.NET.cpp
index 3d11eb01..e64c9ca3 100755
--- a/DevIL/bindings/DotNet/DevIL.NET.cpp
+++ b/DevIL/bindings/DotNet/DevIL.NET.cpp
@@ -1,308 +1,308 @@
-// DevIL.NET
-// Copyright (c) 2005, Marco Mastropaolo
-// All rights reserved.
-
-// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
-// following conditions are met:
-
-// * Redistributions of source code must retain the above copyright notice, this list of conditions and the
-// following disclaimer.
-// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
-// following disclaimer in the documentation and/or other materials provided with the distribution.
-// * Neither the name of DevIL.NET nor the names of its contributors may be used to endorse or promote products
-// derived from this software without specific prior written permission.
-
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
-// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
-// USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-#using <mscorlib.dll>
-#using <System.Drawing.dll>
-#include <windows.h>
-#include "IL/il.h"
-#include "IL/ilu.h"
-
-#undef LoadBitmap // brain damaged windows.h macros..
-
-typedef ILboolean (*PFNILUSCALE)(ILuint Width, ILuint Height, ILuint Depth);
-typedef ILvoid (*PFNILUIMAGEPARAMETER)(ILenum PName, ILenum Param);
-
-
-
-namespace DevIL
-{
- class StringAutoMarshal
- {
- char* m_string;
-
- inline explicit StringAutoMarshal(const StringAutoMarshal& i_Source) : m_string(NULL) {}
- inline StringAutoMarshal& operator= (const StringAutoMarshal& i_Source) {}
-
- public:
- inline explicit StringAutoMarshal(const System::String __gc* i_strString) : m_string(NULL)
- {
- m_string = (char*)(void*)System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi(const_cast<System::String __gc*>(i_strString));
- }
-
-
- inline ~StringAutoMarshal()
- {
- System::Runtime::InteropServices::Marshal::FreeHGlobal((void*)m_string);
- }
-
- inline char* GetNativeString()
- {
- return m_string;
- }
-
- inline operator char*()
- {
- return m_string;
- }
- };
-
- public __value enum DevILScaleFilter
- {
- NEAREST = ILU_NEAREST,
- LINEAR = ILU_LINEAR,
- BILINEAR = ILU_BILINEAR,
- BOX = ILU_SCALE_BOX,
- TRIANGLE = ILU_SCALE_TRIANGLE,
- BELL = ILU_SCALE_BELL,
- BSPLINE = ILU_SCALE_BSPLINE,
- LANCZOS3 = ILU_SCALE_LANCZOS3,
- MITCHELL = ILU_SCALE_MITCHELL
- };
-
- public __value enum DevILScaleKind
- {
- DO_NOT_SCALE,
- WIDTH_AND_HEIGHT,
- WIDTH_ONLY,
- HEIGHT_ONLY,
- KEEPRATIO_USING_WIDTH,
- KEEPRATIO_USING_HEIGHT
- };
-
-
- public __value enum DevILErrorCode
- {
- OK = 0,
- ILU_DLL_NOT_FOUND = 0x0001,
- INVALID_ENUM = IL_INVALID_ENUM,
- OUT_OF_MEMORY = IL_OUT_OF_MEMORY,
- FORMAT_NOT_SUPPORTED = IL_FORMAT_NOT_SUPPORTED,
- INTERNAL_ERROR = IL_INTERNAL_ERROR,
- INVALID_VALUE = IL_INVALID_VALUE,
- ILLEGAL_OPERATION = IL_ILLEGAL_OPERATION,
- ILLEGAL_FILE_VALUE = IL_ILLEGAL_FILE_VALUE,
- INVALID_FILE_HEADER = IL_INVALID_FILE_HEADER,
- INVALID_PARAM = IL_INVALID_PARAM,
- COULD_NOT_OPEN_FILE = IL_COULD_NOT_OPEN_FILE,
- INVALID_EXTENSION = IL_INVALID_EXTENSION,
- FILE_ALREADY_EXISTS = IL_FILE_ALREADY_EXISTS,
- OUT_FORMAT_SAME = IL_OUT_FORMAT_SAME,
- STACK_OVERFLOW = IL_STACK_OVERFLOW,
- STACK_UNDERFLOW = IL_STACK_UNDERFLOW,
- INVALID_CONVERSION = IL_INVALID_CONVERSION,
- BAD_DIMENSIONS = IL_BAD_DIMENSIONS,
- FILE_READ_ERROR = IL_FILE_READ_ERROR,
- FILE_WRITE_ERROR = IL_FILE_WRITE_ERROR,
- LIB_GIF_ERROR = IL_LIB_GIF_ERROR,
- LIB_JPEG_ERROR = IL_LIB_JPEG_ERROR,
- LIB_PNG_ERROR = IL_LIB_PNG_ERROR,
- LIB_TIFF_ERROR = IL_LIB_TIFF_ERROR,
- LIB_MNG_ERROR = IL_LIB_MNG_ERROR,
- UNKNOWN_ERROR = IL_UNKNOWN_ERROR
- };
-
-
- public __gc class DevIL
- {
- protected:
- static ILuint s_iImageID = 0;
- static bool s_bInitDone = false;
- static bool s_bIluLoaded = false;
- static DevILErrorCode s_eErrCode = OK;
- static PFNILUSCALE pfnIluScale = NULL;
- static PFNILUIMAGEPARAMETER pfnIluImageParameter = NULL;
- static void LoadILU();
- public:
- static System::Drawing::Bitmap __gc* LoadBitmap(System::String __gc* i_szFileName);
- static System::Drawing::Bitmap __gc* LoadBitmapAndScale(System::String __gc* i_szFileName,
- int i_iWidth, int i_iHeight,
- DevILScaleFilter i_eFilter, DevILScaleKind i_eKind);
- static bool SaveBitmap(System::String __gc* i_szFileName, System::Drawing::Bitmap __gc* i_poBitmap);
- static DevILErrorCode GetErrorCode();
- };
-}
-
-
-
-void DevIL::DevIL::LoadILU()
-{
- HMODULE hM = LoadLibrary("ILU.dll");
-
- if (hM)
- {
- pfnIluScale = (PFNILUSCALE)GetProcAddress(hM, "iluScale");
- pfnIluImageParameter = (PFNILUIMAGEPARAMETER)GetProcAddress(hM, "iluImageParameter");
- s_bIluLoaded = (pfnIluScale != NULL) && (pfnIluImageParameter != NULL);
- }
-}
-
-
-
-System::Drawing::Bitmap __gc* DevIL::DevIL::LoadBitmap(System::String __gc* i_szFileName)
-{
- return LoadBitmapAndScale(i_szFileName, 0, 0, NEAREST, DO_NOT_SCALE);
-}
-
-DevIL::DevILErrorCode DevIL::DevIL::GetErrorCode()
-{
- if (s_eErrCode == OK)
- {
- return DevILErrorCode(ilGetError());
- }
- else
- {
- DevILErrorCode eErr = s_eErrCode;
- s_eErrCode = OK;
- return eErr;
- }
-}
-
-System::Drawing::Bitmap __gc* DevIL::DevIL::LoadBitmapAndScale(System::String __gc* i_szFileName,
- int i_iWidth, int i_iHeight,
- DevILScaleFilter i_eFilter,
- DevILScaleKind i_eKind)
-{
- if (!s_bInitDone)
- {
- ilInit();
- s_bInitDone = true;
- }
- ilGenImages(1, &s_iImageID);
- ilBindImage(s_iImageID);
-
- if (0==ilLoadImage(StringAutoMarshal(i_szFileName)))
- {
- return NULL;
- }
-
- int iW = ilGetInteger(IL_IMAGE_WIDTH);
- int iH = ilGetInteger(IL_IMAGE_HEIGHT);
- bool bResize = true;
-
- switch(i_eKind)
- {
- case WIDTH_AND_HEIGHT:
- iW = i_iWidth;
- iH = i_iHeight;
- break;
- case WIDTH_ONLY:
- iW = i_iWidth;
- break;
- case HEIGHT_ONLY:
- iH = i_iHeight;
- break;
- case KEEPRATIO_USING_WIDTH:
- iH = int(double(iH) * double(i_iWidth) / double(iW));
- iW = i_iWidth;
- break;
- case KEEPRATIO_USING_HEIGHT:
- iW = int(double(iW) * double(i_iHeight) / double(iH));
- iH = i_iHeight;
- break;
- case DO_NOT_SCALE:
- bResize = false;
- break;
- default:
- break;
- }
-
- System::Drawing::Bitmap __gc* pBmp = __gc new System::Drawing::Bitmap(iW, iH, System::Drawing::Imaging::PixelFormat::Format32bppArgb);
-
- System::Drawing::Rectangle rect; rect.X = 0; rect.Y = 0; rect.Width = iW; rect.Height = iH;
-
- System::Drawing::Imaging::BitmapData __gc* pBd = pBmp->LockBits(rect,
- System::Drawing::Imaging::ImageLockMode::WriteOnly,
- System::Drawing::Imaging::PixelFormat::Format32bppArgb);
-
- void* pScan0 = (void*)(pBd->Scan0);
-
- // this is dangerous bc we ignore stride.. but it works and is FAST! ;)
-
- if (bResize)
- {
- if (!s_bIluLoaded)
- {
- LoadILU();
- }
-
- if (s_bIluLoaded)
- {
- pfnIluImageParameter(ILU_FILTER, (int)(i_eFilter));
- pfnIluScale(iW, iH, 1);
- }
- else
- {
- s_eErrCode = ILU_DLL_NOT_FOUND;
- return NULL;
- }
- }
-
- ilConvertImage(IL_BGRA, IL_UNSIGNED_BYTE); // support for non 32bit images..
- ilCopyPixels(0, 0, 0, iW, iH, 1, IL_BGRA, IL_UNSIGNED_BYTE, pScan0);
-
- ilDeleteImages(1, &s_iImageID);
-
- pBmp->UnlockBits(pBd);
-
- return pBmp;
-}
-
-bool DevIL::DevIL::SaveBitmap(System::String __gc* i_szFileName, System::Drawing::Bitmap __gc* i_poBitmap)
-{
- if (!s_bInitDone)
- {
- ilInit();
- s_bInitDone = true;
- }
- ilGenImages(1, &s_iImageID);
- ilBindImage(s_iImageID);
-
- int iW = i_poBitmap->get_Width();
- int iH = i_poBitmap->get_Height();
-
- System::Drawing::Rectangle rect; rect.X = 0; rect.Y = 0; rect.Width = iW; rect.Height = iH;
-
- i_poBitmap->RotateFlip(System::Drawing::RotateFlipType::RotateNoneFlipY);
-
- System::Drawing::Imaging::BitmapData __gc* pBd = i_poBitmap->LockBits(rect,
- System::Drawing::Imaging::ImageLockMode::ReadOnly,
- System::Drawing::Imaging::PixelFormat::Format32bppArgb);
-
- void* pScan0 = (void*)(pBd->Scan0);
-
- bool bSuccess = 0!= ilTexImage(iW, iH, 1, 4, IL_BGRA, IL_UNSIGNED_BYTE, pScan0);
-
- if (!bSuccess)
- {
- return false;
- }
-
- bool bRes = ilSaveImage(StringAutoMarshal(i_szFileName))!=0;
-
- ilDeleteImages(1, &s_iImageID);
-
- i_poBitmap->UnlockBits(pBd);
- i_poBitmap->RotateFlip(System::Drawing::RotateFlipType::RotateNoneFlipY);
-
- return bRes;
-}
-
+// DevIL.NET
+// Copyright (c) 2005, Marco Mastropaolo
+// All rights reserved.
+
+// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
+// following conditions are met:
+
+// * Redistributions of source code must retain the above copyright notice, this list of conditions and the
+// following disclaimer.
+// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
+// following disclaimer in the documentation and/or other materials provided with the distribution.
+// * Neither the name of DevIL.NET nor the names of its contributors may be used to endorse or promote products
+// derived from this software without specific prior written permission.
+
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
+// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+// USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+#using <mscorlib.dll>
+#using <System.Drawing.dll>
+#include <windows.h>
+#include "IL/il.h"
+#include "IL/ilu.h"
+
+#undef LoadBitmap // brain damaged windows.h macros..
+
+typedef ILboolean (*PFNILUSCALE)(ILuint Width, ILuint Height, ILuint Depth);
+typedef ILvoid (*PFNILUIMAGEPARAMETER)(ILenum PName, ILenum Param);
+
+
+
+namespace DevIL
+{
+ class StringAutoMarshal
+ {
+ char* m_string;
+
+ inline explicit StringAutoMarshal(const StringAutoMarshal& i_Source) : m_string(NULL) {}
+ inline StringAutoMarshal& operator= (const StringAutoMarshal& i_Source) {}
+
+ public:
+ inline explicit StringAutoMarshal(const System::String __gc* i_strString) : m_string(NULL)
+ {
+ m_string = (char*)(void*)System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi(const_cast<System::String __gc*>(i_strString));
+ }
+
+
+ inline ~StringAutoMarshal()
+ {
+ System::Runtime::InteropServices::Marshal::FreeHGlobal((void*)m_string);
+ }
+
+ inline char* GetNativeString()
+ {
+ return m_string;
+ }
+
+ inline operator char*()
+ {
+ return m_string;
+ }
+ };
+
+ public __value enum DevILScaleFilter
+ {
+ NEAREST = ILU_NEAREST,
+ LINEAR = ILU_LINEAR,
+ BILINEAR = ILU_BILINEAR,
+ BOX = ILU_SCALE_BOX,
+ TRIANGLE = ILU_SCALE_TRIANGLE,
+ BELL = ILU_SCALE_BELL,
+ BSPLINE = ILU_SCALE_BSPLINE,
+ LANCZOS3 = ILU_SCALE_LANCZOS3,
+ MITCHELL = ILU_SCALE_MITCHELL
+ };
+
+ public __value enum DevILScaleKind
+ {
+ DO_NOT_SCALE,
+ WIDTH_AND_HEIGHT,
+ WIDTH_ONLY,
+ HEIGHT_ONLY,
+ KEEPRATIO_USING_WIDTH,
+ KEEPRATIO_USING_HEIGHT
+ };
+
+
+ public __value enum DevILErrorCode
+ {
+ OK = 0,
+ ILU_DLL_NOT_FOUND = 0x0001,
+ INVALID_ENUM = IL_INVALID_ENUM,
+ OUT_OF_MEMORY = IL_OUT_OF_MEMORY,
+ FORMAT_NOT_SUPPORTED = IL_FORMAT_NOT_SUPPORTED,
+ INTERNAL_ERROR = IL_INTERNAL_ERROR,
+ INVALID_VALUE = IL_INVALID_VALUE,
+ ILLEGAL_OPERATION = IL_ILLEGAL_OPERATION,
+ ILLEGAL_FILE_VALUE = IL_ILLEGAL_FILE_VALUE,
+ INVALID_FILE_HEADER = IL_INVALID_FILE_HEADER,
+ INVALID_PARAM = IL_INVALID_PARAM,
+ COULD_NOT_OPEN_FILE = IL_COULD_NOT_OPEN_FILE,
+ INVALID_EXTENSION = IL_INVALID_EXTENSION,
+ FILE_ALREADY_EXISTS = IL_FILE_ALREADY_EXISTS,
+ OUT_FORMAT_SAME = IL_OUT_FORMAT_SAME,
+ STACK_OVERFLOW = IL_STACK_OVERFLOW,
+ STACK_UNDERFLOW = IL_STACK_UNDERFLOW,
+ INVALID_CONVERSION = IL_INVALID_CONVERSION,
+ BAD_DIMENSIONS = IL_BAD_DIMENSIONS,
+ FILE_READ_ERROR = IL_FILE_READ_ERROR,
+ FILE_WRITE_ERROR = IL_FILE_WRITE_ERROR,
+ LIB_GIF_ERROR = IL_LIB_GIF_ERROR,
+ LIB_JPEG_ERROR = IL_LIB_JPEG_ERROR,
+ LIB_PNG_ERROR = IL_LIB_PNG_ERROR,
+ LIB_TIFF_ERROR = IL_LIB_TIFF_ERROR,
+ LIB_MNG_ERROR = IL_LIB_MNG_ERROR,
+ UNKNOWN_ERROR = IL_UNKNOWN_ERROR
+ };
+
+
+ public __gc class DevIL
+ {
+ protected:
+ static ILuint s_iImageID = 0;
+ static bool s_bInitDone = false;
+ static bool s_bIluLoaded = false;
+ static DevILErrorCode s_eErrCode = OK;
+ static PFNILUSCALE pfnIluScale = NULL;
+ static PFNILUIMAGEPARAMETER pfnIluImageParameter = NULL;
+ static void LoadILU();
+ public:
+ static System::Drawing::Bitmap __gc* LoadBitmap(System::String __gc* i_szFileName);
+ static System::Drawing::Bitmap __gc* LoadBitmapAndScale(System::String __gc* i_szFileName,
+ int i_iWidth, int i_iHeight,
+ DevILScaleFilter i_eFilter, DevILScaleKind i_eKind);
+ static bool SaveBitmap(System::String __gc* i_szFileName, System::Drawing::Bitmap __gc* i_poBitmap);
+ static DevILErrorCode GetErrorCode();
+ };
+}
+
+
+
+void DevIL::DevIL::LoadILU()
+{
+ HMODULE hM = LoadLibrary("ILU.dll");
+
+ if (hM)
+ {
+ pfnIluScale = (PFNILUSCALE)GetProcAddress(hM, "iluScale");
+ pfnIluImageParameter = (PFNILUIMAGEPARAMETER)GetProcAddress(hM, "iluImageParameter");
+ s_bIluLoaded = (pfnIluScale != NULL) && (pfnIluImageParameter != NULL);
+ }
+}
+
+
+
+System::Drawing::Bitmap __gc* DevIL::DevIL::LoadBitmap(System::String __gc* i_szFileName)
+{
+ return LoadBitmapAndScale(i_szFileName, 0, 0, NEAREST, DO_NOT_SCALE);
+}
+
+DevIL::DevILErrorCode DevIL::DevIL::GetErrorCode()
+{
+ if (s_eErrCode == OK)
+ {
+ return DevILErrorCode(ilGetError());
+ }
+ else
+ {
+ DevILErrorCode eErr = s_eErrCode;
+ s_eErrCode = OK;
+ return eErr;
+ }
+}
+
+System::Drawing::Bitmap __gc* DevIL::DevIL::LoadBitmapAndScale(System::String __gc* i_szFileName,
+ int i_iWidth, int i_iHeight,
+ DevILScaleFilter i_eFilter,
+ DevILScaleKind i_eKind)
+{
+ if (!s_bInitDone)
+ {
+ ilInit();
+ s_bInitDone = true;
+ }
+ ilGenImages(1, &s_iImageID);
+ ilBindImage(s_iImageID);
+
+ if (0==ilLoadImage(StringAutoMarshal(i_szFileName)))
+ {
+ return NULL;
+ }
+
+ int iW = ilGetInteger(IL_IMAGE_WIDTH);
+ int iH = ilGetInteger(IL_IMAGE_HEIGHT);
+ bool bResize = true;
+
+ switch(i_eKind)
+ {
+ case WIDTH_AND_HEIGHT:
+ iW = i_iWidth;
+ iH = i_iHeight;
+ break;
+ case WIDTH_ONLY:
+ iW = i_iWidth;
+ break;
+ case HEIGHT_ONLY:
+ iH = i_iHeight;
+ break;
+ case KEEPRATIO_USING_WIDTH:
+ iH = int(double(iH) * double(i_iWidth) / double(iW));
+ iW = i_iWidth;
+ break;
+ case KEEPRATIO_USING_HEIGHT:
+ iW = int(double(iW) * double(i_iHeight) / double(iH));
+ iH = i_iHeight;
+ break;
+ case DO_NOT_SCALE:
+ bResize = false;
+ break;
+ default:
+ break;
+ }
+
+ System::Drawing::Bitmap __gc* pBmp = __gc new System::Drawing::Bitmap(iW, iH, System::Drawing::Imaging::PixelFormat::Format32bppArgb);
+
+ System::Drawing::Rectangle rect; rect.X = 0; rect.Y = 0; rect.Width = iW; rect.Height = iH;
+
+ System::Drawing::Imaging::BitmapData __gc* pBd = pBmp->LockBits(rect,
+ System::Drawing::Imaging::ImageLockMode::WriteOnly,
+ System::Drawing::Imaging::PixelFormat::Format32bppArgb);
+
+ void* pScan0 = (void*)(pBd->Scan0);
+
+ // this is dangerous bc we ignore stride.. but it works and is FAST! ;)
+
+ if (bResize)
+ {
+ if (!s_bIluLoaded)
+ {
+ LoadILU();
+ }
+
+ if (s_bIluLoaded)
+ {
+ pfnIluImageParameter(ILU_FILTER, (int)(i_eFilter));
+ pfnIluScale(iW, iH, 1);
+ }
+ else
+ {
+ s_eErrCode = ILU_DLL_NOT_FOUND;
+ return NULL;
+ }
+ }
+
+ ilConvertImage(IL_BGRA, IL_UNSIGNED_BYTE); // support for non 32bit images..
+ ilCopyPixels(0, 0, 0, iW, iH, 1, IL_BGRA, IL_UNSIGNED_BYTE, pScan0);
+
+ ilDeleteImages(1, &s_iImageID);
+
+ pBmp->UnlockBits(pBd);
+
+ return pBmp;
+}
+
+bool DevIL::DevIL::SaveBitmap(System::String __gc* i_szFileName, System::Drawing::Bitmap __gc* i_poBitmap)
+{
+ if (!s_bInitDone)
+ {
+ ilInit();
+ s_bInitDone = true;
+ }
+ ilGenImages(1, &s_iImageID);
+ ilBindImage(s_iImageID);
+
+ int iW = i_poBitmap->get_Width();
+ int iH = i_poBitmap->get_Height();
+
+ System::Drawing::Rectangle rect; rect.X = 0; rect.Y = 0; rect.Width = iW; rect.Height = iH;
+
+ i_poBitmap->RotateFlip(System::Drawing::RotateFlipType::RotateNoneFlipY);
+
+ System::Drawing::Imaging::BitmapData __gc* pBd = i_poBitmap->LockBits(rect,
+ System::Drawing::Imaging::ImageLockMode::ReadOnly,
+ System::Drawing::Imaging::PixelFormat::Format32bppArgb);
+
+ void* pScan0 = (void*)(pBd->Scan0);
+
+ bool bSuccess = 0!= ilTexImage(iW, iH, 1, 4, IL_BGRA, IL_UNSIGNED_BYTE, pScan0);
+
+ if (!bSuccess)
+ {
+ return false;
+ }
+
+ bool bRes = ilSaveImage(StringAutoMarshal(i_szFileName))!=0;
+
+ ilDeleteImages(1, &s_iImageID);
+
+ i_poBitmap->UnlockBits(pBd);
+ i_poBitmap->RotateFlip(System::Drawing::RotateFlipType::RotateNoneFlipY);
+
+ return bRes;
+}
+
diff --git a/DevIL/bindings/DotNet/DevIL.NET.vcproj b/DevIL/bindings/DotNet/DevIL.NET.vcproj
index ffa7b727..fbb4ffff 100755
--- a/DevIL/bindings/DotNet/DevIL.NET.vcproj
+++ b/DevIL/bindings/DotNet/DevIL.NET.vcproj
@@ -1,131 +1,131 @@
-<?xml version="1.0" encoding = "Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="7.00"
- Name="DevIL.NET"
- ProjectGUID="{30D94686-D452-4A73-B59D-178288807EE5}"
- Keyword="ManagedCProj">
- <Platforms>
- <Platform
- Name="Win32"/>
- </Platforms>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="Debug"
- IntermediateDirectory="Debug"
- ConfigurationType="2"
- CharacterSet="2"
- ManagedExtensions="TRUE">
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="g:\prg\devil\include"
- PreprocessorDefinitions="WIN32;_DEBUG"
- GeneratePreprocessedFile="0"
- MinimalRebuild="FALSE"
- BasicRuntimeChecks="0"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="3"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib"
- OutputFile="$(OutDir)/DevIL.NET.dll"
- LinkIncremental="2"
- AdditionalLibraryDirectories="g:\prg\devil\lib"
- GenerateDebugInformation="TRUE"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="Release"
- IntermediateDirectory="Release"
- ConfigurationType="2"
- CharacterSet="2"
- ManagedExtensions="TRUE">
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="g:\prg\devil\include"
- PreprocessorDefinitions="WIN32;NDEBUG"
- MinimalRebuild="FALSE"
- UsePrecompiledHeader="0"
- WarningLevel="3"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib"
- OutputFile="$(OutDir)/DevIL.NET.dll"
- LinkIncremental="1"
- AdditionalLibraryDirectories="g:\prg\devil\lib"
- GenerateDebugInformation="TRUE"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- </Configuration>
- </Configurations>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
- <File
- RelativePath="DevIL.NET.cpp">
- <FileConfiguration
- Name="Debug|Win32">
- <Tool
- Name="VCCLCompilerTool"
- GeneratePreprocessedFile="0"/>
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc">
- <File
- RelativePath="DotNetIlu.h">
- </File>
- <File
- RelativePath="Stdafx.h">
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;r">
- </Filter>
- <File
- RelativePath="ReadMe.txt">
- </File>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding = "Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="7.00"
+ Name="DevIL.NET"
+ ProjectGUID="{30D94686-D452-4A73-B59D-178288807EE5}"
+ Keyword="ManagedCProj">
+ <Platforms>
+ <Platform
+ Name="Win32"/>
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug"
+ IntermediateDirectory="Debug"
+ ConfigurationType="2"
+ CharacterSet="2"
+ ManagedExtensions="TRUE">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="g:\prg\devil\include"
+ PreprocessorDefinitions="WIN32;_DEBUG"
+ GeneratePreprocessedFile="0"
+ MinimalRebuild="FALSE"
+ BasicRuntimeChecks="0"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="3"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib"
+ OutputFile="$(OutDir)/DevIL.NET.dll"
+ LinkIncremental="2"
+ AdditionalLibraryDirectories="g:\prg\devil\lib"
+ GenerateDebugInformation="TRUE"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release"
+ IntermediateDirectory="Release"
+ ConfigurationType="2"
+ CharacterSet="2"
+ ManagedExtensions="TRUE">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ InlineFunctionExpansion="1"
+ AdditionalIncludeDirectories="g:\prg\devil\include"
+ PreprocessorDefinitions="WIN32;NDEBUG"
+ MinimalRebuild="FALSE"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib"
+ OutputFile="$(OutDir)/DevIL.NET.dll"
+ LinkIncremental="1"
+ AdditionalLibraryDirectories="g:\prg\devil\lib"
+ GenerateDebugInformation="TRUE"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ </Configuration>
+ </Configurations>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
+ <File
+ RelativePath="DevIL.NET.cpp">
+ <FileConfiguration
+ Name="Debug|Win32">
+ <Tool
+ Name="VCCLCompilerTool"
+ GeneratePreprocessedFile="0"/>
+ </FileConfiguration>
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc">
+ <File
+ RelativePath="DotNetIlu.h">
+ </File>
+ <File
+ RelativePath="Stdafx.h">
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;r">
+ </Filter>
+ <File
+ RelativePath="ReadMe.txt">
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/bindings/DotNet/ImageViewCs/AssemblyInfo.cs b/DevIL/bindings/DotNet/ImageViewCs/AssemblyInfo.cs
index 177a4f0e..9f89a328 100755
--- a/DevIL/bindings/DotNet/ImageViewCs/AssemblyInfo.cs
+++ b/DevIL/bindings/DotNet/ImageViewCs/AssemblyInfo.cs
@@ -1,58 +1,58 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-//
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-//
-[assembly: AssemblyTitle("")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("")]
-[assembly: AssemblyCopyright("")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-//
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Revision and Build Numbers
-// by using the '*' as shown below:
-
-[assembly: AssemblyVersion("1.0.*")]
-
-//
-// In order to sign your assembly you must specify a key to use. Refer to the
-// Microsoft .NET Framework documentation for more information on assembly signing.
-//
-// Use the attributes below to control which key is used for signing.
-//
-// Notes:
-// (*) If no key is specified, the assembly is not signed.
-// (*) KeyName refers to a key that has been installed in the Crypto Service
-// Provider (CSP) on your machine. KeyFile refers to a file which contains
-// a key.
-// (*) If the KeyFile and the KeyName values are both specified, the
-// following processing occurs:
-// (1) If the KeyName can be found in the CSP, that key is used.
-// (2) If the KeyName does not exist and the KeyFile does exist, the key
-// in the KeyFile is installed into the CSP and used.
-// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
-// When specifying the KeyFile, the location of the KeyFile should be
-// relative to the project output directory which is
-// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
-// located in the project directory, you would specify the AssemblyKeyFile
-// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
-// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
-// documentation for more information on this.
-//
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")]
-[assembly: AssemblyKeyName("")]
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+//
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+//
+[assembly: AssemblyTitle("")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("")]
+[assembly: AssemblyCopyright("")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+//
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+
+[assembly: AssemblyVersion("1.0.*")]
+
+//
+// In order to sign your assembly you must specify a key to use. Refer to the
+// Microsoft .NET Framework documentation for more information on assembly signing.
+//
+// Use the attributes below to control which key is used for signing.
+//
+// Notes:
+// (*) If no key is specified, the assembly is not signed.
+// (*) KeyName refers to a key that has been installed in the Crypto Service
+// Provider (CSP) on your machine. KeyFile refers to a file which contains
+// a key.
+// (*) If the KeyFile and the KeyName values are both specified, the
+// following processing occurs:
+// (1) If the KeyName can be found in the CSP, that key is used.
+// (2) If the KeyName does not exist and the KeyFile does exist, the key
+// in the KeyFile is installed into the CSP and used.
+// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
+// When specifying the KeyFile, the location of the KeyFile should be
+// relative to the project output directory which is
+// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
+// located in the project directory, you would specify the AssemblyKeyFile
+// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
+// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
+// documentation for more information on this.
+//
+[assembly: AssemblyDelaySign(false)]
+[assembly: AssemblyKeyFile("")]
+[assembly: AssemblyKeyName("")]
diff --git a/DevIL/bindings/DotNet/ImageViewCs/ImageViewCs.csproj b/DevIL/bindings/DotNet/ImageViewCs/ImageViewCs.csproj
index 13797ee5..593b6a38 100755
--- a/DevIL/bindings/DotNet/ImageViewCs/ImageViewCs.csproj
+++ b/DevIL/bindings/DotNet/ImageViewCs/ImageViewCs.csproj
@@ -1,117 +1,117 @@
-<VisualStudioProject>
- <CSHARP
- ProjectType = "Local"
- ProductVersion = "7.0.9466"
- SchemaVersion = "1.0"
- ProjectGuid = "{C6EF7F8A-0CCB-4DAD-A70E-CCCB25608A5E}"
- >
- <Build>
- <Settings
- ApplicationIcon = "App.ico"
- AssemblyKeyContainerName = ""
- AssemblyName = "ImageViewCs"
- AssemblyOriginatorKeyFile = ""
- DefaultClientScript = "JScript"
- DefaultHTMLPageLayout = "Grid"
- DefaultTargetSchema = "IE50"
- DelaySign = "false"
- OutputType = "WinExe"
- RootNamespace = "ImageViewCs"
- StartupObject = ""
- >
- <Config
- Name = "Debug"
- AllowUnsafeBlocks = "false"
- BaseAddress = "285212672"
- CheckForOverflowUnderflow = "false"
- ConfigurationOverrideFile = ""
- DefineConstants = "DEBUG;TRACE"
- DocumentationFile = ""
- DebugSymbols = "true"
- FileAlignment = "4096"
- IncrementalBuild = "true"
- Optimize = "false"
- OutputPath = "bin\Debug\"
- RegisterForComInterop = "false"
- RemoveIntegerChecks = "false"
- TreatWarningsAsErrors = "false"
- WarningLevel = "4"
- />
- <Config
- Name = "Release"
- AllowUnsafeBlocks = "false"
- BaseAddress = "285212672"
- CheckForOverflowUnderflow = "false"
- ConfigurationOverrideFile = ""
- DefineConstants = "TRACE"
- DocumentationFile = ""
- DebugSymbols = "false"
- FileAlignment = "4096"
- IncrementalBuild = "false"
- Optimize = "true"
- OutputPath = "bin\Release\"
- RegisterForComInterop = "false"
- RemoveIntegerChecks = "false"
- TreatWarningsAsErrors = "false"
- WarningLevel = "4"
- />
- </Settings>
- <References>
- <Reference
- Name = "System"
- AssemblyName = "System"
- HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.dll"
- />
- <Reference
- Name = "System.Data"
- AssemblyName = "System.Data"
- HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Data.dll"
- />
- <Reference
- Name = "System.Drawing"
- AssemblyName = "System.Drawing"
- HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Drawing.dll"
- />
- <Reference
- Name = "System.Windows.Forms"
- AssemblyName = "System.Windows.Forms"
- HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Windows.Forms.dll"
- />
- <Reference
- Name = "System.XML"
- AssemblyName = "System.XML"
- HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.XML.dll"
- />
- <Reference
- Name = "DevIL.NET"
- Project = "{30D94686-D452-4A73-B59D-178288807EE5}"
- Package = "{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}"
- />
- </References>
- </Build>
- <Files>
- <Include>
- <File
- RelPath = "App.ico"
- BuildAction = "Content"
- />
- <File
- RelPath = "AssemblyInfo.cs"
- SubType = "Code"
- BuildAction = "Compile"
- />
- <File
- RelPath = "frmImageView.cs"
- SubType = "Form"
- BuildAction = "Compile"
- />
- <File
- RelPath = "frmImageView.resx"
- DependentUpon = "frmImageView.cs"
- BuildAction = "EmbeddedResource"
- />
- </Include>
- </Files>
- </CSHARP>
-</VisualStudioProject>
-
+<VisualStudioProject>
+ <CSHARP
+ ProjectType = "Local"
+ ProductVersion = "7.0.9466"
+ SchemaVersion = "1.0"
+ ProjectGuid = "{C6EF7F8A-0CCB-4DAD-A70E-CCCB25608A5E}"
+ >
+ <Build>
+ <Settings
+ ApplicationIcon = "App.ico"
+ AssemblyKeyContainerName = ""
+ AssemblyName = "ImageViewCs"
+ AssemblyOriginatorKeyFile = ""
+ DefaultClientScript = "JScript"
+ DefaultHTMLPageLayout = "Grid"
+ DefaultTargetSchema = "IE50"
+ DelaySign = "false"
+ OutputType = "WinExe"
+ RootNamespace = "ImageViewCs"
+ StartupObject = ""
+ >
+ <Config
+ Name = "Debug"
+ AllowUnsafeBlocks = "false"
+ BaseAddress = "285212672"
+ CheckForOverflowUnderflow = "false"
+ ConfigurationOverrideFile = ""
+ DefineConstants = "DEBUG;TRACE"
+ DocumentationFile = ""
+ DebugSymbols = "true"
+ FileAlignment = "4096"
+ IncrementalBuild = "true"
+ Optimize = "false"
+ OutputPath = "bin\Debug\"
+ RegisterForComInterop = "false"
+ RemoveIntegerChecks = "false"
+ TreatWarningsAsErrors = "false"
+ WarningLevel = "4"
+ />
+ <Config
+ Name = "Release"
+ AllowUnsafeBlocks = "false"
+ BaseAddress = "285212672"
+ CheckForOverflowUnderflow = "false"
+ ConfigurationOverrideFile = ""
+ DefineConstants = "TRACE"
+ DocumentationFile = ""
+ DebugSymbols = "false"
+ FileAlignment = "4096"
+ IncrementalBuild = "false"
+ Optimize = "true"
+ OutputPath = "bin\Release\"
+ RegisterForComInterop = "false"
+ RemoveIntegerChecks = "false"
+ TreatWarningsAsErrors = "false"
+ WarningLevel = "4"
+ />
+ </Settings>
+ <References>
+ <Reference
+ Name = "System"
+ AssemblyName = "System"
+ HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.dll"
+ />
+ <Reference
+ Name = "System.Data"
+ AssemblyName = "System.Data"
+ HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Data.dll"
+ />
+ <Reference
+ Name = "System.Drawing"
+ AssemblyName = "System.Drawing"
+ HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Drawing.dll"
+ />
+ <Reference
+ Name = "System.Windows.Forms"
+ AssemblyName = "System.Windows.Forms"
+ HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Windows.Forms.dll"
+ />
+ <Reference
+ Name = "System.XML"
+ AssemblyName = "System.XML"
+ HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.XML.dll"
+ />
+ <Reference
+ Name = "DevIL.NET"
+ Project = "{30D94686-D452-4A73-B59D-178288807EE5}"
+ Package = "{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}"
+ />
+ </References>
+ </Build>
+ <Files>
+ <Include>
+ <File
+ RelPath = "App.ico"
+ BuildAction = "Content"
+ />
+ <File
+ RelPath = "AssemblyInfo.cs"
+ SubType = "Code"
+ BuildAction = "Compile"
+ />
+ <File
+ RelPath = "frmImageView.cs"
+ SubType = "Form"
+ BuildAction = "Compile"
+ />
+ <File
+ RelPath = "frmImageView.resx"
+ DependentUpon = "frmImageView.cs"
+ BuildAction = "EmbeddedResource"
+ />
+ </Include>
+ </Files>
+ </CSHARP>
+</VisualStudioProject>
+
diff --git a/DevIL/bindings/DotNet/ImageViewCs/ImageViewCs.csproj.user b/DevIL/bindings/DotNet/ImageViewCs/ImageViewCs.csproj.user
index 4089d2bb..e1f4628a 100755
--- a/DevIL/bindings/DotNet/ImageViewCs/ImageViewCs.csproj.user
+++ b/DevIL/bindings/DotNet/ImageViewCs/ImageViewCs.csproj.user
@@ -1,48 +1,48 @@
-<VisualStudioProject>
- <CSHARP>
- <Build>
- <Settings ReferencePath = "" >
- <Config
- Name = "Debug"
- EnableASPDebugging = "false"
- EnableASPXDebugging = "false"
- EnableUnmanagedDebugging = "false"
- EnableSQLServerDebugging = "false"
- RemoteDebugEnabled = "false"
- RemoteDebugMachine = ""
- StartAction = "Project"
- StartArguments = ""
- StartPage = ""
- StartProgram = ""
- StartURL = ""
- StartWorkingDirectory = ""
- StartWithIE = "false"
- />
- <Config
- Name = "Release"
- EnableASPDebugging = "false"
- EnableASPXDebugging = "false"
- EnableUnmanagedDebugging = "false"
- EnableSQLServerDebugging = "false"
- RemoteDebugEnabled = "false"
- RemoteDebugMachine = ""
- StartAction = "Project"
- StartArguments = ""
- StartPage = ""
- StartProgram = ""
- StartURL = ""
- StartWorkingDirectory = ""
- StartWithIE = "false"
- />
- </Settings>
- </Build>
- <OtherProjectSettings
- CopyProjectDestinationFolder = ""
- CopyProjectUncPath = ""
- CopyProjectOption = "0"
- ProjectView = "ProjectFiles"
- ProjectTrust = "0"
- />
- </CSHARP>
-</VisualStudioProject>
-
+<VisualStudioProject>
+ <CSHARP>
+ <Build>
+ <Settings ReferencePath = "" >
+ <Config
+ Name = "Debug"
+ EnableASPDebugging = "false"
+ EnableASPXDebugging = "false"
+ EnableUnmanagedDebugging = "false"
+ EnableSQLServerDebugging = "false"
+ RemoteDebugEnabled = "false"
+ RemoteDebugMachine = ""
+ StartAction = "Project"
+ StartArguments = ""
+ StartPage = ""
+ StartProgram = ""
+ StartURL = ""
+ StartWorkingDirectory = ""
+ StartWithIE = "false"
+ />
+ <Config
+ Name = "Release"
+ EnableASPDebugging = "false"
+ EnableASPXDebugging = "false"
+ EnableUnmanagedDebugging = "false"
+ EnableSQLServerDebugging = "false"
+ RemoteDebugEnabled = "false"
+ RemoteDebugMachine = ""
+ StartAction = "Project"
+ StartArguments = ""
+ StartPage = ""
+ StartProgram = ""
+ StartURL = ""
+ StartWorkingDirectory = ""
+ StartWithIE = "false"
+ />
+ </Settings>
+ </Build>
+ <OtherProjectSettings
+ CopyProjectDestinationFolder = ""
+ CopyProjectUncPath = ""
+ CopyProjectOption = "0"
+ ProjectView = "ProjectFiles"
+ ProjectTrust = "0"
+ />
+ </CSHARP>
+</VisualStudioProject>
+
diff --git a/DevIL/bindings/DotNet/ImageViewCs/frmImageView.cs b/DevIL/bindings/DotNet/ImageViewCs/frmImageView.cs
index 95896d02..feb50c93 100755
--- a/DevIL/bindings/DotNet/ImageViewCs/frmImageView.cs
+++ b/DevIL/bindings/DotNet/ImageViewCs/frmImageView.cs
@@ -1,247 +1,247 @@
-using System;
-using System.Drawing;
-using System.Collections;
-using System.ComponentModel;
-using System.Windows.Forms;
-using System.Data;
-
-namespace ImageViewCs
-{
- /// <summary>
- /// Summary description for Form1.
- /// </summary>
- public class frmImageView : System.Windows.Forms.Form
- {
- private System.Windows.Forms.MainMenu mainMenu;
- private System.Windows.Forms.PictureBox pictureBox;
- private System.Windows.Forms.MenuItem mnuFile;
- private System.Windows.Forms.MenuItem mnuFileOpen;
- private System.Windows.Forms.MenuItem mnuFileSaveAs;
- private System.Windows.Forms.MenuItem mnuFileSep1;
- private System.Windows.Forms.MenuItem mnuFileExit;
- private System.Windows.Forms.MenuItem mnuHelp;
- private System.Windows.Forms.MenuItem mnuHelpAbout;
- private System.Windows.Forms.Panel panel;
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.Container components = null;
-
- public frmImageView()
- {
- //
- // Required for Windows Form Designer support
- //
- InitializeComponent();
-
- //
- // TODO: Add any constructor code after InitializeComponent call
- //
- }
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- protected override void Dispose( bool disposing )
- {
- if( disposing )
- {
- if (components != null)
- {
- components.Dispose();
- }
- }
- base.Dispose( disposing );
- }
-
- #region Windows Form Designer generated code
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.mainMenu = new System.Windows.Forms.MainMenu();
- this.mnuFile = new System.Windows.Forms.MenuItem();
- this.mnuFileOpen = new System.Windows.Forms.MenuItem();
- this.mnuFileSaveAs = new System.Windows.Forms.MenuItem();
- this.mnuFileSep1 = new System.Windows.Forms.MenuItem();
- this.mnuFileExit = new System.Windows.Forms.MenuItem();
- this.mnuHelp = new System.Windows.Forms.MenuItem();
- this.mnuHelpAbout = new System.Windows.Forms.MenuItem();
- this.panel = new System.Windows.Forms.Panel();
- this.pictureBox = new System.Windows.Forms.PictureBox();
- this.panel.SuspendLayout();
- this.SuspendLayout();
- //
- // mainMenu
- //
- this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
- this.mnuFile,
- this.mnuHelp});
- //
- // mnuFile
- //
- this.mnuFile.Index = 0;
- this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
- this.mnuFileOpen,
- this.mnuFileSaveAs,
- this.mnuFileSep1,
- this.mnuFileExit});
- this.mnuFile.Text = "&File";
- //
- // mnuFileOpen
- //
- this.mnuFileOpen.Index = 0;
- this.mnuFileOpen.Text = "&Open...";
- this.mnuFileOpen.Click += new System.EventHandler(this.mnuFileOpen_Click);
- //
- // mnuFileSaveAs
- //
- this.mnuFileSaveAs.Index = 1;
- this.mnuFileSaveAs.Text = "Save &as...";
- this.mnuFileSaveAs.Click += new System.EventHandler(this.mnuFileSaveAs_Click);
- //
- // mnuFileSep1
- //
- this.mnuFileSep1.Index = 2;
- this.mnuFileSep1.Text = "-";
- //
- // mnuFileExit
- //
- this.mnuFileExit.Index = 3;
- this.mnuFileExit.Text = "E&xit";
- this.mnuFileExit.Click += new System.EventHandler(this.mnuFileExit_Click);
- //
- // mnuHelp
- //
- this.mnuHelp.Index = 1;
- this.mnuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
- this.mnuHelpAbout});
- this.mnuHelp.Text = "&?";
- //
- // mnuHelpAbout
- //
- this.mnuHelpAbout.Index = 0;
- this.mnuHelpAbout.Text = "&About...";
- this.mnuHelpAbout.Click += new System.EventHandler(this.mnuHelpAbout_Click);
- //
- // panel
- //
- this.panel.AutoScroll = true;
- this.panel.Controls.AddRange(new System.Windows.Forms.Control[] {
- this.pictureBox});
- this.panel.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panel.Name = "panel";
- this.panel.Size = new System.Drawing.Size(720, 414);
- this.panel.TabIndex = 1;
- //
- // pictureBox
- //
- this.pictureBox.Name = "pictureBox";
- this.pictureBox.Size = new System.Drawing.Size(720, 414);
- this.pictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.pictureBox.TabIndex = 0;
- this.pictureBox.TabStop = false;
- //
- // frmImageView
- //
- this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
- this.ClientSize = new System.Drawing.Size(720, 414);
- this.Controls.AddRange(new System.Windows.Forms.Control[] {
- this.panel});
- this.Menu = this.mainMenu;
- this.Name = "frmImageView";
- this.Text = "ImageView C#";
- this.panel.ResumeLayout(false);
- this.ResumeLayout(false);
-
- }
- #endregion
-
- /// <summary>
- /// The main entry point for the application.
- /// </summary>
- [STAThread]
- static void Main()
- {
- Application.Run(new frmImageView());
- }
-
- private System.Drawing.Bitmap m_bmp;
-
- private void mnuFileOpen_Click(object sender, System.EventArgs e)
- {
- System.Windows.Forms.OpenFileDialog ofd = new System.Windows.Forms.OpenFileDialog();
- ofd.Filter = "All Image Files(*.BMP;*.CUT;*.DCX;*.DDS;*.ICO;*.GIF;*.JPG;*.LBM;*.LIF;*.MDL;*.PCD;*.PCX;*.PIC;*.PNG;*.PNM;*.PSD;*.PSP;*.RAW;*.SGI;*.TGA;*.TIF;*.WAL;*.ACT;*.PAL;)|*.BMP;*.CUT;*.DCX;*.DDS;*.ICO;*.GIF;*.JPG;*.LBM;*.LIF;*.MDL;*.PCD;*.PCX;*.PIC;*.PNG;*.PNM;*.PSD;*.PSP;*.RAW;*.SGI;*.TGA;*.TIF;*.WAL;*.ACT;*.PAL|All files (*.*)|*.*";
- ofd.Filter += "|BMP files (*.BMP)|*.BMP";
- ofd.Filter += "|CUT files (*.CUT)|*.CUT";
- ofd.Filter += "|DCX files (*.DCX)|*.DCX";
- ofd.Filter += "|DDS files (*.DDS)|*.DDS";
- ofd.Filter += "|ICO files (*.ICO)|*.ICO";
- ofd.Filter += "|GIF files (*.GIF)|*.GIF";
- ofd.Filter += "|JPG files (*.JPG)|*.JPG";
- ofd.Filter += "|LBM files (*.LBM)|*.LBM";
- ofd.Filter += "|LIF files (*.LIF)|*.LIF";
- ofd.Filter += "|MDL files (*.MDL)|*.MDL";
- ofd.Filter += "|PCD files (*.PCD)|*.PCD";
- ofd.Filter += "|PCX files (*.PCX)|*.PCX";
- ofd.Filter += "|PIC files (*.PIC)|*.PIC";
- ofd.Filter += "|PNG files (*.PNG)|*.PNG";
- ofd.Filter += "|PNM files (*.PNM)|*.PNM";
- ofd.Filter += "|PSD files (*.PSD)|*.PSD";
- ofd.Filter += "|PSP files (*.PSP)|*.PSP";
- ofd.Filter += "|RAW files (*.RAW)|*.RAW";
- ofd.Filter += "|SGI files (*.SGI)|*.SGI";
- ofd.Filter += "|TGA files (*.TGA)|*.TGA";
- ofd.Filter += "|TIF files (*.TIF)|*.TIF";
- ofd.Filter += "|WAL files (*.WAL)|*.WAL";
- ofd.Filter += "|ACT files (*.ACT)|*.ACT";
- ofd.Filter += "|PAL files (*.PAL)|*.PAL";
- ofd.Filter += "|All files (*.*)|*.*";
-
- if (ofd.ShowDialog() == DialogResult.OK)
- {
- m_bmp = DevIL.DevIL.LoadBitmap(ofd.FileName);
- if (m_bmp != null)
- {
- pictureBox.Image = m_bmp;
- }
- }
- }
-
- private void mnuFileExit_Click(object sender, System.EventArgs e)
- {
- this.Close();
- }
-
- private void mnuHelpAbout_Click(object sender, System.EventArgs e)
- {
- MessageBox.Show("Program by Marco Mastropaolo\n\nThis is a C# example for the DevIL.NET library.\n\nhttp://www.mastropaolo.com", "About");
- }
-
- private void mnuFileSaveAs_Click(object sender, System.EventArgs e)
- {
- if (m_bmp != null)
- {
- System.Windows.Forms.SaveFileDialog sfd = new System.Windows.Forms.SaveFileDialog();
- sfd.Filter = "BMP format (*.BMP)|*.BMP";
- sfd.Filter += "|DDS format (*.DDS)|*.DDS";
- sfd.Filter += "|JPG format (*.JPG)|*.JPG";
- sfd.Filter += "|PCX format (*.PCX)|*.PCX";
- sfd.Filter += "|PNG format (*.PNG)|*.PNG";
- sfd.Filter += "|PNM format (*.PNM)|*.PNM";
- sfd.Filter += "|RAW format (*.RAW)|*.RAW";
- sfd.Filter += "|SGI format (*.SGI)|*.SGI";
- sfd.Filter += "|TGA format (*.TGA)|*.TGA";
- sfd.Filter += "|TIF format (*.TIF)|*.TIF";
- sfd.Filter += "|PAL format (*.PAL)|*.PAL";
-
- if (sfd.ShowDialog() == DialogResult.OK)
- {
- DevIL.DevIL.SaveBitmap(sfd.FileName, m_bmp);
- }
- }
- }
- }
-}
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using System.Data;
+
+namespace ImageViewCs
+{
+ /// <summary>
+ /// Summary description for Form1.
+ /// </summary>
+ public class frmImageView : System.Windows.Forms.Form
+ {
+ private System.Windows.Forms.MainMenu mainMenu;
+ private System.Windows.Forms.PictureBox pictureBox;
+ private System.Windows.Forms.MenuItem mnuFile;
+ private System.Windows.Forms.MenuItem mnuFileOpen;
+ private System.Windows.Forms.MenuItem mnuFileSaveAs;
+ private System.Windows.Forms.MenuItem mnuFileSep1;
+ private System.Windows.Forms.MenuItem mnuFileExit;
+ private System.Windows.Forms.MenuItem mnuHelp;
+ private System.Windows.Forms.MenuItem mnuHelpAbout;
+ private System.Windows.Forms.Panel panel;
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.Container components = null;
+
+ public frmImageView()
+ {
+ //
+ // Required for Windows Form Designer support
+ //
+ InitializeComponent();
+
+ //
+ // TODO: Add any constructor code after InitializeComponent call
+ //
+ }
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ protected override void Dispose( bool disposing )
+ {
+ if( disposing )
+ {
+ if (components != null)
+ {
+ components.Dispose();
+ }
+ }
+ base.Dispose( disposing );
+ }
+
+ #region Windows Form Designer generated code
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ this.mainMenu = new System.Windows.Forms.MainMenu();
+ this.mnuFile = new System.Windows.Forms.MenuItem();
+ this.mnuFileOpen = new System.Windows.Forms.MenuItem();
+ this.mnuFileSaveAs = new System.Windows.Forms.MenuItem();
+ this.mnuFileSep1 = new System.Windows.Forms.MenuItem();
+ this.mnuFileExit = new System.Windows.Forms.MenuItem();
+ this.mnuHelp = new System.Windows.Forms.MenuItem();
+ this.mnuHelpAbout = new System.Windows.Forms.MenuItem();
+ this.panel = new System.Windows.Forms.Panel();
+ this.pictureBox = new System.Windows.Forms.PictureBox();
+ this.panel.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // mainMenu
+ //
+ this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
+ this.mnuFile,
+ this.mnuHelp});
+ //
+ // mnuFile
+ //
+ this.mnuFile.Index = 0;
+ this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
+ this.mnuFileOpen,
+ this.mnuFileSaveAs,
+ this.mnuFileSep1,
+ this.mnuFileExit});
+ this.mnuFile.Text = "&File";
+ //
+ // mnuFileOpen
+ //
+ this.mnuFileOpen.Index = 0;
+ this.mnuFileOpen.Text = "&Open...";
+ this.mnuFileOpen.Click += new System.EventHandler(this.mnuFileOpen_Click);
+ //
+ // mnuFileSaveAs
+ //
+ this.mnuFileSaveAs.Index = 1;
+ this.mnuFileSaveAs.Text = "Save &as...";
+ this.mnuFileSaveAs.Click += new System.EventHandler(this.mnuFileSaveAs_Click);
+ //
+ // mnuFileSep1
+ //
+ this.mnuFileSep1.Index = 2;
+ this.mnuFileSep1.Text = "-";
+ //
+ // mnuFileExit
+ //
+ this.mnuFileExit.Index = 3;
+ this.mnuFileExit.Text = "E&xit";
+ this.mnuFileExit.Click += new System.EventHandler(this.mnuFileExit_Click);
+ //
+ // mnuHelp
+ //
+ this.mnuHelp.Index = 1;
+ this.mnuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
+ this.mnuHelpAbout});
+ this.mnuHelp.Text = "&?";
+ //
+ // mnuHelpAbout
+ //
+ this.mnuHelpAbout.Index = 0;
+ this.mnuHelpAbout.Text = "&About...";
+ this.mnuHelpAbout.Click += new System.EventHandler(this.mnuHelpAbout_Click);
+ //
+ // panel
+ //
+ this.panel.AutoScroll = true;
+ this.panel.Controls.AddRange(new System.Windows.Forms.Control[] {
+ this.pictureBox});
+ this.panel.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel.Name = "panel";
+ this.panel.Size = new System.Drawing.Size(720, 414);
+ this.panel.TabIndex = 1;
+ //
+ // pictureBox
+ //
+ this.pictureBox.Name = "pictureBox";
+ this.pictureBox.Size = new System.Drawing.Size(720, 414);
+ this.pictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
+ this.pictureBox.TabIndex = 0;
+ this.pictureBox.TabStop = false;
+ //
+ // frmImageView
+ //
+ this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
+ this.ClientSize = new System.Drawing.Size(720, 414);
+ this.Controls.AddRange(new System.Windows.Forms.Control[] {
+ this.panel});
+ this.Menu = this.mainMenu;
+ this.Name = "frmImageView";
+ this.Text = "ImageView C#";
+ this.panel.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+ #endregion
+
+ /// <summary>
+ /// The main entry point for the application.
+ /// </summary>
+ [STAThread]
+ static void Main()
+ {
+ Application.Run(new frmImageView());
+ }
+
+ private System.Drawing.Bitmap m_bmp;
+
+ private void mnuFileOpen_Click(object sender, System.EventArgs e)
+ {
+ System.Windows.Forms.OpenFileDialog ofd = new System.Windows.Forms.OpenFileDialog();
+ ofd.Filter = "All Image Files(*.BMP;*.CUT;*.DCX;*.DDS;*.ICO;*.GIF;*.JPG;*.LBM;*.LIF;*.MDL;*.PCD;*.PCX;*.PIC;*.PNG;*.PNM;*.PSD;*.PSP;*.RAW;*.SGI;*.TGA;*.TIF;*.WAL;*.ACT;*.PAL;)|*.BMP;*.CUT;*.DCX;*.DDS;*.ICO;*.GIF;*.JPG;*.LBM;*.LIF;*.MDL;*.PCD;*.PCX;*.PIC;*.PNG;*.PNM;*.PSD;*.PSP;*.RAW;*.SGI;*.TGA;*.TIF;*.WAL;*.ACT;*.PAL|All files (*.*)|*.*";
+ ofd.Filter += "|BMP files (*.BMP)|*.BMP";
+ ofd.Filter += "|CUT files (*.CUT)|*.CUT";
+ ofd.Filter += "|DCX files (*.DCX)|*.DCX";
+ ofd.Filter += "|DDS files (*.DDS)|*.DDS";
+ ofd.Filter += "|ICO files (*.ICO)|*.ICO";
+ ofd.Filter += "|GIF files (*.GIF)|*.GIF";
+ ofd.Filter += "|JPG files (*.JPG)|*.JPG";
+ ofd.Filter += "|LBM files (*.LBM)|*.LBM";
+ ofd.Filter += "|LIF files (*.LIF)|*.LIF";
+ ofd.Filter += "|MDL files (*.MDL)|*.MDL";
+ ofd.Filter += "|PCD files (*.PCD)|*.PCD";
+ ofd.Filter += "|PCX files (*.PCX)|*.PCX";
+ ofd.Filter += "|PIC files (*.PIC)|*.PIC";
+ ofd.Filter += "|PNG files (*.PNG)|*.PNG";
+ ofd.Filter += "|PNM files (*.PNM)|*.PNM";
+ ofd.Filter += "|PSD files (*.PSD)|*.PSD";
+ ofd.Filter += "|PSP files (*.PSP)|*.PSP";
+ ofd.Filter += "|RAW files (*.RAW)|*.RAW";
+ ofd.Filter += "|SGI files (*.SGI)|*.SGI";
+ ofd.Filter += "|TGA files (*.TGA)|*.TGA";
+ ofd.Filter += "|TIF files (*.TIF)|*.TIF";
+ ofd.Filter += "|WAL files (*.WAL)|*.WAL";
+ ofd.Filter += "|ACT files (*.ACT)|*.ACT";
+ ofd.Filter += "|PAL files (*.PAL)|*.PAL";
+ ofd.Filter += "|All files (*.*)|*.*";
+
+ if (ofd.ShowDialog() == DialogResult.OK)
+ {
+ m_bmp = DevIL.DevIL.LoadBitmap(ofd.FileName);
+ if (m_bmp != null)
+ {
+ pictureBox.Image = m_bmp;
+ }
+ }
+ }
+
+ private void mnuFileExit_Click(object sender, System.EventArgs e)
+ {
+ this.Close();
+ }
+
+ private void mnuHelpAbout_Click(object sender, System.EventArgs e)
+ {
+ MessageBox.Show("Program by Marco Mastropaolo\n\nThis is a C# example for the DevIL.NET library.\n\nhttp://www.mastropaolo.com", "About");
+ }
+
+ private void mnuFileSaveAs_Click(object sender, System.EventArgs e)
+ {
+ if (m_bmp != null)
+ {
+ System.Windows.Forms.SaveFileDialog sfd = new System.Windows.Forms.SaveFileDialog();
+ sfd.Filter = "BMP format (*.BMP)|*.BMP";
+ sfd.Filter += "|DDS format (*.DDS)|*.DDS";
+ sfd.Filter += "|JPG format (*.JPG)|*.JPG";
+ sfd.Filter += "|PCX format (*.PCX)|*.PCX";
+ sfd.Filter += "|PNG format (*.PNG)|*.PNG";
+ sfd.Filter += "|PNM format (*.PNM)|*.PNM";
+ sfd.Filter += "|RAW format (*.RAW)|*.RAW";
+ sfd.Filter += "|SGI format (*.SGI)|*.SGI";
+ sfd.Filter += "|TGA format (*.TGA)|*.TGA";
+ sfd.Filter += "|TIF format (*.TIF)|*.TIF";
+ sfd.Filter += "|PAL format (*.PAL)|*.PAL";
+
+ if (sfd.ShowDialog() == DialogResult.OK)
+ {
+ DevIL.DevIL.SaveBitmap(sfd.FileName, m_bmp);
+ }
+ }
+ }
+ }
+}
diff --git a/DevIL/bindings/DotNet/ImageViewCs/frmImageView.resx b/DevIL/bindings/DotNet/ImageViewCs/frmImageView.resx
index 6441bbaa..d37732c8 100755
--- a/DevIL/bindings/DotNet/ImageViewCs/frmImageView.resx
+++ b/DevIL/bindings/DotNet/ImageViewCs/frmImageView.resx
@@ -1,105 +1,105 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 1.3
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">1.3</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1">this is my long string</data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- [base64 mime encoded serialized .NET Framework object]
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- [base64 mime encoded string representing a byte array form of the .NET Framework object]
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>1.3</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <data name="mainMenu.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>17, 17</value>
- </data>
- <data name="$this.Name">
- <value>frmImageView</value>
- </data>
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 1.3
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">1.3</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1">this is my long string</data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ [base64 mime encoded serialized .NET Framework object]
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ [base64 mime encoded string representing a byte array form of the .NET Framework object]
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>1.3</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <data name="mainMenu.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <value>17, 17</value>
+ </data>
+ <data name="$this.Name">
+ <value>frmImageView</value>
+ </data>
</root> \ No newline at end of file
diff --git a/DevIL/bindings/DotNet/ImageViewVb/AssemblyInfo.vb b/DevIL/bindings/DotNet/ImageViewVb/AssemblyInfo.vb
index 92e12839..217220c0 100755
--- a/DevIL/bindings/DotNet/ImageViewVb/AssemblyInfo.vb
+++ b/DevIL/bindings/DotNet/ImageViewVb/AssemblyInfo.vb
@@ -1,31 +1,31 @@
-Imports System.Reflection
-Imports System.Runtime.InteropServices
-
-' General Information about an assembly is controlled through the following
-' set of attributes. Change these attribute values to modify the information
-' associated with an assembly.
-
-' Review the values of the assembly attributes
-
-<Assembly: AssemblyTitle("")>
-<Assembly: AssemblyDescription("")>
-<Assembly: AssemblyCompany("")>
-<Assembly: AssemblyProduct("")>
-<Assembly: AssemblyCopyright("")>
-<Assembly: AssemblyTrademark("")>
-<Assembly: CLSCompliant(True)>
-
-'The following GUID is for the ID of the typelib if this project is exposed to COM
-<Assembly: Guid("1B50578B-A3AB-4AA2-858B-267B61D35579")>
-
-' Version information for an assembly consists of the following four values:
-'
-' Major Version
-' Minor Version
-' Build Number
-' Revision
-'
-' You can specify all the values or you can default the Build and Revision Numbers
-' by using the '*' as shown below:
-
-<Assembly: AssemblyVersion("1.0.*")>
+Imports System.Reflection
+Imports System.Runtime.InteropServices
+
+' General Information about an assembly is controlled through the following
+' set of attributes. Change these attribute values to modify the information
+' associated with an assembly.
+
+' Review the values of the assembly attributes
+
+<Assembly: AssemblyTitle("")>
+<Assembly: AssemblyDescription("")>
+<Assembly: AssemblyCompany("")>
+<Assembly: AssemblyProduct("")>
+<Assembly: AssemblyCopyright("")>
+<Assembly: AssemblyTrademark("")>
+<Assembly: CLSCompliant(True)>
+
+'The following GUID is for the ID of the typelib if this project is exposed to COM
+<Assembly: Guid("1B50578B-A3AB-4AA2-858B-267B61D35579")>
+
+' Version information for an assembly consists of the following four values:
+'
+' Major Version
+' Minor Version
+' Build Number
+' Revision
+'
+' You can specify all the values or you can default the Build and Revision Numbers
+' by using the '*' as shown below:
+
+<Assembly: AssemblyVersion("1.0.*")>
diff --git a/DevIL/bindings/DotNet/ImageViewVb/ImageViewVb.vbproj b/DevIL/bindings/DotNet/ImageViewVb/ImageViewVb.vbproj
index 77715f85..d77ad48f 100755
--- a/DevIL/bindings/DotNet/ImageViewVb/ImageViewVb.vbproj
+++ b/DevIL/bindings/DotNet/ImageViewVb/ImageViewVb.vbproj
@@ -1,117 +1,117 @@
-<VisualStudioProject>
- <VisualBasic
- ProjectType = "Local"
- ProductVersion = "7.0.9466"
- SchemaVersion = "1.0"
- ProjectGuid = "{F073580C-F355-4F4A-98B7-83D571B96B9E}"
- >
- <Build>
- <Settings
- ApplicationIcon = ""
- AssemblyKeyContainerName = ""
- AssemblyName = "ImageViewVb"
- AssemblyOriginatorKeyFile = ""
- AssemblyOriginatorKeyMode = "None"
- DefaultClientScript = "JScript"
- DefaultHTMLPageLayout = "Grid"
- DefaultTargetSchema = "IE50"
- DelaySign = "false"
- OutputType = "WinExe"
- OptionCompare = "Binary"
- OptionExplicit = "On"
- OptionStrict = "Off"
- RootNamespace = "ImageViewVb"
- StartupObject = "ImageViewVb.frmImageView"
- >
- <Config
- Name = "Debug"
- BaseAddress = "285212672"
- ConfigurationOverrideFile = ""
- DefineConstants = ""
- DefineDebug = "true"
- DefineTrace = "true"
- DebugSymbols = "true"
- IncrementalBuild = "true"
- Optimize = "false"
- OutputPath = "bin\"
- RegisterForComInterop = "false"
- RemoveIntegerChecks = "false"
- TreatWarningsAsErrors = "false"
- WarningLevel = "1"
- />
- <Config
- Name = "Release"
- BaseAddress = "285212672"
- ConfigurationOverrideFile = ""
- DefineConstants = ""
- DefineDebug = "false"
- DefineTrace = "true"
- DebugSymbols = "false"
- IncrementalBuild = "false"
- Optimize = "true"
- OutputPath = "bin\"
- RegisterForComInterop = "false"
- RemoveIntegerChecks = "false"
- TreatWarningsAsErrors = "false"
- WarningLevel = "1"
- />
- </Settings>
- <References>
- <Reference
- Name = "System"
- AssemblyName = "System"
- />
- <Reference
- Name = "System.Data"
- AssemblyName = "System.Data"
- />
- <Reference
- Name = "System.Drawing"
- AssemblyName = "System.Drawing"
- />
- <Reference
- Name = "System.Windows.Forms"
- AssemblyName = "System.Windows.Forms"
- />
- <Reference
- Name = "System.XML"
- AssemblyName = "System.Xml"
- />
- <Reference
- Name = "DevIL.NET"
- Project = "{30D94686-D452-4A73-B59D-178288807EE5}"
- Package = "{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}"
- />
- </References>
- <Imports>
- <Import Namespace = "Microsoft.VisualBasic" />
- <Import Namespace = "System" />
- <Import Namespace = "System.Collections" />
- <Import Namespace = "System.Data" />
- <Import Namespace = "System.Drawing" />
- <Import Namespace = "System.Diagnostics" />
- <Import Namespace = "System.Windows.Forms" />
- </Imports>
- </Build>
- <Files>
- <Include>
- <File
- RelPath = "AssemblyInfo.vb"
- SubType = "Code"
- BuildAction = "Compile"
- />
- <File
- RelPath = "frmImageView.vb"
- SubType = "Form"
- BuildAction = "Compile"
- />
- <File
- RelPath = "frmImageView.resx"
- DependentUpon = "frmImageView.vb"
- BuildAction = "EmbeddedResource"
- />
- </Include>
- </Files>
- </VisualBasic>
-</VisualStudioProject>
-
+<VisualStudioProject>
+ <VisualBasic
+ ProjectType = "Local"
+ ProductVersion = "7.0.9466"
+ SchemaVersion = "1.0"
+ ProjectGuid = "{F073580C-F355-4F4A-98B7-83D571B96B9E}"
+ >
+ <Build>
+ <Settings
+ ApplicationIcon = ""
+ AssemblyKeyContainerName = ""
+ AssemblyName = "ImageViewVb"
+ AssemblyOriginatorKeyFile = ""
+ AssemblyOriginatorKeyMode = "None"
+ DefaultClientScript = "JScript"
+ DefaultHTMLPageLayout = "Grid"
+ DefaultTargetSchema = "IE50"
+ DelaySign = "false"
+ OutputType = "WinExe"
+ OptionCompare = "Binary"
+ OptionExplicit = "On"
+ OptionStrict = "Off"
+ RootNamespace = "ImageViewVb"
+ StartupObject = "ImageViewVb.frmImageView"
+ >
+ <Config
+ Name = "Debug"
+ BaseAddress = "285212672"
+ ConfigurationOverrideFile = ""
+ DefineConstants = ""
+ DefineDebug = "true"
+ DefineTrace = "true"
+ DebugSymbols = "true"
+ IncrementalBuild = "true"
+ Optimize = "false"
+ OutputPath = "bin\"
+ RegisterForComInterop = "false"
+ RemoveIntegerChecks = "false"
+ TreatWarningsAsErrors = "false"
+ WarningLevel = "1"
+ />
+ <Config
+ Name = "Release"
+ BaseAddress = "285212672"
+ ConfigurationOverrideFile = ""
+ DefineConstants = ""
+ DefineDebug = "false"
+ DefineTrace = "true"
+ DebugSymbols = "false"
+ IncrementalBuild = "false"
+ Optimize = "true"
+ OutputPath = "bin\"
+ RegisterForComInterop = "false"
+ RemoveIntegerChecks = "false"
+ TreatWarningsAsErrors = "false"
+ WarningLevel = "1"
+ />
+ </Settings>
+ <References>
+ <Reference
+ Name = "System"
+ AssemblyName = "System"
+ />
+ <Reference
+ Name = "System.Data"
+ AssemblyName = "System.Data"
+ />
+ <Reference
+ Name = "System.Drawing"
+ AssemblyName = "System.Drawing"
+ />
+ <Reference
+ Name = "System.Windows.Forms"
+ AssemblyName = "System.Windows.Forms"
+ />
+ <Reference
+ Name = "System.XML"
+ AssemblyName = "System.Xml"
+ />
+ <Reference
+ Name = "DevIL.NET"
+ Project = "{30D94686-D452-4A73-B59D-178288807EE5}"
+ Package = "{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}"
+ />
+ </References>
+ <Imports>
+ <Import Namespace = "Microsoft.VisualBasic" />
+ <Import Namespace = "System" />
+ <Import Namespace = "System.Collections" />
+ <Import Namespace = "System.Data" />
+ <Import Namespace = "System.Drawing" />
+ <Import Namespace = "System.Diagnostics" />
+ <Import Namespace = "System.Windows.Forms" />
+ </Imports>
+ </Build>
+ <Files>
+ <Include>
+ <File
+ RelPath = "AssemblyInfo.vb"
+ SubType = "Code"
+ BuildAction = "Compile"
+ />
+ <File
+ RelPath = "frmImageView.vb"
+ SubType = "Form"
+ BuildAction = "Compile"
+ />
+ <File
+ RelPath = "frmImageView.resx"
+ DependentUpon = "frmImageView.vb"
+ BuildAction = "EmbeddedResource"
+ />
+ </Include>
+ </Files>
+ </VisualBasic>
+</VisualStudioProject>
+
diff --git a/DevIL/bindings/DotNet/ImageViewVb/ImageViewVb.vbproj.user b/DevIL/bindings/DotNet/ImageViewVb/ImageViewVb.vbproj.user
index d3372fab..c168d10b 100755
--- a/DevIL/bindings/DotNet/ImageViewVb/ImageViewVb.vbproj.user
+++ b/DevIL/bindings/DotNet/ImageViewVb/ImageViewVb.vbproj.user
@@ -1,48 +1,48 @@
-<VisualStudioProject>
- <VisualBasic>
- <Build>
- <Settings ReferencePath = "" >
- <Config
- Name = "Debug"
- EnableASPDebugging = "false"
- EnableASPXDebugging = "false"
- EnableUnmanagedDebugging = "false"
- EnableSQLServerDebugging = "false"
- RemoteDebugEnabled = "false"
- RemoteDebugMachine = ""
- StartAction = "Project"
- StartArguments = ""
- StartPage = ""
- StartProgram = ""
- StartURL = ""
- StartWorkingDirectory = ""
- StartWithIE = "true"
- />
- <Config
- Name = "Release"
- EnableASPDebugging = "false"
- EnableASPXDebugging = "false"
- EnableUnmanagedDebugging = "false"
- EnableSQLServerDebugging = "false"
- RemoteDebugEnabled = "false"
- RemoteDebugMachine = ""
- StartAction = "Project"
- StartArguments = ""
- StartPage = ""
- StartProgram = ""
- StartURL = ""
- StartWorkingDirectory = ""
- StartWithIE = "false"
- />
- </Settings>
- </Build>
- <OtherProjectSettings
- CopyProjectDestinationFolder = ""
- CopyProjectUncPath = ""
- CopyProjectOption = "0"
- ProjectView = "ProjectFiles"
- ProjectTrust = "0"
- />
- </VisualBasic>
-</VisualStudioProject>
-
+<VisualStudioProject>
+ <VisualBasic>
+ <Build>
+ <Settings ReferencePath = "" >
+ <Config
+ Name = "Debug"
+ EnableASPDebugging = "false"
+ EnableASPXDebugging = "false"
+ EnableUnmanagedDebugging = "false"
+ EnableSQLServerDebugging = "false"
+ RemoteDebugEnabled = "false"
+ RemoteDebugMachine = ""
+ StartAction = "Project"
+ StartArguments = ""
+ StartPage = ""
+ StartProgram = ""
+ StartURL = ""
+ StartWorkingDirectory = ""
+ StartWithIE = "true"
+ />
+ <Config
+ Name = "Release"
+ EnableASPDebugging = "false"
+ EnableASPXDebugging = "false"
+ EnableUnmanagedDebugging = "false"
+ EnableSQLServerDebugging = "false"
+ RemoteDebugEnabled = "false"
+ RemoteDebugMachine = ""
+ StartAction = "Project"
+ StartArguments = ""
+ StartPage = ""
+ StartProgram = ""
+ StartURL = ""
+ StartWorkingDirectory = ""
+ StartWithIE = "false"
+ />
+ </Settings>
+ </Build>
+ <OtherProjectSettings
+ CopyProjectDestinationFolder = ""
+ CopyProjectUncPath = ""
+ CopyProjectOption = "0"
+ ProjectView = "ProjectFiles"
+ ProjectTrust = "0"
+ />
+ </VisualBasic>
+</VisualStudioProject>
+
diff --git a/DevIL/bindings/DotNet/ImageViewVb/frmImageView.resx b/DevIL/bindings/DotNet/ImageViewVb/frmImageView.resx
index dc8d5467..fb9ebba8 100755
--- a/DevIL/bindings/DotNet/ImageViewVb/frmImageView.resx
+++ b/DevIL/bindings/DotNet/ImageViewVb/frmImageView.resx
@@ -1,132 +1,132 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 1.3
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">1.3</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1">this is my long string</data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- [base64 mime encoded serialized .NET Framework object]
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- [base64 mime encoded string representing a byte array form of the .NET Framework object]
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>1.3</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <data name="mainMenu.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>159, 0</value>
- </data>
- <data name="mainMenu.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Assembly</value>
- </data>
- <data name="mnuFile.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Assembly</value>
- </data>
- <data name="mnuFileOpen.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Assembly</value>
- </data>
- <data name="mnuFileSaveAs.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Assembly</value>
- </data>
- <data name="mnuFileSep1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Assembly</value>
- </data>
- <data name="mnuFileExit.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Assembly</value>
- </data>
- <data name="mnuHelp.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Assembly</value>
- </data>
- <data name="mnuHelpAbout.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Assembly</value>
- </data>
- <data name="pictureBox.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>Assembly</value>
- </data>
- <data name="$this.Name">
- <value>frmImageView</value>
- </data>
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 1.3
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">1.3</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1">this is my long string</data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ [base64 mime encoded serialized .NET Framework object]
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ [base64 mime encoded string representing a byte array form of the .NET Framework object]
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>1.3</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <data name="mainMenu.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <value>159, 0</value>
+ </data>
+ <data name="mainMenu.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>Assembly</value>
+ </data>
+ <data name="mnuFile.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>Assembly</value>
+ </data>
+ <data name="mnuFileOpen.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>Assembly</value>
+ </data>
+ <data name="mnuFileSaveAs.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>Assembly</value>
+ </data>
+ <data name="mnuFileSep1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>Assembly</value>
+ </data>
+ <data name="mnuFileExit.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>Assembly</value>
+ </data>
+ <data name="mnuHelp.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>Assembly</value>
+ </data>
+ <data name="mnuHelpAbout.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>Assembly</value>
+ </data>
+ <data name="pictureBox.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>Assembly</value>
+ </data>
+ <data name="$this.Name">
+ <value>frmImageView</value>
+ </data>
</root> \ No newline at end of file
diff --git a/DevIL/bindings/DotNet/ImageViewVb/frmImageView.vb b/DevIL/bindings/DotNet/ImageViewVb/frmImageView.vb
index a78f6af1..b0346a7a 100755
--- a/DevIL/bindings/DotNet/ImageViewVb/frmImageView.vb
+++ b/DevIL/bindings/DotNet/ImageViewVb/frmImageView.vb
@@ -1,184 +1,184 @@
-Public Class frmImageView
- Inherits System.Windows.Forms.Form
-
-#Region " Windows Form Designer generated code "
-
- Public Sub New()
- MyBase.New()
-
- 'This call is required by the Windows Form Designer.
- InitializeComponent()
-
- 'Add any initialization after the InitializeComponent() call
-
- End Sub
-
- 'Form overrides dispose to clean up the component list.
- Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
- If disposing Then
- If Not (components Is Nothing) Then
- components.Dispose()
- End If
- End If
- MyBase.Dispose(disposing)
- End Sub
-
- 'Required by the Windows Form Designer
- Private components As System.ComponentModel.IContainer
-
- 'NOTE: The following procedure is required by the Windows Form Designer
- 'It can be modified using the Windows Form Designer.
- 'Do not modify it using the code editor.
- Friend WithEvents mainMenu As System.Windows.Forms.MainMenu
- Friend WithEvents mnuFile As System.Windows.Forms.MenuItem
- Friend WithEvents mnuFileOpen As System.Windows.Forms.MenuItem
- Friend WithEvents mnuFileSaveAs As System.Windows.Forms.MenuItem
- Friend WithEvents mnuFileSep1 As System.Windows.Forms.MenuItem
- Friend WithEvents mnuFileExit As System.Windows.Forms.MenuItem
- Friend WithEvents mnuHelp As System.Windows.Forms.MenuItem
- Friend WithEvents mnuHelpAbout As System.Windows.Forms.MenuItem
- Friend WithEvents pictureBox As System.Windows.Forms.PictureBox
- <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
- Me.mainMenu = New System.Windows.Forms.MainMenu()
- Me.mnuFile = New System.Windows.Forms.MenuItem()
- Me.mnuFileOpen = New System.Windows.Forms.MenuItem()
- Me.mnuFileSaveAs = New System.Windows.Forms.MenuItem()
- Me.mnuFileSep1 = New System.Windows.Forms.MenuItem()
- Me.mnuFileExit = New System.Windows.Forms.MenuItem()
- Me.mnuHelp = New System.Windows.Forms.MenuItem()
- Me.mnuHelpAbout = New System.Windows.Forms.MenuItem()
- Me.pictureBox = New System.Windows.Forms.PictureBox()
- Me.SuspendLayout()
- '
- 'mainMenu
- '
- Me.mainMenu.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.mnuFile, Me.mnuHelp})
- '
- 'mnuFile
- '
- Me.mnuFile.Index = 0
- Me.mnuFile.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.mnuFileOpen, Me.mnuFileSaveAs, Me.mnuFileSep1, Me.mnuFileExit})
- Me.mnuFile.Text = "&File"
- '
- 'mnuFileOpen
- '
- Me.mnuFileOpen.Index = 0
- Me.mnuFileOpen.Text = "&Open..."
- '
- 'mnuFileSaveAs
- '
- Me.mnuFileSaveAs.Index = 1
- Me.mnuFileSaveAs.Text = "Save &as..."
- '
- 'mnuFileSep1
- '
- Me.mnuFileSep1.Index = 2
- Me.mnuFileSep1.Text = "-"
- '
- 'mnuFileExit
- '
- Me.mnuFileExit.Index = 3
- Me.mnuFileExit.Text = "E&xit"
- '
- 'mnuHelp
- '
- Me.mnuHelp.Index = 1
- Me.mnuHelp.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.mnuHelpAbout})
- Me.mnuHelp.Text = "&?"
- '
- 'mnuHelpAbout
- '
- Me.mnuHelpAbout.Index = 0
- Me.mnuHelpAbout.Text = "&About..."
- '
- 'pictureBox
- '
- Me.pictureBox.Name = "pictureBox"
- Me.pictureBox.Size = New System.Drawing.Size(720, 414)
- Me.pictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize
- Me.pictureBox.TabIndex = 1
- Me.pictureBox.TabStop = False
- '
- 'frmImageView
- '
- Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
- Me.ClientSize = New System.Drawing.Size(720, 434)
- Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.pictureBox})
- Me.Menu = Me.mainMenu
- Me.Name = "frmImageView"
- Me.Text = "ImageView VB.NET"
- Me.ResumeLayout(False)
-
- End Sub
-
-#End Region
-
- Private m_bmp As System.Drawing.Bitmap
-
-
- Private Sub mnuFileOpen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuFileOpen.Click
- Dim ofd As New System.Windows.Forms.OpenFileDialog()
- ofd.Filter = "All Image Files(*.BMP;*.CUT;*.DCX;*.DDS;*.ICO;*.GIF;*.JPG;*.LBM;*.LIF;*.MDL;*.PCD;*.PCX;*.PIC;*.PNG;*.PNM;*.PSD;*.PSP;*.RAW;*.SGI;*.TGA;*.TIF;*.WAL;*.ACT;*.PAL;)|*.BMP;*.CUT;*.DCX;*.DDS;*.ICO;*.GIF;*.JPG;*.LBM;*.LIF;*.MDL;*.PCD;*.PCX;*.PIC;*.PNG;*.PNM;*.PSD;*.PSP;*.RAW;*.SGI;*.TGA;*.TIF;*.WAL;*.ACT;*.PAL|All files (*.*)|*.*"
- ofd.Filter += "|BMP files (*.BMP)|*.BMP"
- ofd.Filter += "|CUT files (*.CUT)|*.CUT"
- ofd.Filter += "|DCX files (*.DCX)|*.DCX"
- ofd.Filter += "|DDS files (*.DDS)|*.DDS"
- ofd.Filter += "|ICO files (*.ICO)|*.ICO"
- ofd.Filter += "|GIF files (*.GIF)|*.GIF"
- ofd.Filter += "|JPG files (*.JPG)|*.JPG"
- ofd.Filter += "|LBM files (*.LBM)|*.LBM"
- ofd.Filter += "|LIF files (*.LIF)|*.LIF"
- ofd.Filter += "|MDL files (*.MDL)|*.MDL"
- ofd.Filter += "|PCD files (*.PCD)|*.PCD"
- ofd.Filter += "|PCX files (*.PCX)|*.PCX"
- ofd.Filter += "|PIC files (*.PIC)|*.PIC"
- ofd.Filter += "|PNG files (*.PNG)|*.PNG"
- ofd.Filter += "|PNM files (*.PNM)|*.PNM"
- ofd.Filter += "|PSD files (*.PSD)|*.PSD"
- ofd.Filter += "|PSP files (*.PSP)|*.PSP"
- ofd.Filter += "|RAW files (*.RAW)|*.RAW"
- ofd.Filter += "|SGI files (*.SGI)|*.SGI"
- ofd.Filter += "|TGA files (*.TGA)|*.TGA"
- ofd.Filter += "|TIF files (*.TIF)|*.TIF"
- ofd.Filter += "|WAL files (*.WAL)|*.WAL"
- ofd.Filter += "|ACT files (*.ACT)|*.ACT"
- ofd.Filter += "|PAL files (*.PAL)|*.PAL"
- ofd.Filter += "|All files (*.*)|*.*"
-
- If (ofd.ShowDialog() = DialogResult.OK) Then
- m_bmp = DevIL.DevIL.LoadBitmap(ofd.FileName)
- If Not (m_bmp Is Nothing) Then
- pictureBox.Image = m_bmp
- End If
- End If
- End Sub
-
- Private Sub mnuFileSaveAs_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuFileSaveAs.Click
- If Not (m_bmp Is Nothing) Then
- Dim sfd As New System.Windows.Forms.SaveFileDialog()
- sfd.Filter = "BMP format (*.BMP)|*.BMP"
- sfd.Filter += "|DDS format (*.DDS)|*.DDS"
- sfd.Filter += "|JPG format (*.JPG)|*.JPG"
- sfd.Filter += "|PCX format (*.PCX)|*.PCX"
- sfd.Filter += "|PNG format (*.PNG)|*.PNG"
- sfd.Filter += "|PNM format (*.PNM)|*.PNM"
- sfd.Filter += "|RAW format (*.RAW)|*.RAW"
- sfd.Filter += "|SGI format (*.SGI)|*.SGI"
- sfd.Filter += "|TGA format (*.TGA)|*.TGA"
- sfd.Filter += "|TIF format (*.TIF)|*.TIF"
- sfd.Filter += "|PAL format (*.PAL)|*.PAL"
-
- If (sfd.ShowDialog() = DialogResult.OK) Then
- DevIL.DevIL.SaveBitmap(sfd.FileName, m_bmp)
- End If
- End If
- End Sub
-
- Private Sub mnuFileExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuFileExit.Click
- Me.Close()
- End Sub
-
- Private Sub mnuHelpAbout_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuHelpAbout.Click
- MessageBox.Show("Program by Marco Mastropaolo\n\nThis is a VB.NET example for the DevIL.NET library.\n\nhttp://www.mastropaolo.com", "About")
- End Sub
-End Class
+Public Class frmImageView
+ Inherits System.Windows.Forms.Form
+
+#Region " Windows Form Designer generated code "
+
+ Public Sub New()
+ MyBase.New()
+
+ 'This call is required by the Windows Form Designer.
+ InitializeComponent()
+
+ 'Add any initialization after the InitializeComponent() call
+
+ End Sub
+
+ 'Form overrides dispose to clean up the component list.
+ Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
+ If disposing Then
+ If Not (components Is Nothing) Then
+ components.Dispose()
+ End If
+ End If
+ MyBase.Dispose(disposing)
+ End Sub
+
+ 'Required by the Windows Form Designer
+ Private components As System.ComponentModel.IContainer
+
+ 'NOTE: The following procedure is required by the Windows Form Designer
+ 'It can be modified using the Windows Form Designer.
+ 'Do not modify it using the code editor.
+ Friend WithEvents mainMenu As System.Windows.Forms.MainMenu
+ Friend WithEvents mnuFile As System.Windows.Forms.MenuItem
+ Friend WithEvents mnuFileOpen As System.Windows.Forms.MenuItem
+ Friend WithEvents mnuFileSaveAs As System.Windows.Forms.MenuItem
+ Friend WithEvents mnuFileSep1 As System.Windows.Forms.MenuItem
+ Friend WithEvents mnuFileExit As System.Windows.Forms.MenuItem
+ Friend WithEvents mnuHelp As System.Windows.Forms.MenuItem
+ Friend WithEvents mnuHelpAbout As System.Windows.Forms.MenuItem
+ Friend WithEvents pictureBox As System.Windows.Forms.PictureBox
+ <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
+ Me.mainMenu = New System.Windows.Forms.MainMenu()
+ Me.mnuFile = New System.Windows.Forms.MenuItem()
+ Me.mnuFileOpen = New System.Windows.Forms.MenuItem()
+ Me.mnuFileSaveAs = New System.Windows.Forms.MenuItem()
+ Me.mnuFileSep1 = New System.Windows.Forms.MenuItem()
+ Me.mnuFileExit = New System.Windows.Forms.MenuItem()
+ Me.mnuHelp = New System.Windows.Forms.MenuItem()
+ Me.mnuHelpAbout = New System.Windows.Forms.MenuItem()
+ Me.pictureBox = New System.Windows.Forms.PictureBox()
+ Me.SuspendLayout()
+ '
+ 'mainMenu
+ '
+ Me.mainMenu.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.mnuFile, Me.mnuHelp})
+ '
+ 'mnuFile
+ '
+ Me.mnuFile.Index = 0
+ Me.mnuFile.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.mnuFileOpen, Me.mnuFileSaveAs, Me.mnuFileSep1, Me.mnuFileExit})
+ Me.mnuFile.Text = "&File"
+ '
+ 'mnuFileOpen
+ '
+ Me.mnuFileOpen.Index = 0
+ Me.mnuFileOpen.Text = "&Open..."
+ '
+ 'mnuFileSaveAs
+ '
+ Me.mnuFileSaveAs.Index = 1
+ Me.mnuFileSaveAs.Text = "Save &as..."
+ '
+ 'mnuFileSep1
+ '
+ Me.mnuFileSep1.Index = 2
+ Me.mnuFileSep1.Text = "-"
+ '
+ 'mnuFileExit
+ '
+ Me.mnuFileExit.Index = 3
+ Me.mnuFileExit.Text = "E&xit"
+ '
+ 'mnuHelp
+ '
+ Me.mnuHelp.Index = 1
+ Me.mnuHelp.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.mnuHelpAbout})
+ Me.mnuHelp.Text = "&?"
+ '
+ 'mnuHelpAbout
+ '
+ Me.mnuHelpAbout.Index = 0
+ Me.mnuHelpAbout.Text = "&About..."
+ '
+ 'pictureBox
+ '
+ Me.pictureBox.Name = "pictureBox"
+ Me.pictureBox.Size = New System.Drawing.Size(720, 414)
+ Me.pictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize
+ Me.pictureBox.TabIndex = 1
+ Me.pictureBox.TabStop = False
+ '
+ 'frmImageView
+ '
+ Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
+ Me.ClientSize = New System.Drawing.Size(720, 434)
+ Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.pictureBox})
+ Me.Menu = Me.mainMenu
+ Me.Name = "frmImageView"
+ Me.Text = "ImageView VB.NET"
+ Me.ResumeLayout(False)
+
+ End Sub
+
+#End Region
+
+ Private m_bmp As System.Drawing.Bitmap
+
+
+ Private Sub mnuFileOpen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuFileOpen.Click
+ Dim ofd As New System.Windows.Forms.OpenFileDialog()
+ ofd.Filter = "All Image Files(*.BMP;*.CUT;*.DCX;*.DDS;*.ICO;*.GIF;*.JPG;*.LBM;*.LIF;*.MDL;*.PCD;*.PCX;*.PIC;*.PNG;*.PNM;*.PSD;*.PSP;*.RAW;*.SGI;*.TGA;*.TIF;*.WAL;*.ACT;*.PAL;)|*.BMP;*.CUT;*.DCX;*.DDS;*.ICO;*.GIF;*.JPG;*.LBM;*.LIF;*.MDL;*.PCD;*.PCX;*.PIC;*.PNG;*.PNM;*.PSD;*.PSP;*.RAW;*.SGI;*.TGA;*.TIF;*.WAL;*.ACT;*.PAL|All files (*.*)|*.*"
+ ofd.Filter += "|BMP files (*.BMP)|*.BMP"
+ ofd.Filter += "|CUT files (*.CUT)|*.CUT"
+ ofd.Filter += "|DCX files (*.DCX)|*.DCX"
+ ofd.Filter += "|DDS files (*.DDS)|*.DDS"
+ ofd.Filter += "|ICO files (*.ICO)|*.ICO"
+ ofd.Filter += "|GIF files (*.GIF)|*.GIF"
+ ofd.Filter += "|JPG files (*.JPG)|*.JPG"
+ ofd.Filter += "|LBM files (*.LBM)|*.LBM"
+ ofd.Filter += "|LIF files (*.LIF)|*.LIF"
+ ofd.Filter += "|MDL files (*.MDL)|*.MDL"
+ ofd.Filter += "|PCD files (*.PCD)|*.PCD"
+ ofd.Filter += "|PCX files (*.PCX)|*.PCX"
+ ofd.Filter += "|PIC files (*.PIC)|*.PIC"
+ ofd.Filter += "|PNG files (*.PNG)|*.PNG"
+ ofd.Filter += "|PNM files (*.PNM)|*.PNM"
+ ofd.Filter += "|PSD files (*.PSD)|*.PSD"
+ ofd.Filter += "|PSP files (*.PSP)|*.PSP"
+ ofd.Filter += "|RAW files (*.RAW)|*.RAW"
+ ofd.Filter += "|SGI files (*.SGI)|*.SGI"
+ ofd.Filter += "|TGA files (*.TGA)|*.TGA"
+ ofd.Filter += "|TIF files (*.TIF)|*.TIF"
+ ofd.Filter += "|WAL files (*.WAL)|*.WAL"
+ ofd.Filter += "|ACT files (*.ACT)|*.ACT"
+ ofd.Filter += "|PAL files (*.PAL)|*.PAL"
+ ofd.Filter += "|All files (*.*)|*.*"
+
+ If (ofd.ShowDialog() = DialogResult.OK) Then
+ m_bmp = DevIL.DevIL.LoadBitmap(ofd.FileName)
+ If Not (m_bmp Is Nothing) Then
+ pictureBox.Image = m_bmp
+ End If
+ End If
+ End Sub
+
+ Private Sub mnuFileSaveAs_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuFileSaveAs.Click
+ If Not (m_bmp Is Nothing) Then
+ Dim sfd As New System.Windows.Forms.SaveFileDialog()
+ sfd.Filter = "BMP format (*.BMP)|*.BMP"
+ sfd.Filter += "|DDS format (*.DDS)|*.DDS"
+ sfd.Filter += "|JPG format (*.JPG)|*.JPG"
+ sfd.Filter += "|PCX format (*.PCX)|*.PCX"
+ sfd.Filter += "|PNG format (*.PNG)|*.PNG"
+ sfd.Filter += "|PNM format (*.PNM)|*.PNM"
+ sfd.Filter += "|RAW format (*.RAW)|*.RAW"
+ sfd.Filter += "|SGI format (*.SGI)|*.SGI"
+ sfd.Filter += "|TGA format (*.TGA)|*.TGA"
+ sfd.Filter += "|TIF format (*.TIF)|*.TIF"
+ sfd.Filter += "|PAL format (*.PAL)|*.PAL"
+
+ If (sfd.ShowDialog() = DialogResult.OK) Then
+ DevIL.DevIL.SaveBitmap(sfd.FileName, m_bmp)
+ End If
+ End If
+ End Sub
+
+ Private Sub mnuFileExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuFileExit.Click
+ Me.Close()
+ End Sub
+
+ Private Sub mnuHelpAbout_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuHelpAbout.Click
+ MessageBox.Show("Program by Marco Mastropaolo\n\nThis is a VB.NET example for the DevIL.NET library.\n\nhttp://www.mastropaolo.com", "About")
+ End Sub
+End Class
diff --git a/DevIL/bindings/DotNet/vcproj vs2005/DevIL.NET.vcproj b/DevIL/bindings/DotNet/vcproj vs2005/DevIL.NET.vcproj
index 9feea9f5..e2d5b2f3 100755
--- a/DevIL/bindings/DotNet/vcproj vs2005/DevIL.NET.vcproj
+++ b/DevIL/bindings/DotNet/vcproj vs2005/DevIL.NET.vcproj
@@ -1,219 +1,219 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8,00"
- Name="DevIL.NET"
- ProjectGUID="{30D94686-D452-4A73-B59D-178288807EE5}"
- Keyword="ManagedCProj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="Debug"
- IntermediateDirectory="Debug"
- ConfigurationType="2"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
- CharacterSet="2"
- ManagedExtensions="4"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="g:\prg\devil\include"
- PreprocessorDefinitions="WIN32;_DEBUG"
- GeneratePreprocessedFile="0"
- MinimalRebuild="false"
- BasicRuntimeChecks="0"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib"
- OutputFile="$(OutDir)/DevIL.NET.dll"
- LinkIncremental="2"
- AdditionalLibraryDirectories="g:\prg\devil\lib"
- GenerateDebugInformation="true"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="Release"
- IntermediateDirectory="Release"
- ConfigurationType="2"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
- CharacterSet="2"
- ManagedExtensions="4"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="c:\prg\devil\include"
- PreprocessorDefinitions="WIN32;NDEBUG"
- MinimalRebuild="false"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib"
- OutputFile="$(OutDir)/DevIL.NET.dll"
- LinkIncremental="1"
- AdditionalLibraryDirectories="c:\prg\devil\lib"
- GenerateDebugInformation="true"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm"
- >
- <File
- RelativePath="DevIL.NET.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- GeneratePreprocessedFile="0"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc"
- >
- <File
- RelativePath="DotNetIlu.h"
- >
- </File>
- <File
- RelativePath="Stdafx.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;r"
- >
- </Filter>
- <File
- RelativePath="ReadMe.txt"
- >
- </File>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8,00"
+ Name="DevIL.NET"
+ ProjectGUID="{30D94686-D452-4A73-B59D-178288807EE5}"
+ Keyword="ManagedCProj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug"
+ IntermediateDirectory="Debug"
+ ConfigurationType="2"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
+ CharacterSet="2"
+ ManagedExtensions="4"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="g:\prg\devil\include"
+ PreprocessorDefinitions="WIN32;_DEBUG"
+ GeneratePreprocessedFile="0"
+ MinimalRebuild="false"
+ BasicRuntimeChecks="0"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib"
+ OutputFile="$(OutDir)/DevIL.NET.dll"
+ LinkIncremental="2"
+ AdditionalLibraryDirectories="g:\prg\devil\lib"
+ GenerateDebugInformation="true"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release"
+ IntermediateDirectory="Release"
+ ConfigurationType="2"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
+ CharacterSet="2"
+ ManagedExtensions="4"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ InlineFunctionExpansion="1"
+ AdditionalIncludeDirectories="c:\prg\devil\include"
+ PreprocessorDefinitions="WIN32;NDEBUG"
+ MinimalRebuild="false"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib"
+ OutputFile="$(OutDir)/DevIL.NET.dll"
+ LinkIncremental="1"
+ AdditionalLibraryDirectories="c:\prg\devil\lib"
+ GenerateDebugInformation="true"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm"
+ >
+ <File
+ RelativePath="DevIL.NET.cpp"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ GeneratePreprocessedFile="0"
+ />
+ </FileConfiguration>
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc"
+ >
+ <File
+ RelativePath="DotNetIlu.h"
+ >
+ </File>
+ <File
+ RelativePath="Stdafx.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;r"
+ >
+ </Filter>
+ <File
+ RelativePath="ReadMe.txt"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/bindings/Mathematica/DevIL Mathematica.vcproj b/DevIL/bindings/Mathematica/DevIL Mathematica.vcproj
index 2097af49..e9921546 100755
--- a/DevIL/bindings/Mathematica/DevIL Mathematica.vcproj
+++ b/DevIL/bindings/Mathematica/DevIL Mathematica.vcproj
@@ -1,204 +1,204 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="DevIL Mathematica"
- ProjectGUID="{A73E8E53-2A08-405E-B462-E1541FE3E00F}"
- RootNamespace="DevILMathematica"
- Keyword="Win32Proj"
- TargetFrameworkVersion="131072"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- CommandLine=""
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="ml32i3m.lib devil.lib ilu.lib ilut.lib comdlg32.lib user32.lib advapi32.lib gdi32.lib shell32.lib"
- OutputFile="DevIL.exe"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="ml32i3m.lib devil.lib ilu.lib ilut.lib comdlg32.lib user32.lib advapi32.lib gdi32.lib shell32.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\DevIL Interface.c"
- >
- </File>
- <File
- RelativePath=".\test.c"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="DevIL Mathematica"
+ ProjectGUID="{A73E8E53-2A08-405E-B462-E1541FE3E00F}"
+ RootNamespace="DevILMathematica"
+ Keyword="Win32Proj"
+ TargetFrameworkVersion="131072"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ CommandLine=""
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="ml32i3m.lib devil.lib ilu.lib ilut.lib comdlg32.lib user32.lib advapi32.lib gdi32.lib shell32.lib"
+ OutputFile="DevIL.exe"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="ml32i3m.lib devil.lib ilu.lib ilut.lib comdlg32.lib user32.lib advapi32.lib gdi32.lib shell32.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\DevIL Interface.c"
+ >
+ </File>
+ <File
+ RelativePath=".\test.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/bindings/Mathematica/DevIL.nb b/DevIL/bindings/Mathematica/DevIL.nb
index fcf9b329..312775ee 100755
--- a/DevIL/bindings/Mathematica/DevIL.nb
+++ b/DevIL/bindings/Mathematica/DevIL.nb
@@ -1,142 +1,142 @@
-(* Content-type: application/mathematica *)
-
-(*** Wolfram Notebook File ***)
-(* http://www.wolfram.com/nb *)
-
-(* CreatedBy='Mathematica 6.0' *)
-
-(*CacheID: 234*)
-(* Internal cache information:
-NotebookFileLineBreakTest
-NotebookFileLineBreakTest
-NotebookDataPosition[ 145, 7]
-NotebookDataLength[ 4305, 133]
-NotebookOptionsPosition[ 3741, 109]
-NotebookOutlinePosition[ 4105, 125]
-CellTagsIndexPosition[ 4062, 122]
-WindowFrame->Normal
-ContainsDynamic->False*)
-
-(* Beginning of Notebook Content *)
-Notebook[{
-Cell[BoxData[
- RowBox[{"link", " ", "=", " ",
- RowBox[{
- "Install", "[", "\"\<E:\\DevIL\\projects\\Mathematica\\devil.exe\>\"",
- "]"}]}]], "Input",
- CellChangeTimes->{{3.44382235517484*^9, 3.4438223572684565`*^9}}],
-
-Cell[BoxData[
- RowBox[{
- RowBox[{
- "Imagename", " ", "=", " ",
- "\"\<E:\\DevIL\\projects\\Mathematica\\rgb32.tga\>\""}], ";"}]], "Input",
- CellChangeTimes->{{3.433336425992341*^9, 3.433336437270916*^9}, {
- 3.433336500650648*^9, 3.4333365039531717`*^9}, {3.433336644044791*^9,
- 3.433336644308446*^9}, {3.43333691883775*^9, 3.4333369191961255`*^9}, {
- 3.4438223711542864`*^9, 3.4438223802972555`*^9}, {3.4438224311895065`*^9,
- 3.443822433804573*^9}}],
-
-Cell[CellGroupData[{
-
-Cell[BoxData[
- RowBox[{
- RowBox[{"If", "[",
- RowBox[{
- RowBox[{
- RowBox[{"mlLoad", "[", "Imagename", "]"}], "\[Equal]", "1"}], ",",
- "\[IndentingNewLine]",
- RowBox[{"(",
- RowBox[{
- RowBox[{"width", " ", "=", " ",
- RowBox[{"mlWidth", "[", "1", "]"}]}], ";", "\[IndentingNewLine]",
- RowBox[{"height", "=",
- RowBox[{"mlHeight", "[", "1", "]"}]}], ";", "\[IndentingNewLine]",
- RowBox[{"data", " ", "=", " ",
- RowBox[{"mlData", "[", "1", "]"}]}], ";", "\[IndentingNewLine]",
- RowBox[{"r", " ", "=", " ",
- RowBox[{"Table", "[",
- RowBox[{
- RowBox[{"Table", "[",
- RowBox[{
- RowBox[{"Table", "[",
- RowBox[{
- RowBox[{"data", "[",
- RowBox[{"[",
- RowBox[{
- RowBox[{"y", " ", "*", " ", "width", " ", "*", " ", "4"}],
- " ", "+", " ",
- RowBox[{"x", "*", "4"}], " ", "+", " ", "c"}], "]"}], "]"}],
- ",",
- RowBox[{"{",
- RowBox[{"c", ",", "4"}], "}"}]}], "]"}], ",",
- RowBox[{"{",
- RowBox[{"x", ",", "0", ",",
- RowBox[{"width", "-", "1"}]}], "}"}]}], "]"}], ",",
- RowBox[{"{",
- RowBox[{"y", ",", "0", ",",
- RowBox[{"height", "-", "1"}]}], "}"}]}], "]"}]}], ";",
- "\[IndentingNewLine]",
- RowBox[{"image", " ", "=",
- RowBox[{"Graphics", "[",
- RowBox[{"Raster", "[", "r", "]"}], "]"}]}]}], ")"}], ",",
- "\[IndentingNewLine]",
- RowBox[{"Print", "[", "\"\<Could not load image.\>\"", "]"}]}], "]"}],
- ";"}]], "Input",
- CellChangeTimes->{{3.433336299124484*^9, 3.433336308652195*^9}, {
- 3.433336340650147*^9, 3.4333364425606165`*^9}, {3.4333365088102827`*^9,
- 3.4333365154026337`*^9}, {3.433336600067137*^9, 3.4333366264160366`*^9},
- 3.4333370439234943`*^9}],
-
-Cell[BoxData["\<\"Could not load image.\"\>"], "Print",
- CellChangeTimes->{3.4438224626357355`*^9, 3.443822636813064*^9}]
-}, Open ]],
-
-Cell[BoxData[
- RowBox[{"Show", "[", "image", "]"}]], "Input",
- CellChangeTimes->{{3.4333366309743385`*^9, 3.4333366324136996`*^9}}],
-
-Cell[CellGroupData[{
-
-Cell[BoxData[
- RowBox[{"Uninstall", "[", "link", "]"}]], "Input"],
-
-Cell[BoxData["\<\"\\\"E:\\\\DevIL\\\\projects\\\\Mathematica\\\\devil.exe\\\"\
-\"\>"], "Output",
- CellChangeTimes->{3.4438224816530733`*^9, 3.4438226422609577`*^9,
- 3.4438227036476536`*^9}]
-}, Open ]]
-},
-WindowSize->{1161, 898},
-WindowMargins->{{54, Automatic}, {Automatic, -1}},
-ShowSelection->True,
-FrontEndVersion->"6.0 for Microsoft Windows (32-bit) (April 28, 2007)",
-StyleDefinitions->"Default.nb"
-]
-(* End of Notebook Content *)
-
-(* Internal cache information *)
-(*CellTagsOutline
-CellTagsIndex->{}
-*)
-(*CellTagsIndex
-CellTagsIndex->{}
-*)
-(*NotebookFileOutline
-Notebook[{
-Cell[568, 21, 220, 5, 31, "Input"],
-Cell[791, 28, 459, 9, 31, "Input"],
-Cell[CellGroupData[{
-Cell[1275, 41, 1896, 47, 152, "Input"],
-Cell[3174, 90, 121, 1, 23, "Print"]
-}, Open ]],
-Cell[3310, 94, 131, 2, 31, "Input"],
-Cell[CellGroupData[{
-Cell[3466, 100, 65, 1, 31, "Input"],
-Cell[3534, 103, 191, 3, 30, "Output"]
-}, Open ]]
-}
-]
-*)
-
-(* End of internal cache information *)
+(* Content-type: application/mathematica *)
+
+(*** Wolfram Notebook File ***)
+(* http://www.wolfram.com/nb *)
+
+(* CreatedBy='Mathematica 6.0' *)
+
+(*CacheID: 234*)
+(* Internal cache information:
+NotebookFileLineBreakTest
+NotebookFileLineBreakTest
+NotebookDataPosition[ 145, 7]
+NotebookDataLength[ 4305, 133]
+NotebookOptionsPosition[ 3741, 109]
+NotebookOutlinePosition[ 4105, 125]
+CellTagsIndexPosition[ 4062, 122]
+WindowFrame->Normal
+ContainsDynamic->False*)
+
+(* Beginning of Notebook Content *)
+Notebook[{
+Cell[BoxData[
+ RowBox[{"link", " ", "=", " ",
+ RowBox[{
+ "Install", "[", "\"\<E:\\DevIL\\projects\\Mathematica\\devil.exe\>\"",
+ "]"}]}]], "Input",
+ CellChangeTimes->{{3.44382235517484*^9, 3.4438223572684565`*^9}}],
+
+Cell[BoxData[
+ RowBox[{
+ RowBox[{
+ "Imagename", " ", "=", " ",
+ "\"\<E:\\DevIL\\projects\\Mathematica\\rgb32.tga\>\""}], ";"}]], "Input",
+ CellChangeTimes->{{3.433336425992341*^9, 3.433336437270916*^9}, {
+ 3.433336500650648*^9, 3.4333365039531717`*^9}, {3.433336644044791*^9,
+ 3.433336644308446*^9}, {3.43333691883775*^9, 3.4333369191961255`*^9}, {
+ 3.4438223711542864`*^9, 3.4438223802972555`*^9}, {3.4438224311895065`*^9,
+ 3.443822433804573*^9}}],
+
+Cell[CellGroupData[{
+
+Cell[BoxData[
+ RowBox[{
+ RowBox[{"If", "[",
+ RowBox[{
+ RowBox[{
+ RowBox[{"mlLoad", "[", "Imagename", "]"}], "\[Equal]", "1"}], ",",
+ "\[IndentingNewLine]",
+ RowBox[{"(",
+ RowBox[{
+ RowBox[{"width", " ", "=", " ",
+ RowBox[{"mlWidth", "[", "1", "]"}]}], ";", "\[IndentingNewLine]",
+ RowBox[{"height", "=",
+ RowBox[{"mlHeight", "[", "1", "]"}]}], ";", "\[IndentingNewLine]",
+ RowBox[{"data", " ", "=", " ",
+ RowBox[{"mlData", "[", "1", "]"}]}], ";", "\[IndentingNewLine]",
+ RowBox[{"r", " ", "=", " ",
+ RowBox[{"Table", "[",
+ RowBox[{
+ RowBox[{"Table", "[",
+ RowBox[{
+ RowBox[{"Table", "[",
+ RowBox[{
+ RowBox[{"data", "[",
+ RowBox[{"[",
+ RowBox[{
+ RowBox[{"y", " ", "*", " ", "width", " ", "*", " ", "4"}],
+ " ", "+", " ",
+ RowBox[{"x", "*", "4"}], " ", "+", " ", "c"}], "]"}], "]"}],
+ ",",
+ RowBox[{"{",
+ RowBox[{"c", ",", "4"}], "}"}]}], "]"}], ",",
+ RowBox[{"{",
+ RowBox[{"x", ",", "0", ",",
+ RowBox[{"width", "-", "1"}]}], "}"}]}], "]"}], ",",
+ RowBox[{"{",
+ RowBox[{"y", ",", "0", ",",
+ RowBox[{"height", "-", "1"}]}], "}"}]}], "]"}]}], ";",
+ "\[IndentingNewLine]",
+ RowBox[{"image", " ", "=",
+ RowBox[{"Graphics", "[",
+ RowBox[{"Raster", "[", "r", "]"}], "]"}]}]}], ")"}], ",",
+ "\[IndentingNewLine]",
+ RowBox[{"Print", "[", "\"\<Could not load image.\>\"", "]"}]}], "]"}],
+ ";"}]], "Input",
+ CellChangeTimes->{{3.433336299124484*^9, 3.433336308652195*^9}, {
+ 3.433336340650147*^9, 3.4333364425606165`*^9}, {3.4333365088102827`*^9,
+ 3.4333365154026337`*^9}, {3.433336600067137*^9, 3.4333366264160366`*^9},
+ 3.4333370439234943`*^9}],
+
+Cell[BoxData["\<\"Could not load image.\"\>"], "Print",
+ CellChangeTimes->{3.4438224626357355`*^9, 3.443822636813064*^9}]
+}, Open ]],
+
+Cell[BoxData[
+ RowBox[{"Show", "[", "image", "]"}]], "Input",
+ CellChangeTimes->{{3.4333366309743385`*^9, 3.4333366324136996`*^9}}],
+
+Cell[CellGroupData[{
+
+Cell[BoxData[
+ RowBox[{"Uninstall", "[", "link", "]"}]], "Input"],
+
+Cell[BoxData["\<\"\\\"E:\\\\DevIL\\\\projects\\\\Mathematica\\\\devil.exe\\\"\
+\"\>"], "Output",
+ CellChangeTimes->{3.4438224816530733`*^9, 3.4438226422609577`*^9,
+ 3.4438227036476536`*^9}]
+}, Open ]]
+},
+WindowSize->{1161, 898},
+WindowMargins->{{54, Automatic}, {Automatic, -1}},
+ShowSelection->True,
+FrontEndVersion->"6.0 for Microsoft Windows (32-bit) (April 28, 2007)",
+StyleDefinitions->"Default.nb"
+]
+(* End of Notebook Content *)
+
+(* Internal cache information *)
+(*CellTagsOutline
+CellTagsIndex->{}
+*)
+(*CellTagsIndex
+CellTagsIndex->{}
+*)
+(*NotebookFileOutline
+Notebook[{
+Cell[568, 21, 220, 5, 31, "Input"],
+Cell[791, 28, 459, 9, 31, "Input"],
+Cell[CellGroupData[{
+Cell[1275, 41, 1896, 47, 152, "Input"],
+Cell[3174, 90, 121, 1, 23, "Print"]
+}, Open ]],
+Cell[3310, 94, 131, 2, 31, "Input"],
+Cell[CellGroupData[{
+Cell[3466, 100, 65, 1, 31, "Input"],
+Cell[3534, 103, 191, 3, 30, "Output"]
+}, Open ]]
+}
+]
+*)
+
+(* End of internal cache information *)
diff --git a/DevIL/cpp wrapper/Cpp Wrapper.dsp b/DevIL/cpp wrapper/Cpp Wrapper.dsp
index 4f2b6db9..0c1d1c63 100644
--- a/DevIL/cpp wrapper/Cpp Wrapper.dsp
+++ b/DevIL/cpp wrapper/Cpp Wrapper.dsp
@@ -1,101 +1,101 @@
-# Microsoft Developer Studio Project File - Name="Cpp Wrapper" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Static Library" 0x0104
-
-CFG=Cpp Wrapper - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "Cpp Wrapper.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "Cpp Wrapper.mak" CFG="Cpp Wrapper - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Cpp Wrapper - Win32 Release" (based on "Win32 (x86) Static Library")
-!MESSAGE "Cpp Wrapper - Win32 Debug" (based on "Win32 (x86) Static Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Cpp Wrapper - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "../lib"
-# PROP Intermediate_Dir "obj"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LIB32=link.exe -lib
-# ADD BASE LIB32 /nologo
-# ADD LIB32 /nologo /out:"../lib\il_wrap.lib"
-
-!ELSEIF "$(CFG)" == "Cpp Wrapper - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "../lib/debug"
-# PROP Intermediate_Dir "obj/debug"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LIB32=link.exe -lib
-# ADD BASE LIB32 /nologo
-# ADD LIB32 /nologo /out:"../lib/debug\il_wrap.lib"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Cpp Wrapper - Win32 Release"
-# Name "Cpp Wrapper - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\il_wrap.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# Begin Source File
-
-SOURCE=..\include\il\il_wrap.h
-# End Source File
-# End Group
-# End Target
-# End Project
+# Microsoft Developer Studio Project File - Name="Cpp Wrapper" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Static Library" 0x0104
+
+CFG=Cpp Wrapper - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "Cpp Wrapper.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "Cpp Wrapper.mak" CFG="Cpp Wrapper - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "Cpp Wrapper - Win32 Release" (based on "Win32 (x86) Static Library")
+!MESSAGE "Cpp Wrapper - Win32 Debug" (based on "Win32 (x86) Static Library")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "Cpp Wrapper - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "../lib"
+# PROP Intermediate_Dir "obj"
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /c
+# SUBTRACT CPP /YX
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LIB32=link.exe -lib
+# ADD BASE LIB32 /nologo
+# ADD LIB32 /nologo /out:"../lib\il_wrap.lib"
+
+!ELSEIF "$(CFG)" == "Cpp Wrapper - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "../lib/debug"
+# PROP Intermediate_Dir "obj/debug"
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LIB32=link.exe -lib
+# ADD BASE LIB32 /nologo
+# ADD LIB32 /nologo /out:"../lib/debug\il_wrap.lib"
+
+!ENDIF
+
+# Begin Target
+
+# Name "Cpp Wrapper - Win32 Release"
+# Name "Cpp Wrapper - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=.\il_wrap.cpp
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# Begin Source File
+
+SOURCE=..\include\il\il_wrap.h
+# End Source File
+# End Group
+# End Target
+# End Project
diff --git a/DevIL/cpp wrapper/Cpp Wrapper.vcproj b/DevIL/cpp wrapper/Cpp Wrapper.vcproj
index b367371b..94fe52f5 100644
--- a/DevIL/cpp wrapper/Cpp Wrapper.vcproj
+++ b/DevIL/cpp wrapper/Cpp Wrapper.vcproj
@@ -1,187 +1,187 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="7.10"
- Name="Cpp Wrapper"
- RootNamespace="Cpp Wrapper"
- SccProjectName=""
- SccLocalPath="">
- <Platforms>
- <Platform
- Name="Win32"/>
- </Platforms>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="4"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="FALSE"
- CharacterSet="2">
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="..\include"
- PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="2"
- WarningLevel="1"
- SuppressStartupBanner="TRUE"
- DebugInformationFormat="4"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLibrarianTool"
- OutputFile="$(OutDir)/$(ProjectName)_DBG.lib"
- SuppressStartupBanner="TRUE"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"
- CommandLine="copy &quot;$(TargetPath)&quot; &quot;$(SolutionDir)\..\..\lib&quot;"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="_DEBUG"
- Culture="1033"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="4"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="FALSE"
- CharacterSet="2">
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
- StringPooling="TRUE"
- RuntimeLibrary="2"
- BufferSecurityCheck="FALSE"
- PrecompiledHeaderFile=".\obj/Cpp Wrapper.pch"
- WarningLevel="3"
- SuppressStartupBanner="TRUE"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLibrarianTool"
- OutputFile="../lib\il_wrap.lib"
- SuppressStartupBanner="TRUE"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"
- CommandLine="copy &quot;$(TargetPath)&quot; &quot;$(SolutionDir)\..\..\lib&quot;"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="1033"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- <Configuration
- Name="Dynamic|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="2"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="FALSE"
- CharacterSet="2">
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
- StringPooling="TRUE"
- RuntimeLibrary="2"
- BufferSecurityCheck="FALSE"
- WarningLevel="3"
- SuppressStartupBanner="TRUE"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"
- CommandLine="copy &quot;$(TargetPath)&quot; &quot;$(SolutionDir)\..\..\lib&quot;"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="1033"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
- <File
- RelativePath="il_wrap.cpp">
- <FileConfiguration
- Name="Release|Win32">
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- PreprocessorDefinitions=""/>
- </FileConfiguration>
- <FileConfiguration
- Name="Dynamic|Win32">
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- PreprocessorDefinitions=""/>
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl">
- <File
- RelativePath="..\include\il\il_wrap.h">
- </File>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="7.10"
+ Name="Cpp Wrapper"
+ RootNamespace="Cpp Wrapper"
+ SccProjectName=""
+ SccLocalPath="">
+ <Platforms>
+ <Platform
+ Name="Win32"/>
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="4"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="FALSE"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="..\include"
+ PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="2"
+ WarningLevel="1"
+ SuppressStartupBanner="TRUE"
+ DebugInformationFormat="4"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLibrarianTool"
+ OutputFile="$(OutDir)/$(ProjectName)_DBG.lib"
+ SuppressStartupBanner="TRUE"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"
+ CommandLine="copy &quot;$(TargetPath)&quot; &quot;$(SolutionDir)\..\..\lib&quot;"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="_DEBUG"
+ Culture="1033"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="4"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="FALSE"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
+ StringPooling="TRUE"
+ RuntimeLibrary="2"
+ BufferSecurityCheck="FALSE"
+ PrecompiledHeaderFile=".\obj/Cpp Wrapper.pch"
+ WarningLevel="3"
+ SuppressStartupBanner="TRUE"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLibrarianTool"
+ OutputFile="../lib\il_wrap.lib"
+ SuppressStartupBanner="TRUE"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"
+ CommandLine="copy &quot;$(TargetPath)&quot; &quot;$(SolutionDir)\..\..\lib&quot;"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ Culture="1033"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ <Configuration
+ Name="Dynamic|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="2"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="FALSE"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
+ StringPooling="TRUE"
+ RuntimeLibrary="2"
+ BufferSecurityCheck="FALSE"
+ WarningLevel="3"
+ SuppressStartupBanner="TRUE"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"
+ CommandLine="copy &quot;$(TargetPath)&quot; &quot;$(SolutionDir)\..\..\lib&quot;"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ Culture="1033"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
+ <File
+ RelativePath="il_wrap.cpp">
+ <FileConfiguration
+ Name="Release|Win32">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ PreprocessorDefinitions=""/>
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Dynamic|Win32">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ PreprocessorDefinitions=""/>
+ </FileConfiguration>
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl">
+ <File
+ RelativePath="..\include\il\il_wrap.h">
+ </File>
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/Examples-vc8.sln b/DevIL/examples/Examples-vc8.sln
index 9123fad4..b5951efb 100755
--- a/DevIL/examples/Examples-vc8.sln
+++ b/DevIL/examples/Examples-vc8.sln
@@ -1,95 +1,95 @@
-
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "simple_example", "simple_example\simple_example-vc8.vcproj", "{42889114-58F0-4276-B17E-1DD54515C162}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "volume_example", "volume_example\volume_example-vc8.vcproj", "{3CA757AB-738A-490A-9026-7AD76973E7B2}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "direct3d_example", "direct3d_example\direct3d_example-vc8.vcproj", "{3508F715-2B08-4978-9FAC-78C82D13242E}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Windows Example", "windows_example\windows_example-vc8.vcproj", "{22B03048-FD11-4D7F-88F5-C2628F8B6777}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "opengl_example", "opengl_example\opengl_example-vc8.vcproj", "{266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sdl_example", "sdl_example\sdl_example-vc9.vcproj", "{E16D7458-33E2-4332-81BD-423B41B30A64}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cpp_wrapper_example", "cpp_wrapper_example\cpp_wrapper_example-vc8.vcproj", "{49AC6039-D62B-44EE-9D37-9B4048E6C4B1}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "animation_example", "animation_example\animation_example-vc8.vcproj", "{B5E50718-EC86-4DD6-9AE4-468DA9A0F786}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "override_example", "override_example\override_example-vc8.vcproj", "{D29C126E-DFC5-4C55-B076-96F69AB9D769}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "register_read_example", "register_read_example\register_read_example-vc8.vcproj", "{3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Dynamic|Win32 = Dynamic|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {42889114-58F0-4276-B17E-1DD54515C162}.Debug|Win32.ActiveCfg = Debug|Win32
- {42889114-58F0-4276-B17E-1DD54515C162}.Debug|Win32.Build.0 = Debug|Win32
- {42889114-58F0-4276-B17E-1DD54515C162}.Dynamic|Win32.ActiveCfg = Debug|Win32
- {42889114-58F0-4276-B17E-1DD54515C162}.Dynamic|Win32.Build.0 = Debug|Win32
- {42889114-58F0-4276-B17E-1DD54515C162}.Release|Win32.ActiveCfg = Release|Win32
- {42889114-58F0-4276-B17E-1DD54515C162}.Release|Win32.Build.0 = Release|Win32
- {3CA757AB-738A-490A-9026-7AD76973E7B2}.Debug|Win32.ActiveCfg = Debug|Win32
- {3CA757AB-738A-490A-9026-7AD76973E7B2}.Debug|Win32.Build.0 = Debug|Win32
- {3CA757AB-738A-490A-9026-7AD76973E7B2}.Dynamic|Win32.ActiveCfg = Debug|Win32
- {3CA757AB-738A-490A-9026-7AD76973E7B2}.Dynamic|Win32.Build.0 = Debug|Win32
- {3CA757AB-738A-490A-9026-7AD76973E7B2}.Release|Win32.ActiveCfg = Release|Win32
- {3CA757AB-738A-490A-9026-7AD76973E7B2}.Release|Win32.Build.0 = Release|Win32
- {3508F715-2B08-4978-9FAC-78C82D13242E}.Debug|Win32.ActiveCfg = Debug|Win32
- {3508F715-2B08-4978-9FAC-78C82D13242E}.Debug|Win32.Build.0 = Debug|Win32
- {3508F715-2B08-4978-9FAC-78C82D13242E}.Dynamic|Win32.ActiveCfg = Debug|Win32
- {3508F715-2B08-4978-9FAC-78C82D13242E}.Dynamic|Win32.Build.0 = Debug|Win32
- {3508F715-2B08-4978-9FAC-78C82D13242E}.Release|Win32.ActiveCfg = Release|Win32
- {3508F715-2B08-4978-9FAC-78C82D13242E}.Release|Win32.Build.0 = Release|Win32
- {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Debug|Win32.ActiveCfg = Debug|Win32
- {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Debug|Win32.Build.0 = Debug|Win32
- {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Dynamic|Win32.ActiveCfg = Dynamic|Win32
- {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Dynamic|Win32.Build.0 = Dynamic|Win32
- {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Release|Win32.ActiveCfg = Release|Win32
- {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Release|Win32.Build.0 = Release|Win32
- {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Debug|Win32.ActiveCfg = Debug|Win32
- {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Debug|Win32.Build.0 = Debug|Win32
- {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Dynamic|Win32.ActiveCfg = Debug|Win32
- {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Dynamic|Win32.Build.0 = Debug|Win32
- {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Release|Win32.ActiveCfg = Release|Win32
- {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Release|Win32.Build.0 = Release|Win32
- {E16D7458-33E2-4332-81BD-423B41B30A64}.Debug|Win32.ActiveCfg = Debug|Win32
- {E16D7458-33E2-4332-81BD-423B41B30A64}.Debug|Win32.Build.0 = Debug|Win32
- {E16D7458-33E2-4332-81BD-423B41B30A64}.Dynamic|Win32.ActiveCfg = Debug|Win32
- {E16D7458-33E2-4332-81BD-423B41B30A64}.Dynamic|Win32.Build.0 = Debug|Win32
- {E16D7458-33E2-4332-81BD-423B41B30A64}.Release|Win32.ActiveCfg = Release|Win32
- {E16D7458-33E2-4332-81BD-423B41B30A64}.Release|Win32.Build.0 = Release|Win32
- {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Debug|Win32.ActiveCfg = Debug|Win32
- {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Debug|Win32.Build.0 = Debug|Win32
- {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Dynamic|Win32.ActiveCfg = Debug|Win32
- {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Dynamic|Win32.Build.0 = Debug|Win32
- {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Release|Win32.ActiveCfg = Release|Win32
- {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Release|Win32.Build.0 = Release|Win32
- {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Debug|Win32.ActiveCfg = Debug|Win32
- {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Debug|Win32.Build.0 = Debug|Win32
- {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Dynamic|Win32.ActiveCfg = Debug|Win32
- {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Dynamic|Win32.Build.0 = Debug|Win32
- {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Release|Win32.ActiveCfg = Release|Win32
- {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Release|Win32.Build.0 = Release|Win32
- {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Debug|Win32.ActiveCfg = Debug|Win32
- {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Debug|Win32.Build.0 = Debug|Win32
- {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Dynamic|Win32.ActiveCfg = Debug|Win32
- {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Dynamic|Win32.Build.0 = Debug|Win32
- {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Release|Win32.ActiveCfg = Release|Win32
- {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Release|Win32.Build.0 = Release|Win32
- {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Debug|Win32.ActiveCfg = Debug|Win32
- {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Debug|Win32.Build.0 = Debug|Win32
- {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Dynamic|Win32.ActiveCfg = Debug|Win32
- {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Dynamic|Win32.Build.0 = Debug|Win32
- {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Release|Win32.ActiveCfg = Release|Win32
- {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
+
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "simple_example", "simple_example\simple_example-vc8.vcproj", "{42889114-58F0-4276-B17E-1DD54515C162}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "volume_example", "volume_example\volume_example-vc8.vcproj", "{3CA757AB-738A-490A-9026-7AD76973E7B2}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "direct3d_example", "direct3d_example\direct3d_example-vc8.vcproj", "{3508F715-2B08-4978-9FAC-78C82D13242E}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Windows Example", "windows_example\windows_example-vc8.vcproj", "{22B03048-FD11-4D7F-88F5-C2628F8B6777}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "opengl_example", "opengl_example\opengl_example-vc8.vcproj", "{266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sdl_example", "sdl_example\sdl_example-vc9.vcproj", "{E16D7458-33E2-4332-81BD-423B41B30A64}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cpp_wrapper_example", "cpp_wrapper_example\cpp_wrapper_example-vc8.vcproj", "{49AC6039-D62B-44EE-9D37-9B4048E6C4B1}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "animation_example", "animation_example\animation_example-vc8.vcproj", "{B5E50718-EC86-4DD6-9AE4-468DA9A0F786}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "override_example", "override_example\override_example-vc8.vcproj", "{D29C126E-DFC5-4C55-B076-96F69AB9D769}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "register_read_example", "register_read_example\register_read_example-vc8.vcproj", "{3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Dynamic|Win32 = Dynamic|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {42889114-58F0-4276-B17E-1DD54515C162}.Debug|Win32.ActiveCfg = Debug|Win32
+ {42889114-58F0-4276-B17E-1DD54515C162}.Debug|Win32.Build.0 = Debug|Win32
+ {42889114-58F0-4276-B17E-1DD54515C162}.Dynamic|Win32.ActiveCfg = Debug|Win32
+ {42889114-58F0-4276-B17E-1DD54515C162}.Dynamic|Win32.Build.0 = Debug|Win32
+ {42889114-58F0-4276-B17E-1DD54515C162}.Release|Win32.ActiveCfg = Release|Win32
+ {42889114-58F0-4276-B17E-1DD54515C162}.Release|Win32.Build.0 = Release|Win32
+ {3CA757AB-738A-490A-9026-7AD76973E7B2}.Debug|Win32.ActiveCfg = Debug|Win32
+ {3CA757AB-738A-490A-9026-7AD76973E7B2}.Debug|Win32.Build.0 = Debug|Win32
+ {3CA757AB-738A-490A-9026-7AD76973E7B2}.Dynamic|Win32.ActiveCfg = Debug|Win32
+ {3CA757AB-738A-490A-9026-7AD76973E7B2}.Dynamic|Win32.Build.0 = Debug|Win32
+ {3CA757AB-738A-490A-9026-7AD76973E7B2}.Release|Win32.ActiveCfg = Release|Win32
+ {3CA757AB-738A-490A-9026-7AD76973E7B2}.Release|Win32.Build.0 = Release|Win32
+ {3508F715-2B08-4978-9FAC-78C82D13242E}.Debug|Win32.ActiveCfg = Debug|Win32
+ {3508F715-2B08-4978-9FAC-78C82D13242E}.Debug|Win32.Build.0 = Debug|Win32
+ {3508F715-2B08-4978-9FAC-78C82D13242E}.Dynamic|Win32.ActiveCfg = Debug|Win32
+ {3508F715-2B08-4978-9FAC-78C82D13242E}.Dynamic|Win32.Build.0 = Debug|Win32
+ {3508F715-2B08-4978-9FAC-78C82D13242E}.Release|Win32.ActiveCfg = Release|Win32
+ {3508F715-2B08-4978-9FAC-78C82D13242E}.Release|Win32.Build.0 = Release|Win32
+ {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Debug|Win32.ActiveCfg = Debug|Win32
+ {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Debug|Win32.Build.0 = Debug|Win32
+ {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Dynamic|Win32.ActiveCfg = Dynamic|Win32
+ {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Dynamic|Win32.Build.0 = Dynamic|Win32
+ {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Release|Win32.ActiveCfg = Release|Win32
+ {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Release|Win32.Build.0 = Release|Win32
+ {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Debug|Win32.ActiveCfg = Debug|Win32
+ {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Debug|Win32.Build.0 = Debug|Win32
+ {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Dynamic|Win32.ActiveCfg = Debug|Win32
+ {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Dynamic|Win32.Build.0 = Debug|Win32
+ {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Release|Win32.ActiveCfg = Release|Win32
+ {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Release|Win32.Build.0 = Release|Win32
+ {E16D7458-33E2-4332-81BD-423B41B30A64}.Debug|Win32.ActiveCfg = Debug|Win32
+ {E16D7458-33E2-4332-81BD-423B41B30A64}.Debug|Win32.Build.0 = Debug|Win32
+ {E16D7458-33E2-4332-81BD-423B41B30A64}.Dynamic|Win32.ActiveCfg = Debug|Win32
+ {E16D7458-33E2-4332-81BD-423B41B30A64}.Dynamic|Win32.Build.0 = Debug|Win32
+ {E16D7458-33E2-4332-81BD-423B41B30A64}.Release|Win32.ActiveCfg = Release|Win32
+ {E16D7458-33E2-4332-81BD-423B41B30A64}.Release|Win32.Build.0 = Release|Win32
+ {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Debug|Win32.ActiveCfg = Debug|Win32
+ {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Debug|Win32.Build.0 = Debug|Win32
+ {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Dynamic|Win32.ActiveCfg = Debug|Win32
+ {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Dynamic|Win32.Build.0 = Debug|Win32
+ {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Release|Win32.ActiveCfg = Release|Win32
+ {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Release|Win32.Build.0 = Release|Win32
+ {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Debug|Win32.ActiveCfg = Debug|Win32
+ {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Debug|Win32.Build.0 = Debug|Win32
+ {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Dynamic|Win32.ActiveCfg = Debug|Win32
+ {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Dynamic|Win32.Build.0 = Debug|Win32
+ {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Release|Win32.ActiveCfg = Release|Win32
+ {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Release|Win32.Build.0 = Release|Win32
+ {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Debug|Win32.ActiveCfg = Debug|Win32
+ {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Debug|Win32.Build.0 = Debug|Win32
+ {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Dynamic|Win32.ActiveCfg = Debug|Win32
+ {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Dynamic|Win32.Build.0 = Debug|Win32
+ {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Release|Win32.ActiveCfg = Release|Win32
+ {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Release|Win32.Build.0 = Release|Win32
+ {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Debug|Win32.ActiveCfg = Debug|Win32
+ {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Debug|Win32.Build.0 = Debug|Win32
+ {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Dynamic|Win32.ActiveCfg = Debug|Win32
+ {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Dynamic|Win32.Build.0 = Debug|Win32
+ {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Release|Win32.ActiveCfg = Release|Win32
+ {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/DevIL/examples/Examples-vc9.sln b/DevIL/examples/Examples-vc9.sln
index 8f4ced00..2e53953e 100755
--- a/DevIL/examples/Examples-vc9.sln
+++ b/DevIL/examples/Examples-vc9.sln
@@ -1,95 +1,95 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "simple_example", "simple_example\simple_example-vc9.vcproj", "{42889114-58F0-4276-B17E-1DD54515C162}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "volume_example", "volume_example\volume_example-vc9.vcproj", "{3CA757AB-738A-490A-9026-7AD76973E7B2}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "direct3d_example", "direct3d_example\direct3d_example-vc9.vcproj", "{3508F715-2B08-4978-9FAC-78C82D13242E}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Windows Example", "windows_example\windows_example-vc9.vcproj", "{22B03048-FD11-4D7F-88F5-C2628F8B6777}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "opengl_example", "opengl_example\opengl_example-vc9.vcproj", "{266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sdl_example", "sdl_example\sdl_example-vc9.vcproj", "{E16D7458-33E2-4332-81BD-423B41B30A64}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cpp_wrapper_example", "cpp_wrapper_example\cpp_wrapper_example-vc9.vcproj", "{49AC6039-D62B-44EE-9D37-9B4048E6C4B1}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "animation_example", "animation_example\animation_example-vc9.vcproj", "{B5E50718-EC86-4DD6-9AE4-468DA9A0F786}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "override_example", "override_example\override_example-vc9.vcproj", "{D29C126E-DFC5-4C55-B076-96F69AB9D769}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "register_read_example", "register_read_example\register_read_example-vc9.vcproj", "{3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Dynamic|Win32 = Dynamic|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {42889114-58F0-4276-B17E-1DD54515C162}.Debug|Win32.ActiveCfg = Debug|Win32
- {42889114-58F0-4276-B17E-1DD54515C162}.Debug|Win32.Build.0 = Debug|Win32
- {42889114-58F0-4276-B17E-1DD54515C162}.Dynamic|Win32.ActiveCfg = Debug|Win32
- {42889114-58F0-4276-B17E-1DD54515C162}.Dynamic|Win32.Build.0 = Debug|Win32
- {42889114-58F0-4276-B17E-1DD54515C162}.Release|Win32.ActiveCfg = Release|Win32
- {42889114-58F0-4276-B17E-1DD54515C162}.Release|Win32.Build.0 = Release|Win32
- {3CA757AB-738A-490A-9026-7AD76973E7B2}.Debug|Win32.ActiveCfg = Debug|Win32
- {3CA757AB-738A-490A-9026-7AD76973E7B2}.Debug|Win32.Build.0 = Debug|Win32
- {3CA757AB-738A-490A-9026-7AD76973E7B2}.Dynamic|Win32.ActiveCfg = Debug|Win32
- {3CA757AB-738A-490A-9026-7AD76973E7B2}.Dynamic|Win32.Build.0 = Debug|Win32
- {3CA757AB-738A-490A-9026-7AD76973E7B2}.Release|Win32.ActiveCfg = Release|Win32
- {3CA757AB-738A-490A-9026-7AD76973E7B2}.Release|Win32.Build.0 = Release|Win32
- {3508F715-2B08-4978-9FAC-78C82D13242E}.Debug|Win32.ActiveCfg = Debug|Win32
- {3508F715-2B08-4978-9FAC-78C82D13242E}.Debug|Win32.Build.0 = Debug|Win32
- {3508F715-2B08-4978-9FAC-78C82D13242E}.Dynamic|Win32.ActiveCfg = Debug|Win32
- {3508F715-2B08-4978-9FAC-78C82D13242E}.Dynamic|Win32.Build.0 = Debug|Win32
- {3508F715-2B08-4978-9FAC-78C82D13242E}.Release|Win32.ActiveCfg = Release|Win32
- {3508F715-2B08-4978-9FAC-78C82D13242E}.Release|Win32.Build.0 = Release|Win32
- {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Debug|Win32.ActiveCfg = Debug|Win32
- {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Debug|Win32.Build.0 = Debug|Win32
- {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Dynamic|Win32.ActiveCfg = Dynamic|Win32
- {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Dynamic|Win32.Build.0 = Dynamic|Win32
- {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Release|Win32.ActiveCfg = Release|Win32
- {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Release|Win32.Build.0 = Release|Win32
- {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Debug|Win32.ActiveCfg = Debug|Win32
- {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Debug|Win32.Build.0 = Debug|Win32
- {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Dynamic|Win32.ActiveCfg = Debug|Win32
- {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Dynamic|Win32.Build.0 = Debug|Win32
- {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Release|Win32.ActiveCfg = Release|Win32
- {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Release|Win32.Build.0 = Release|Win32
- {E16D7458-33E2-4332-81BD-423B41B30A64}.Debug|Win32.ActiveCfg = Debug|Win32
- {E16D7458-33E2-4332-81BD-423B41B30A64}.Debug|Win32.Build.0 = Debug|Win32
- {E16D7458-33E2-4332-81BD-423B41B30A64}.Dynamic|Win32.ActiveCfg = Debug|Win32
- {E16D7458-33E2-4332-81BD-423B41B30A64}.Dynamic|Win32.Build.0 = Debug|Win32
- {E16D7458-33E2-4332-81BD-423B41B30A64}.Release|Win32.ActiveCfg = Release|Win32
- {E16D7458-33E2-4332-81BD-423B41B30A64}.Release|Win32.Build.0 = Release|Win32
- {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Debug|Win32.ActiveCfg = Debug|Win32
- {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Debug|Win32.Build.0 = Debug|Win32
- {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Dynamic|Win32.ActiveCfg = Debug|Win32
- {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Dynamic|Win32.Build.0 = Debug|Win32
- {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Release|Win32.ActiveCfg = Release|Win32
- {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Release|Win32.Build.0 = Release|Win32
- {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Debug|Win32.ActiveCfg = Debug|Win32
- {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Debug|Win32.Build.0 = Debug|Win32
- {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Dynamic|Win32.ActiveCfg = Debug|Win32
- {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Dynamic|Win32.Build.0 = Debug|Win32
- {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Release|Win32.ActiveCfg = Release|Win32
- {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Release|Win32.Build.0 = Release|Win32
- {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Debug|Win32.ActiveCfg = Debug|Win32
- {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Debug|Win32.Build.0 = Debug|Win32
- {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Dynamic|Win32.ActiveCfg = Debug|Win32
- {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Dynamic|Win32.Build.0 = Debug|Win32
- {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Release|Win32.ActiveCfg = Release|Win32
- {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Release|Win32.Build.0 = Release|Win32
- {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Debug|Win32.ActiveCfg = Debug|Win32
- {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Debug|Win32.Build.0 = Debug|Win32
- {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Dynamic|Win32.ActiveCfg = Debug|Win32
- {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Dynamic|Win32.Build.0 = Debug|Win32
- {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Release|Win32.ActiveCfg = Release|Win32
- {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
+
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 2008
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "simple_example", "simple_example\simple_example-vc9.vcproj", "{42889114-58F0-4276-B17E-1DD54515C162}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "volume_example", "volume_example\volume_example-vc9.vcproj", "{3CA757AB-738A-490A-9026-7AD76973E7B2}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "direct3d_example", "direct3d_example\direct3d_example-vc9.vcproj", "{3508F715-2B08-4978-9FAC-78C82D13242E}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Windows Example", "windows_example\windows_example-vc9.vcproj", "{22B03048-FD11-4D7F-88F5-C2628F8B6777}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "opengl_example", "opengl_example\opengl_example-vc9.vcproj", "{266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sdl_example", "sdl_example\sdl_example-vc9.vcproj", "{E16D7458-33E2-4332-81BD-423B41B30A64}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cpp_wrapper_example", "cpp_wrapper_example\cpp_wrapper_example-vc9.vcproj", "{49AC6039-D62B-44EE-9D37-9B4048E6C4B1}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "animation_example", "animation_example\animation_example-vc9.vcproj", "{B5E50718-EC86-4DD6-9AE4-468DA9A0F786}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "override_example", "override_example\override_example-vc9.vcproj", "{D29C126E-DFC5-4C55-B076-96F69AB9D769}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "register_read_example", "register_read_example\register_read_example-vc9.vcproj", "{3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Dynamic|Win32 = Dynamic|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {42889114-58F0-4276-B17E-1DD54515C162}.Debug|Win32.ActiveCfg = Debug|Win32
+ {42889114-58F0-4276-B17E-1DD54515C162}.Debug|Win32.Build.0 = Debug|Win32
+ {42889114-58F0-4276-B17E-1DD54515C162}.Dynamic|Win32.ActiveCfg = Debug|Win32
+ {42889114-58F0-4276-B17E-1DD54515C162}.Dynamic|Win32.Build.0 = Debug|Win32
+ {42889114-58F0-4276-B17E-1DD54515C162}.Release|Win32.ActiveCfg = Release|Win32
+ {42889114-58F0-4276-B17E-1DD54515C162}.Release|Win32.Build.0 = Release|Win32
+ {3CA757AB-738A-490A-9026-7AD76973E7B2}.Debug|Win32.ActiveCfg = Debug|Win32
+ {3CA757AB-738A-490A-9026-7AD76973E7B2}.Debug|Win32.Build.0 = Debug|Win32
+ {3CA757AB-738A-490A-9026-7AD76973E7B2}.Dynamic|Win32.ActiveCfg = Debug|Win32
+ {3CA757AB-738A-490A-9026-7AD76973E7B2}.Dynamic|Win32.Build.0 = Debug|Win32
+ {3CA757AB-738A-490A-9026-7AD76973E7B2}.Release|Win32.ActiveCfg = Release|Win32
+ {3CA757AB-738A-490A-9026-7AD76973E7B2}.Release|Win32.Build.0 = Release|Win32
+ {3508F715-2B08-4978-9FAC-78C82D13242E}.Debug|Win32.ActiveCfg = Debug|Win32
+ {3508F715-2B08-4978-9FAC-78C82D13242E}.Debug|Win32.Build.0 = Debug|Win32
+ {3508F715-2B08-4978-9FAC-78C82D13242E}.Dynamic|Win32.ActiveCfg = Debug|Win32
+ {3508F715-2B08-4978-9FAC-78C82D13242E}.Dynamic|Win32.Build.0 = Debug|Win32
+ {3508F715-2B08-4978-9FAC-78C82D13242E}.Release|Win32.ActiveCfg = Release|Win32
+ {3508F715-2B08-4978-9FAC-78C82D13242E}.Release|Win32.Build.0 = Release|Win32
+ {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Debug|Win32.ActiveCfg = Debug|Win32
+ {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Debug|Win32.Build.0 = Debug|Win32
+ {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Dynamic|Win32.ActiveCfg = Dynamic|Win32
+ {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Dynamic|Win32.Build.0 = Dynamic|Win32
+ {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Release|Win32.ActiveCfg = Release|Win32
+ {22B03048-FD11-4D7F-88F5-C2628F8B6777}.Release|Win32.Build.0 = Release|Win32
+ {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Debug|Win32.ActiveCfg = Debug|Win32
+ {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Debug|Win32.Build.0 = Debug|Win32
+ {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Dynamic|Win32.ActiveCfg = Debug|Win32
+ {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Dynamic|Win32.Build.0 = Debug|Win32
+ {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Release|Win32.ActiveCfg = Release|Win32
+ {266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}.Release|Win32.Build.0 = Release|Win32
+ {E16D7458-33E2-4332-81BD-423B41B30A64}.Debug|Win32.ActiveCfg = Debug|Win32
+ {E16D7458-33E2-4332-81BD-423B41B30A64}.Debug|Win32.Build.0 = Debug|Win32
+ {E16D7458-33E2-4332-81BD-423B41B30A64}.Dynamic|Win32.ActiveCfg = Debug|Win32
+ {E16D7458-33E2-4332-81BD-423B41B30A64}.Dynamic|Win32.Build.0 = Debug|Win32
+ {E16D7458-33E2-4332-81BD-423B41B30A64}.Release|Win32.ActiveCfg = Release|Win32
+ {E16D7458-33E2-4332-81BD-423B41B30A64}.Release|Win32.Build.0 = Release|Win32
+ {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Debug|Win32.ActiveCfg = Debug|Win32
+ {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Debug|Win32.Build.0 = Debug|Win32
+ {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Dynamic|Win32.ActiveCfg = Debug|Win32
+ {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Dynamic|Win32.Build.0 = Debug|Win32
+ {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Release|Win32.ActiveCfg = Release|Win32
+ {49AC6039-D62B-44EE-9D37-9B4048E6C4B1}.Release|Win32.Build.0 = Release|Win32
+ {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Debug|Win32.ActiveCfg = Debug|Win32
+ {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Debug|Win32.Build.0 = Debug|Win32
+ {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Dynamic|Win32.ActiveCfg = Debug|Win32
+ {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Dynamic|Win32.Build.0 = Debug|Win32
+ {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Release|Win32.ActiveCfg = Release|Win32
+ {B5E50718-EC86-4DD6-9AE4-468DA9A0F786}.Release|Win32.Build.0 = Release|Win32
+ {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Debug|Win32.ActiveCfg = Debug|Win32
+ {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Debug|Win32.Build.0 = Debug|Win32
+ {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Dynamic|Win32.ActiveCfg = Debug|Win32
+ {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Dynamic|Win32.Build.0 = Debug|Win32
+ {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Release|Win32.ActiveCfg = Release|Win32
+ {D29C126E-DFC5-4C55-B076-96F69AB9D769}.Release|Win32.Build.0 = Release|Win32
+ {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Debug|Win32.ActiveCfg = Debug|Win32
+ {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Debug|Win32.Build.0 = Debug|Win32
+ {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Dynamic|Win32.ActiveCfg = Debug|Win32
+ {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Dynamic|Win32.Build.0 = Debug|Win32
+ {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Release|Win32.ActiveCfg = Release|Win32
+ {3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/DevIL/examples/animation_example/AnimTest.rc b/DevIL/examples/animation_example/AnimTest.rc
index 2cc6902c..4c2a9dc9 100644
--- a/DevIL/examples/animation_example/AnimTest.rc
+++ b/DevIL/examples/animation_example/AnimTest.rc
@@ -1,109 +1,109 @@
-//Microsoft Developer Studio generated resource script.
-//
-#include "resource.h"
-
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-#define APSTUDIO_HIDDEN_SYMBOLS
-#include "windows.h"
-#undef APSTUDIO_HIDDEN_SYMBOLS
-#include "resource.h"
-
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
-/////////////////////////////////////////////////////////////////////////////
-// English (U.S.) resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-#ifdef _WIN32
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
-#pragma code_page(1252)
-#endif //_WIN32
-
-#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// TEXTINCLUDE
-//
-
-2 TEXTINCLUDE DISCARDABLE
-BEGIN
- "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
- "#include ""windows.h""\r\n"
- "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
- "#include ""resource.h""\r\n"
- "\0"
-END
-
-3 TEXTINCLUDE DISCARDABLE
-BEGIN
- "\r\n"
- "\0"
-END
-
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
- "resource.h\0"
-END
-
-#endif // APSTUDIO_INVOKED
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Menu
-//
-
-IDR_MENU1 MENU DISCARDABLE
-BEGIN
- POPUP "&File"
- BEGIN
- MENUITEM "&Open...\tCtrl+O", ID_FILE_LOAD
- MENUITEM "E&xit\tEsc", ID_FILE_EXIT
- END
- POPUP "&Edit"
- BEGIN
- MENUITEM "&Pause", ID_EDIT_PAUSE
- MENUITEM "&Resume", ID_EDIT_RESUME
- END
-END
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Icon
-//
-
-// Icon with lowest ID value placed first to ensure application icon
-// remains consistent on all systems.
-IDI_ICON1 ICON DISCARDABLE "OpenIL.ico"
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Accelerator
-//
-
-IDR_MENU1 ACCELERATORS DISCARDABLE
-BEGIN
- "O", ID_FILE_LOAD, VIRTKEY, CONTROL, NOINVERT
-END
-
-#endif // English (U.S.) resources
-/////////////////////////////////////////////////////////////////////////////
-
-
-
-#ifndef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 3 resource.
-//
-
-
-/////////////////////////////////////////////////////////////////////////////
-#endif // not APSTUDIO_INVOKED
-
+//Microsoft Developer Studio generated resource script.
+//
+#include "resource.h"
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+#define APSTUDIO_HIDDEN_SYMBOLS
+#include "windows.h"
+#undef APSTUDIO_HIDDEN_SYMBOLS
+#include "resource.h"
+
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// English (U.S.) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
+#ifdef _WIN32
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+#pragma code_page(1252)
+#endif //_WIN32
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+2 TEXTINCLUDE DISCARDABLE
+BEGIN
+ "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
+ "#include ""windows.h""\r\n"
+ "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
+ "#include ""resource.h""\r\n"
+ "\0"
+END
+
+3 TEXTINCLUDE DISCARDABLE
+BEGIN
+ "\r\n"
+ "\0"
+END
+
+1 TEXTINCLUDE DISCARDABLE
+BEGIN
+ "resource.h\0"
+END
+
+#endif // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Menu
+//
+
+IDR_MENU1 MENU DISCARDABLE
+BEGIN
+ POPUP "&File"
+ BEGIN
+ MENUITEM "&Open...\tCtrl+O", ID_FILE_LOAD
+ MENUITEM "E&xit\tEsc", ID_FILE_EXIT
+ END
+ POPUP "&Edit"
+ BEGIN
+ MENUITEM "&Pause", ID_EDIT_PAUSE
+ MENUITEM "&Resume", ID_EDIT_RESUME
+ END
+END
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Icon
+//
+
+// Icon with lowest ID value placed first to ensure application icon
+// remains consistent on all systems.
+IDI_ICON1 ICON DISCARDABLE "OpenIL.ico"
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Accelerator
+//
+
+IDR_MENU1 ACCELERATORS DISCARDABLE
+BEGIN
+ "O", ID_FILE_LOAD, VIRTKEY, CONTROL, NOINVERT
+END
+
+#endif // English (U.S.) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
+
diff --git a/DevIL/examples/animation_example/animation_example-vc8.vcproj b/DevIL/examples/animation_example/animation_example-vc8.vcproj
index 9702fe27..4e4abddb 100755
--- a/DevIL/examples/animation_example/animation_example-vc8.vcproj
+++ b/DevIL/examples/animation_example/animation_example-vc8.vcproj
@@ -1,203 +1,203 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="animation_example"
- ProjectGUID="{B5E50718-EC86-4DD6-9AE4-468DA9A0F786}"
- RootNamespace="animation_example"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\AnimTest.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- <File
- RelativePath=".\AnimTest.rc"
- >
- </File>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="animation_example"
+ ProjectGUID="{B5E50718-EC86-4DD6-9AE4-468DA9A0F786}"
+ RootNamespace="animation_example"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="2"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\AnimTest.cpp"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ <File
+ RelativePath=".\AnimTest.rc"
+ >
+ </File>
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/animation_example/animation_example-vc9.vcproj b/DevIL/examples/animation_example/animation_example-vc9.vcproj
index 357f516c..f2aea37d 100755
--- a/DevIL/examples/animation_example/animation_example-vc9.vcproj
+++ b/DevIL/examples/animation_example/animation_example-vc9.vcproj
@@ -1,203 +1,203 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="animation_example"
- ProjectGUID="{B5E50718-EC86-4DD6-9AE4-468DA9A0F786}"
- RootNamespace="animation_example"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\AnimTest.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- <File
- RelativePath=".\AnimTest.rc"
- >
- </File>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="animation_example"
+ ProjectGUID="{B5E50718-EC86-4DD6-9AE4-468DA9A0F786}"
+ RootNamespace="animation_example"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="2"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\AnimTest.cpp"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ <File
+ RelativePath=".\AnimTest.rc"
+ >
+ </File>
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/cpp_wrapper_example/cpp_wrapper_example-vc8.vcproj b/DevIL/examples/cpp_wrapper_example/cpp_wrapper_example-vc8.vcproj
index 3042c0cf..c113b7c7 100755
--- a/DevIL/examples/cpp_wrapper_example/cpp_wrapper_example-vc8.vcproj
+++ b/DevIL/examples/cpp_wrapper_example/cpp_wrapper_example-vc8.vcproj
@@ -1,199 +1,199 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="cpp_wrapper_example"
- ProjectGUID="{49AC6039-D62B-44EE-9D37-9B4048E6C4B1}"
- RootNamespace="cpp_wrapper_example"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\il_wrap.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="cpp_wrapper_example"
+ ProjectGUID="{49AC6039-D62B-44EE-9D37-9B4048E6C4B1}"
+ RootNamespace="cpp_wrapper_example"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\il_wrap.cpp"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/cpp_wrapper_example/cpp_wrapper_example-vc9.vcproj b/DevIL/examples/cpp_wrapper_example/cpp_wrapper_example-vc9.vcproj
index 8308d792..04e54dc6 100755
--- a/DevIL/examples/cpp_wrapper_example/cpp_wrapper_example-vc9.vcproj
+++ b/DevIL/examples/cpp_wrapper_example/cpp_wrapper_example-vc9.vcproj
@@ -1,199 +1,199 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="cpp_wrapper_example"
- ProjectGUID="{49AC6039-D62B-44EE-9D37-9B4048E6C4B1}"
- RootNamespace="cpp_wrapper_example"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\il_wrap.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="cpp_wrapper_example"
+ ProjectGUID="{49AC6039-D62B-44EE-9D37-9B4048E6C4B1}"
+ RootNamespace="cpp_wrapper_example"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\il_wrap.cpp"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/direct3d_example/direct3d_example-vc8.vcproj b/DevIL/examples/direct3d_example/direct3d_example-vc8.vcproj
index 22c78062..5b001f68 100755
--- a/DevIL/examples/direct3d_example/direct3d_example-vc8.vcproj
+++ b/DevIL/examples/direct3d_example/direct3d_example-vc8.vcproj
@@ -1,199 +1,199 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="direct3d_example"
- ProjectGUID="{3508F715-2B08-4978-9FAC-78C82D13242E}"
- RootNamespace="direct3d_example"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\d3dtest.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="direct3d_example"
+ ProjectGUID="{3508F715-2B08-4978-9FAC-78C82D13242E}"
+ RootNamespace="direct3d_example"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="2"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\d3dtest.cpp"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/direct3d_example/direct3d_example-vc9.vcproj b/DevIL/examples/direct3d_example/direct3d_example-vc9.vcproj
index 04a8f5ab..f05aa102 100755
--- a/DevIL/examples/direct3d_example/direct3d_example-vc9.vcproj
+++ b/DevIL/examples/direct3d_example/direct3d_example-vc9.vcproj
@@ -1,199 +1,199 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="direct3d_example"
- ProjectGUID="{3508F715-2B08-4978-9FAC-78C82D13242E}"
- RootNamespace="direct3d_example"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\d3dtest.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="direct3d_example"
+ ProjectGUID="{3508F715-2B08-4978-9FAC-78C82D13242E}"
+ RootNamespace="direct3d_example"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="2"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\d3dtest.cpp"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/opengl_example/opengl_example-vc8.vcproj b/DevIL/examples/opengl_example/opengl_example-vc8.vcproj
index 57c4d0b0..b5b60ff0 100755
--- a/DevIL/examples/opengl_example/opengl_example-vc8.vcproj
+++ b/DevIL/examples/opengl_example/opengl_example-vc8.vcproj
@@ -1,203 +1,203 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="opengl_example"
- ProjectGUID="{266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}"
- RootNamespace="opengl_example"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\gltest.c"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\gltest.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="opengl_example"
+ ProjectGUID="{266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}"
+ RootNamespace="opengl_example"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\gltest.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath=".\gltest.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/opengl_example/opengl_example-vc9.vcproj b/DevIL/examples/opengl_example/opengl_example-vc9.vcproj
index 4e91ba82..566712c2 100755
--- a/DevIL/examples/opengl_example/opengl_example-vc9.vcproj
+++ b/DevIL/examples/opengl_example/opengl_example-vc9.vcproj
@@ -1,203 +1,203 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="opengl_example"
- ProjectGUID="{266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}"
- RootNamespace="opengl_example"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\gltest.c"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\gltest.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="opengl_example"
+ ProjectGUID="{266E2C34-E2E1-4CC2-A90A-54A3316FBF3E}"
+ RootNamespace="opengl_example"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\gltest.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath=".\gltest.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/override_example/override_example-vc8.vcproj b/DevIL/examples/override_example/override_example-vc8.vcproj
index 0871a75b..4485325f 100755
--- a/DevIL/examples/override_example/override_example-vc8.vcproj
+++ b/DevIL/examples/override_example/override_example-vc8.vcproj
@@ -1,195 +1,195 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="override_example"
- ProjectGUID="{D29C126E-DFC5-4C55-B076-96F69AB9D769}"
- RootNamespace="override_example"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="override_example"
+ ProjectGUID="{D29C126E-DFC5-4C55-B076-96F69AB9D769}"
+ RootNamespace="override_example"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/override_example/override_example-vc9.vcproj b/DevIL/examples/override_example/override_example-vc9.vcproj
index fca66d13..7c14a52b 100755
--- a/DevIL/examples/override_example/override_example-vc9.vcproj
+++ b/DevIL/examples/override_example/override_example-vc9.vcproj
@@ -1,195 +1,195 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="override_example"
- ProjectGUID="{D29C126E-DFC5-4C55-B076-96F69AB9D769}"
- RootNamespace="override_example"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="override_example"
+ ProjectGUID="{D29C126E-DFC5-4C55-B076-96F69AB9D769}"
+ RootNamespace="override_example"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/register_read_example/register_read_example-vc8.vcproj b/DevIL/examples/register_read_example/register_read_example-vc8.vcproj
index 0966e922..4307af63 100755
--- a/DevIL/examples/register_read_example/register_read_example-vc8.vcproj
+++ b/DevIL/examples/register_read_example/register_read_example-vc8.vcproj
@@ -1,195 +1,195 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="register_read_example"
- ProjectGUID="{3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}"
- RootNamespace="register_read_example"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="register_read_example"
+ ProjectGUID="{3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}"
+ RootNamespace="register_read_example"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/register_read_example/register_read_example-vc9.vcproj b/DevIL/examples/register_read_example/register_read_example-vc9.vcproj
index 56e9eb64..fe5c21c3 100755
--- a/DevIL/examples/register_read_example/register_read_example-vc9.vcproj
+++ b/DevIL/examples/register_read_example/register_read_example-vc9.vcproj
@@ -1,195 +1,195 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="register_read_example"
- ProjectGUID="{3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}"
- RootNamespace="register_read_example"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="register_read_example"
+ ProjectGUID="{3FF5B3CA-74D6-40E0-BC75-BBEFFB9A4CEE}"
+ RootNamespace="register_read_example"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/sdl_example/sdl_example-vc8.vcproj b/DevIL/examples/sdl_example/sdl_example-vc8.vcproj
index 99830c9f..86bfe341 100755
--- a/DevIL/examples/sdl_example/sdl_example-vc8.vcproj
+++ b/DevIL/examples/sdl_example/sdl_example-vc8.vcproj
@@ -1,199 +1,199 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="sdl_example"
- ProjectGUID="{E16D7458-33E2-4332-81BD-423B41B30A64}"
- RootNamespace="sdl_example"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib sdl.lib sdlmain.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib sdl.lib sdlmain.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\sdl_test.c"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="sdl_example"
+ ProjectGUID="{E16D7458-33E2-4332-81BD-423B41B30A64}"
+ RootNamespace="sdl_example"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib sdl.lib sdlmain.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib sdl.lib sdlmain.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\sdl_test.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/sdl_example/sdl_example-vc9.vcproj b/DevIL/examples/sdl_example/sdl_example-vc9.vcproj
index 4a21ab1d..c109d2cb 100755
--- a/DevIL/examples/sdl_example/sdl_example-vc9.vcproj
+++ b/DevIL/examples/sdl_example/sdl_example-vc9.vcproj
@@ -1,199 +1,199 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="sdl_example"
- ProjectGUID="{E16D7458-33E2-4332-81BD-423B41B30A64}"
- RootNamespace="sdl_example"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib sdl.lib sdlmain.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib sdl.lib sdlmain.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\sdl_test.c"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="sdl_example"
+ ProjectGUID="{E16D7458-33E2-4332-81BD-423B41B30A64}"
+ RootNamespace="sdl_example"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib sdl.lib sdlmain.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib sdl.lib sdlmain.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\sdl_test.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/simple_example/simple_example-vc8.vcproj b/DevIL/examples/simple_example/simple_example-vc8.vcproj
index f22eb7b8..da9ddb14 100755
--- a/DevIL/examples/simple_example/simple_example-vc8.vcproj
+++ b/DevIL/examples/simple_example/simple_example-vc8.vcproj
@@ -1,199 +1,199 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="simple_example"
- ProjectGUID="{42889114-58F0-4276-B17E-1DD54515C162}"
- RootNamespace="simple_example"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\simple.c"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="simple_example"
+ ProjectGUID="{42889114-58F0-4276-B17E-1DD54515C162}"
+ RootNamespace="simple_example"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\simple.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/simple_example/simple_example-vc9.vcproj b/DevIL/examples/simple_example/simple_example-vc9.vcproj
index 6006f243..0d769533 100755
--- a/DevIL/examples/simple_example/simple_example-vc9.vcproj
+++ b/DevIL/examples/simple_example/simple_example-vc9.vcproj
@@ -1,199 +1,199 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="simple_example"
- ProjectGUID="{42889114-58F0-4276-B17E-1DD54515C162}"
- RootNamespace="simple_example"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\simple.c"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="simple_example"
+ ProjectGUID="{42889114-58F0-4276-B17E-1DD54515C162}"
+ RootNamespace="simple_example"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\simple.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/volume_example/volume_example-vc8.vcproj b/DevIL/examples/volume_example/volume_example-vc8.vcproj
index 61cdbf29..4383f68f 100755
--- a/DevIL/examples/volume_example/volume_example-vc8.vcproj
+++ b/DevIL/examples/volume_example/volume_example-vc8.vcproj
@@ -1,203 +1,203 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="volume_example"
- ProjectGUID="{3CA757AB-738A-490A-9026-7AD76973E7B2}"
- RootNamespace="volume_example"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\3dtest.c"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\3dtest.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="volume_example"
+ ProjectGUID="{3CA757AB-738A-490A-9026-7AD76973E7B2}"
+ RootNamespace="volume_example"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\3dtest.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath=".\3dtest.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/volume_example/volume_example-vc9.vcproj b/DevIL/examples/volume_example/volume_example-vc9.vcproj
index 47240017..ecc9c8fb 100755
--- a/DevIL/examples/volume_example/volume_example-vc9.vcproj
+++ b/DevIL/examples/volume_example/volume_example-vc9.vcproj
@@ -1,203 +1,203 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="volume_example"
- ProjectGUID="{3CA757AB-738A-490A-9026-7AD76973E7B2}"
- RootNamespace="volume_example"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="2"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\3dtest.c"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\3dtest.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="volume_example"
+ ProjectGUID="{3CA757AB-738A-490A-9026-7AD76973E7B2}"
+ RootNamespace="volume_example"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\3dtest.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath=".\3dtest.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/windows_example/WindowsTest.vcproj b/DevIL/examples/windows_example/WindowsTest.vcproj
index 335b1226..9130fcdc 100644
--- a/DevIL/examples/windows_example/WindowsTest.vcproj
+++ b/DevIL/examples/windows_example/WindowsTest.vcproj
@@ -1,1576 +1,1576 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="WindowsTest"
- ProjectGUID="{DEA982DD-5797-4D77-A33A-367D0395612B}"
- RootNamespace="WindowsTest"
- TargetFrameworkVersion="131072"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- <Platform
- Name="x64"
- />
- <Platform
- Name="Pocket PC 2003 (ARMV4)"
- />
- <Platform
- Name="Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
- />
- <Platform
- Name="Windows Mobile 5.0 Smartphone SDK (ARMV4I)"
- />
- <Platform
- Name="Smartphone 2003 (ARMV4)"
- />
- <Platform
- Name="Windows Mobile 6 Professional SDK (ARMV4I)"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory=".\../bin"
- IntermediateDirectory=".\obj"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="NDEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\../bin/WindowsTest.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
- Optimization="2"
- InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="../../include"
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
- StringPooling="true"
- RuntimeLibrary="0"
- EnableFunctionLevelLinking="true"
- PrecompiledHeaderFile=".\obj/WindowsTest.pch"
- AssemblerListingLocation=".\obj/"
- ObjectFile=".\obj/"
- ProgramDataBaseFileName=".\obj/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- OutputFile=".\../bin/WindowsTest.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
- ProgramDatabaseFile=".\../bin/WindowsTest.pdb"
- SubSystem="2"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|x64"
- OutputDirectory="$(PlatformName)\$(ConfigurationName)"
- IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="NDEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="3"
- TypeLibraryName=".\../bin/WindowsTest.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
- Optimization="2"
- InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="../../include"
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
- StringPooling="true"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- PrecompiledHeaderFile=".\obj/WindowsTest.pch"
- AssemblerListingLocation=".\obj/"
- ObjectFile=".\obj/"
- ProgramDataBaseFileName=".\obj/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- OutputFile=".\../bin/WindowsTest.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories=""
- ProgramDatabaseFile=".\../bin/WindowsTest.pdb"
- SubSystem="2"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="17"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Pocket PC 2003 (ARMV4)"
- OutputDirectory="Pocket PC 2003 (ARMV4)\$(ConfigurationName)"
- IntermediateDirectory="Pocket PC 2003 (ARMV4)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="NDEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\../bin/WindowsTest.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- ExecutionBucket="7"
- AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
- Optimization="2"
- InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="../../include"
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
- StringPooling="true"
- RuntimeLibrary="0"
- EnableFunctionLevelLinking="true"
- PrecompiledHeaderFile=".\obj/WindowsTest.pch"
- AssemblerListingLocation=".\obj/"
- ObjectFile=".\obj/"
- ProgramDataBaseFileName=".\obj/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- OutputFile=".\../bin/WindowsTest.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
- ProgramDatabaseFile=".\../bin/WindowsTest.pdb"
- SubSystem="2"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="0"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCCodeSignTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- <DeploymentTool
- ForceDirty="-1"
- RemoteDirectory=""
- RegisterOutput="0"
- AdditionalFiles=""
- />
- <DebuggerTool
- />
- </Configuration>
- <Configuration
- Name="Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
- OutputDirectory="Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\$(ConfigurationName)"
- IntermediateDirectory="Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="NDEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\../bin/WindowsTest.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- ExecutionBucket="7"
- AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
- Optimization="2"
- InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="../../include"
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
- StringPooling="true"
- RuntimeLibrary="0"
- EnableFunctionLevelLinking="true"
- PrecompiledHeaderFile=".\obj/WindowsTest.pch"
- AssemblerListingLocation=".\obj/"
- ObjectFile=".\obj/"
- ProgramDataBaseFileName=".\obj/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- OutputFile=".\../bin/WindowsTest.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
- ProgramDatabaseFile=".\../bin/WindowsTest.pdb"
- SubSystem="2"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="0"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCCodeSignTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- <DeploymentTool
- ForceDirty="-1"
- RemoteDirectory=""
- RegisterOutput="0"
- AdditionalFiles=""
- />
- <DebuggerTool
- />
- </Configuration>
- <Configuration
- Name="Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I)"
- OutputDirectory="Windows Mobile 5.0 Smartphone SDK (ARMV4I)\$(ConfigurationName)"
- IntermediateDirectory="Windows Mobile 5.0 Smartphone SDK (ARMV4I)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="NDEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\../bin/WindowsTest.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- ExecutionBucket="7"
- AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
- Optimization="2"
- InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="../../include"
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
- StringPooling="true"
- RuntimeLibrary="0"
- EnableFunctionLevelLinking="true"
- PrecompiledHeaderFile=".\obj/WindowsTest.pch"
- AssemblerListingLocation=".\obj/"
- ObjectFile=".\obj/"
- ProgramDataBaseFileName=".\obj/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- OutputFile=".\../bin/WindowsTest.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
- ProgramDatabaseFile=".\../bin/WindowsTest.pdb"
- SubSystem="2"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="0"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCCodeSignTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- <DeploymentTool
- ForceDirty="-1"
- RemoteDirectory=""
- RegisterOutput="0"
- AdditionalFiles=""
- />
- <DebuggerTool
- />
- </Configuration>
- <Configuration
- Name="Release|Smartphone 2003 (ARMV4)"
- OutputDirectory="Smartphone 2003 (ARMV4)\$(ConfigurationName)"
- IntermediateDirectory="Smartphone 2003 (ARMV4)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="NDEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\../bin/WindowsTest.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- ExecutionBucket="7"
- AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
- Optimization="2"
- InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="../../include"
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
- StringPooling="true"
- RuntimeLibrary="0"
- EnableFunctionLevelLinking="true"
- PrecompiledHeaderFile=".\obj/WindowsTest.pch"
- AssemblerListingLocation=".\obj/"
- ObjectFile=".\obj/"
- ProgramDataBaseFileName=".\obj/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- OutputFile=".\../bin/WindowsTest.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
- ProgramDatabaseFile=".\../bin/WindowsTest.pdb"
- SubSystem="2"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="0"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCCodeSignTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- <DeploymentTool
- ForceDirty="-1"
- RemoteDirectory=""
- RegisterOutput="0"
- AdditionalFiles=""
- />
- <DebuggerTool
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory=".\../bin/debug"
- IntermediateDirectory=".\obj/debug"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="_DEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\../bin/debug/WindowsTest.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
- Optimization="0"
- AdditionalIncludeDirectories="../../include"
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
- BasicRuntimeChecks="3"
- RuntimeLibrary="1"
- PrecompiledHeaderFile=".\obj/debug/WindowsTest.pch"
- AssemblerListingLocation=".\obj/debug/"
- ObjectFile=".\obj/debug/"
- ProgramDataBaseFileName=".\obj/debug/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="_DEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- OutputFile=".\../bin/debug/WindowsTest.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
- GenerateDebugInformation="true"
- ProgramDatabaseFile=".\../bin/debug/WindowsTest.pdb"
- SubSystem="2"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|x64"
- OutputDirectory="$(PlatformName)\$(ConfigurationName)"
- IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="_DEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="3"
- TypeLibraryName=".\../bin/debug/WindowsTest.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
- Optimization="0"
- AdditionalIncludeDirectories="../../include"
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- PrecompiledHeaderFile=".\obj/debug/WindowsTest.pch"
- AssemblerListingLocation=".\obj/debug/"
- ObjectFile=".\obj/debug/"
- ProgramDataBaseFileName=".\obj/debug/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="_DEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- OutputFile=".\../bin/debug/WindowsTest.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories=""
- GenerateDebugInformation="true"
- ProgramDatabaseFile=".\../bin/debug/WindowsTest.pdb"
- SubSystem="2"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="17"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Pocket PC 2003 (ARMV4)"
- OutputDirectory="Pocket PC 2003 (ARMV4)\$(ConfigurationName)"
- IntermediateDirectory="Pocket PC 2003 (ARMV4)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="_DEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\../bin/debug/WindowsTest.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- ExecutionBucket="7"
- AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
- Optimization="0"
- AdditionalIncludeDirectories="../../include"
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
- RuntimeLibrary="1"
- PrecompiledHeaderFile=".\obj/debug/WindowsTest.pch"
- AssemblerListingLocation=".\obj/debug/"
- ObjectFile=".\obj/debug/"
- ProgramDataBaseFileName=".\obj/debug/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="_DEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- OutputFile=".\../bin/debug/WindowsTest.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
- GenerateDebugInformation="true"
- ProgramDatabaseFile=".\../bin/debug/WindowsTest.pdb"
- SubSystem="2"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="0"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCCodeSignTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- <DeploymentTool
- ForceDirty="-1"
- RemoteDirectory=""
- RegisterOutput="0"
- AdditionalFiles=""
- />
- <DebuggerTool
- />
- </Configuration>
- <Configuration
- Name="Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
- OutputDirectory="Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\$(ConfigurationName)"
- IntermediateDirectory="Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="_DEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\../bin/debug/WindowsTest.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- ExecutionBucket="7"
- AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
- Optimization="0"
- AdditionalIncludeDirectories="../../include"
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
- RuntimeLibrary="1"
- PrecompiledHeaderFile=".\obj/debug/WindowsTest.pch"
- AssemblerListingLocation=".\obj/debug/"
- ObjectFile=".\obj/debug/"
- ProgramDataBaseFileName=".\obj/debug/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="_DEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- OutputFile=".\../bin/debug/WindowsTest.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
- GenerateDebugInformation="true"
- ProgramDatabaseFile=".\../bin/debug/WindowsTest.pdb"
- SubSystem="2"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="0"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCCodeSignTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- <DeploymentTool
- ForceDirty="-1"
- RemoteDirectory=""
- RegisterOutput="0"
- AdditionalFiles=""
- />
- <DebuggerTool
- />
- </Configuration>
- <Configuration
- Name="Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I)"
- OutputDirectory="Windows Mobile 5.0 Smartphone SDK (ARMV4I)\$(ConfigurationName)"
- IntermediateDirectory="Windows Mobile 5.0 Smartphone SDK (ARMV4I)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="_DEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\../bin/debug/WindowsTest.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- ExecutionBucket="7"
- AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
- Optimization="0"
- AdditionalIncludeDirectories="../../include"
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
- RuntimeLibrary="1"
- PrecompiledHeaderFile=".\obj/debug/WindowsTest.pch"
- AssemblerListingLocation=".\obj/debug/"
- ObjectFile=".\obj/debug/"
- ProgramDataBaseFileName=".\obj/debug/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="_DEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- OutputFile=".\../bin/debug/WindowsTest.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
- GenerateDebugInformation="true"
- ProgramDatabaseFile=".\../bin/debug/WindowsTest.pdb"
- SubSystem="2"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="0"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCCodeSignTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- <DeploymentTool
- ForceDirty="-1"
- RemoteDirectory=""
- RegisterOutput="0"
- AdditionalFiles=""
- />
- <DebuggerTool
- />
- </Configuration>
- <Configuration
- Name="Debug|Smartphone 2003 (ARMV4)"
- OutputDirectory="Smartphone 2003 (ARMV4)\$(ConfigurationName)"
- IntermediateDirectory="Smartphone 2003 (ARMV4)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="_DEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\../bin/debug/WindowsTest.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- ExecutionBucket="7"
- AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
- Optimization="0"
- AdditionalIncludeDirectories="../../include"
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
- RuntimeLibrary="1"
- PrecompiledHeaderFile=".\obj/debug/WindowsTest.pch"
- AssemblerListingLocation=".\obj/debug/"
- ObjectFile=".\obj/debug/"
- ProgramDataBaseFileName=".\obj/debug/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="_DEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- OutputFile=".\../bin/debug/WindowsTest.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
- GenerateDebugInformation="true"
- ProgramDatabaseFile=".\../bin/debug/WindowsTest.pdb"
- SubSystem="2"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="0"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCCodeSignTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- <DeploymentTool
- ForceDirty="-1"
- RemoteDirectory=""
- RegisterOutput="0"
- AdditionalFiles=""
- />
- <DebuggerTool
- />
- </Configuration>
- <Configuration
- Name="Release|Windows Mobile 6 Professional SDK (ARMV4I)"
- OutputDirectory="Windows Mobile 6 Professional SDK (ARMV4I)\$(ConfigurationName)"
- IntermediateDirectory="Windows Mobile 6 Professional SDK (ARMV4I)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="NDEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\../bin/WindowsTest.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- ExecutionBucket="7"
- AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
- Optimization="2"
- InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="../../include"
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
- StringPooling="true"
- RuntimeLibrary="0"
- EnableFunctionLevelLinking="true"
- PrecompiledHeaderFile=".\obj/WindowsTest.pch"
- AssemblerListingLocation=".\obj/"
- ObjectFile=".\obj/"
- ProgramDataBaseFileName=".\obj/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- OutputFile=".\../bin/WindowsTest.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
- ProgramDatabaseFile=".\../bin/WindowsTest.pdb"
- SubSystem="2"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="0"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCCodeSignTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- <DeploymentTool
- ForceDirty="-1"
- RemoteDirectory=""
- RegisterOutput="0"
- AdditionalFiles=""
- />
- <DebuggerTool
- />
- </Configuration>
- <Configuration
- Name="Debug|Windows Mobile 6 Professional SDK (ARMV4I)"
- OutputDirectory="Windows Mobile 6 Professional SDK (ARMV4I)\$(ConfigurationName)"
- IntermediateDirectory="Windows Mobile 6 Professional SDK (ARMV4I)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="_DEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\../bin/debug/WindowsTest.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- ExecutionBucket="7"
- AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
- Optimization="0"
- AdditionalIncludeDirectories="../../include"
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
- RuntimeLibrary="1"
- PrecompiledHeaderFile=".\obj/debug/WindowsTest.pch"
- AssemblerListingLocation=".\obj/debug/"
- ObjectFile=".\obj/debug/"
- ProgramDataBaseFileName=".\obj/debug/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="_DEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib"
- OutputFile=".\../bin/debug/WindowsTest.exe"
- LinkIncremental="1"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
- GenerateDebugInformation="true"
- ProgramDatabaseFile=".\../bin/debug/WindowsTest.pdb"
- SubSystem="2"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="0"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCCodeSignTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- <DeploymentTool
- ForceDirty="-1"
- RemoteDirectory=""
- RegisterOutput="0"
- AdditionalFiles=""
- />
- <DebuggerTool
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
- >
- <File
- RelativePath=".\BatchConv.cpp"
- >
- </File>
- <File
- RelativePath="WindowsTest.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|x64"
- >
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Pocket PC 2003 (ARMV4)"
- >
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
- >
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I)"
- >
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Smartphone 2003 (ARMV4)"
- >
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions=""
- BasicRuntimeChecks="3"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|x64"
- >
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions=""
- BasicRuntimeChecks="3"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Pocket PC 2003 (ARMV4)"
- >
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
- >
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I)"
- >
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Smartphone 2003 (ARMV4)"
- >
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Windows Mobile 6 Professional SDK (ARMV4I)"
- >
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Windows Mobile 6 Professional SDK (ARMV4I)"
- >
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl"
- >
- <File
- RelativePath="resource.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
- >
- <File
- RelativePath=".\resources\DevIL Logo.ico"
- >
- </File>
- <File
- RelativePath="WindowsTest.rc"
- >
- </File>
- </Filter>
- <File
- RelativePath=".\resource"
- >
- </File>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="WindowsTest"
+ ProjectGUID="{DEA982DD-5797-4D77-A33A-367D0395612B}"
+ RootNamespace="WindowsTest"
+ TargetFrameworkVersion="131072"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ <Platform
+ Name="x64"
+ />
+ <Platform
+ Name="Pocket PC 2003 (ARMV4)"
+ />
+ <Platform
+ Name="Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
+ />
+ <Platform
+ Name="Windows Mobile 5.0 Smartphone SDK (ARMV4I)"
+ />
+ <Platform
+ Name="Smartphone 2003 (ARMV4)"
+ />
+ <Platform
+ Name="Windows Mobile 6 Professional SDK (ARMV4I)"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory=".\../bin"
+ IntermediateDirectory=".\obj"
+ ConfigurationType="1"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="false"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="NDEBUG"
+ MkTypLibCompatible="true"
+ SuppressStartupBanner="true"
+ TargetEnvironment="1"
+ TypeLibraryName=".\../bin/WindowsTest.tlb"
+ HeaderFileName=""
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
+ Optimization="2"
+ InlineFunctionExpansion="1"
+ AdditionalIncludeDirectories="../../include"
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
+ StringPooling="true"
+ RuntimeLibrary="0"
+ EnableFunctionLevelLinking="true"
+ PrecompiledHeaderFile=".\obj/WindowsTest.pch"
+ AssemblerListingLocation=".\obj/"
+ ObjectFile=".\obj/"
+ ProgramDataBaseFileName=".\obj/"
+ WarningLevel="3"
+ SuppressStartupBanner="true"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ Culture="1033"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ OutputFile=".\../bin/WindowsTest.exe"
+ LinkIncremental="1"
+ SuppressStartupBanner="true"
+ AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
+ ProgramDatabaseFile=".\../bin/WindowsTest.pdb"
+ SubSystem="2"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|x64"
+ OutputDirectory="$(PlatformName)\$(ConfigurationName)"
+ IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
+ ConfigurationType="1"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="false"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="NDEBUG"
+ MkTypLibCompatible="true"
+ SuppressStartupBanner="true"
+ TargetEnvironment="3"
+ TypeLibraryName=".\../bin/WindowsTest.tlb"
+ HeaderFileName=""
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
+ Optimization="2"
+ InlineFunctionExpansion="1"
+ AdditionalIncludeDirectories="../../include"
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
+ StringPooling="true"
+ RuntimeLibrary="2"
+ EnableFunctionLevelLinking="true"
+ PrecompiledHeaderFile=".\obj/WindowsTest.pch"
+ AssemblerListingLocation=".\obj/"
+ ObjectFile=".\obj/"
+ ProgramDataBaseFileName=".\obj/"
+ WarningLevel="3"
+ SuppressStartupBanner="true"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ Culture="1033"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ OutputFile=".\../bin/WindowsTest.exe"
+ LinkIncremental="1"
+ SuppressStartupBanner="true"
+ AdditionalLibraryDirectories=""
+ ProgramDatabaseFile=".\../bin/WindowsTest.pdb"
+ SubSystem="2"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ TargetMachine="17"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Pocket PC 2003 (ARMV4)"
+ OutputDirectory="Pocket PC 2003 (ARMV4)\$(ConfigurationName)"
+ IntermediateDirectory="Pocket PC 2003 (ARMV4)\$(ConfigurationName)"
+ ConfigurationType="1"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="false"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="NDEBUG"
+ MkTypLibCompatible="true"
+ SuppressStartupBanner="true"
+ TargetEnvironment="1"
+ TypeLibraryName=".\../bin/WindowsTest.tlb"
+ HeaderFileName=""
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ ExecutionBucket="7"
+ AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
+ Optimization="2"
+ InlineFunctionExpansion="1"
+ AdditionalIncludeDirectories="../../include"
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
+ StringPooling="true"
+ RuntimeLibrary="0"
+ EnableFunctionLevelLinking="true"
+ PrecompiledHeaderFile=".\obj/WindowsTest.pch"
+ AssemblerListingLocation=".\obj/"
+ ObjectFile=".\obj/"
+ ProgramDataBaseFileName=".\obj/"
+ WarningLevel="3"
+ SuppressStartupBanner="true"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ Culture="1033"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ OutputFile=".\../bin/WindowsTest.exe"
+ LinkIncremental="1"
+ SuppressStartupBanner="true"
+ AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
+ ProgramDatabaseFile=".\../bin/WindowsTest.pdb"
+ SubSystem="2"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ TargetMachine="0"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCCodeSignTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ <DeploymentTool
+ ForceDirty="-1"
+ RemoteDirectory=""
+ RegisterOutput="0"
+ AdditionalFiles=""
+ />
+ <DebuggerTool
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
+ OutputDirectory="Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\$(ConfigurationName)"
+ IntermediateDirectory="Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\$(ConfigurationName)"
+ ConfigurationType="1"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="false"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="NDEBUG"
+ MkTypLibCompatible="true"
+ SuppressStartupBanner="true"
+ TargetEnvironment="1"
+ TypeLibraryName=".\../bin/WindowsTest.tlb"
+ HeaderFileName=""
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ ExecutionBucket="7"
+ AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
+ Optimization="2"
+ InlineFunctionExpansion="1"
+ AdditionalIncludeDirectories="../../include"
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
+ StringPooling="true"
+ RuntimeLibrary="0"
+ EnableFunctionLevelLinking="true"
+ PrecompiledHeaderFile=".\obj/WindowsTest.pch"
+ AssemblerListingLocation=".\obj/"
+ ObjectFile=".\obj/"
+ ProgramDataBaseFileName=".\obj/"
+ WarningLevel="3"
+ SuppressStartupBanner="true"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ Culture="1033"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ OutputFile=".\../bin/WindowsTest.exe"
+ LinkIncremental="1"
+ SuppressStartupBanner="true"
+ AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
+ ProgramDatabaseFile=".\../bin/WindowsTest.pdb"
+ SubSystem="2"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ TargetMachine="0"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCCodeSignTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ <DeploymentTool
+ ForceDirty="-1"
+ RemoteDirectory=""
+ RegisterOutput="0"
+ AdditionalFiles=""
+ />
+ <DebuggerTool
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I)"
+ OutputDirectory="Windows Mobile 5.0 Smartphone SDK (ARMV4I)\$(ConfigurationName)"
+ IntermediateDirectory="Windows Mobile 5.0 Smartphone SDK (ARMV4I)\$(ConfigurationName)"
+ ConfigurationType="1"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="false"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="NDEBUG"
+ MkTypLibCompatible="true"
+ SuppressStartupBanner="true"
+ TargetEnvironment="1"
+ TypeLibraryName=".\../bin/WindowsTest.tlb"
+ HeaderFileName=""
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ ExecutionBucket="7"
+ AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
+ Optimization="2"
+ InlineFunctionExpansion="1"
+ AdditionalIncludeDirectories="../../include"
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
+ StringPooling="true"
+ RuntimeLibrary="0"
+ EnableFunctionLevelLinking="true"
+ PrecompiledHeaderFile=".\obj/WindowsTest.pch"
+ AssemblerListingLocation=".\obj/"
+ ObjectFile=".\obj/"
+ ProgramDataBaseFileName=".\obj/"
+ WarningLevel="3"
+ SuppressStartupBanner="true"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ Culture="1033"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ OutputFile=".\../bin/WindowsTest.exe"
+ LinkIncremental="1"
+ SuppressStartupBanner="true"
+ AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
+ ProgramDatabaseFile=".\../bin/WindowsTest.pdb"
+ SubSystem="2"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ TargetMachine="0"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCCodeSignTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ <DeploymentTool
+ ForceDirty="-1"
+ RemoteDirectory=""
+ RegisterOutput="0"
+ AdditionalFiles=""
+ />
+ <DebuggerTool
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Smartphone 2003 (ARMV4)"
+ OutputDirectory="Smartphone 2003 (ARMV4)\$(ConfigurationName)"
+ IntermediateDirectory="Smartphone 2003 (ARMV4)\$(ConfigurationName)"
+ ConfigurationType="1"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="false"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="NDEBUG"
+ MkTypLibCompatible="true"
+ SuppressStartupBanner="true"
+ TargetEnvironment="1"
+ TypeLibraryName=".\../bin/WindowsTest.tlb"
+ HeaderFileName=""
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ ExecutionBucket="7"
+ AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
+ Optimization="2"
+ InlineFunctionExpansion="1"
+ AdditionalIncludeDirectories="../../include"
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
+ StringPooling="true"
+ RuntimeLibrary="0"
+ EnableFunctionLevelLinking="true"
+ PrecompiledHeaderFile=".\obj/WindowsTest.pch"
+ AssemblerListingLocation=".\obj/"
+ ObjectFile=".\obj/"
+ ProgramDataBaseFileName=".\obj/"
+ WarningLevel="3"
+ SuppressStartupBanner="true"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ Culture="1033"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ OutputFile=".\../bin/WindowsTest.exe"
+ LinkIncremental="1"
+ SuppressStartupBanner="true"
+ AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
+ ProgramDatabaseFile=".\../bin/WindowsTest.pdb"
+ SubSystem="2"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ TargetMachine="0"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCCodeSignTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ <DeploymentTool
+ ForceDirty="-1"
+ RemoteDirectory=""
+ RegisterOutput="0"
+ AdditionalFiles=""
+ />
+ <DebuggerTool
+ />
+ </Configuration>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory=".\../bin/debug"
+ IntermediateDirectory=".\obj/debug"
+ ConfigurationType="1"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="false"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="_DEBUG"
+ MkTypLibCompatible="true"
+ SuppressStartupBanner="true"
+ TargetEnvironment="1"
+ TypeLibraryName=".\../bin/debug/WindowsTest.tlb"
+ HeaderFileName=""
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
+ Optimization="0"
+ AdditionalIncludeDirectories="../../include"
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="1"
+ PrecompiledHeaderFile=".\obj/debug/WindowsTest.pch"
+ AssemblerListingLocation=".\obj/debug/"
+ ObjectFile=".\obj/debug/"
+ ProgramDataBaseFileName=".\obj/debug/"
+ WarningLevel="3"
+ SuppressStartupBanner="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="_DEBUG"
+ Culture="1033"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ OutputFile=".\../bin/debug/WindowsTest.exe"
+ LinkIncremental="1"
+ SuppressStartupBanner="true"
+ AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile=".\../bin/debug/WindowsTest.pdb"
+ SubSystem="2"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Debug|x64"
+ OutputDirectory="$(PlatformName)\$(ConfigurationName)"
+ IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
+ ConfigurationType="1"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="false"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="_DEBUG"
+ MkTypLibCompatible="true"
+ SuppressStartupBanner="true"
+ TargetEnvironment="3"
+ TypeLibraryName=".\../bin/debug/WindowsTest.tlb"
+ HeaderFileName=""
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
+ Optimization="0"
+ AdditionalIncludeDirectories="../../include"
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ PrecompiledHeaderFile=".\obj/debug/WindowsTest.pch"
+ AssemblerListingLocation=".\obj/debug/"
+ ObjectFile=".\obj/debug/"
+ ProgramDataBaseFileName=".\obj/debug/"
+ WarningLevel="3"
+ SuppressStartupBanner="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="_DEBUG"
+ Culture="1033"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ OutputFile=".\../bin/debug/WindowsTest.exe"
+ LinkIncremental="1"
+ SuppressStartupBanner="true"
+ AdditionalLibraryDirectories=""
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile=".\../bin/debug/WindowsTest.pdb"
+ SubSystem="2"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ TargetMachine="17"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Debug|Pocket PC 2003 (ARMV4)"
+ OutputDirectory="Pocket PC 2003 (ARMV4)\$(ConfigurationName)"
+ IntermediateDirectory="Pocket PC 2003 (ARMV4)\$(ConfigurationName)"
+ ConfigurationType="1"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="false"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="_DEBUG"
+ MkTypLibCompatible="true"
+ SuppressStartupBanner="true"
+ TargetEnvironment="1"
+ TypeLibraryName=".\../bin/debug/WindowsTest.tlb"
+ HeaderFileName=""
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ ExecutionBucket="7"
+ AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
+ Optimization="0"
+ AdditionalIncludeDirectories="../../include"
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
+ RuntimeLibrary="1"
+ PrecompiledHeaderFile=".\obj/debug/WindowsTest.pch"
+ AssemblerListingLocation=".\obj/debug/"
+ ObjectFile=".\obj/debug/"
+ ProgramDataBaseFileName=".\obj/debug/"
+ WarningLevel="3"
+ SuppressStartupBanner="true"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="_DEBUG"
+ Culture="1033"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ OutputFile=".\../bin/debug/WindowsTest.exe"
+ LinkIncremental="1"
+ SuppressStartupBanner="true"
+ AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile=".\../bin/debug/WindowsTest.pdb"
+ SubSystem="2"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ TargetMachine="0"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCCodeSignTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ <DeploymentTool
+ ForceDirty="-1"
+ RemoteDirectory=""
+ RegisterOutput="0"
+ AdditionalFiles=""
+ />
+ <DebuggerTool
+ />
+ </Configuration>
+ <Configuration
+ Name="Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
+ OutputDirectory="Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\$(ConfigurationName)"
+ IntermediateDirectory="Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\$(ConfigurationName)"
+ ConfigurationType="1"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="false"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="_DEBUG"
+ MkTypLibCompatible="true"
+ SuppressStartupBanner="true"
+ TargetEnvironment="1"
+ TypeLibraryName=".\../bin/debug/WindowsTest.tlb"
+ HeaderFileName=""
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ ExecutionBucket="7"
+ AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
+ Optimization="0"
+ AdditionalIncludeDirectories="../../include"
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
+ RuntimeLibrary="1"
+ PrecompiledHeaderFile=".\obj/debug/WindowsTest.pch"
+ AssemblerListingLocation=".\obj/debug/"
+ ObjectFile=".\obj/debug/"
+ ProgramDataBaseFileName=".\obj/debug/"
+ WarningLevel="3"
+ SuppressStartupBanner="true"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="_DEBUG"
+ Culture="1033"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ OutputFile=".\../bin/debug/WindowsTest.exe"
+ LinkIncremental="1"
+ SuppressStartupBanner="true"
+ AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile=".\../bin/debug/WindowsTest.pdb"
+ SubSystem="2"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ TargetMachine="0"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCCodeSignTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ <DeploymentTool
+ ForceDirty="-1"
+ RemoteDirectory=""
+ RegisterOutput="0"
+ AdditionalFiles=""
+ />
+ <DebuggerTool
+ />
+ </Configuration>
+ <Configuration
+ Name="Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I)"
+ OutputDirectory="Windows Mobile 5.0 Smartphone SDK (ARMV4I)\$(ConfigurationName)"
+ IntermediateDirectory="Windows Mobile 5.0 Smartphone SDK (ARMV4I)\$(ConfigurationName)"
+ ConfigurationType="1"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="false"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="_DEBUG"
+ MkTypLibCompatible="true"
+ SuppressStartupBanner="true"
+ TargetEnvironment="1"
+ TypeLibraryName=".\../bin/debug/WindowsTest.tlb"
+ HeaderFileName=""
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ ExecutionBucket="7"
+ AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
+ Optimization="0"
+ AdditionalIncludeDirectories="../../include"
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
+ RuntimeLibrary="1"
+ PrecompiledHeaderFile=".\obj/debug/WindowsTest.pch"
+ AssemblerListingLocation=".\obj/debug/"
+ ObjectFile=".\obj/debug/"
+ ProgramDataBaseFileName=".\obj/debug/"
+ WarningLevel="3"
+ SuppressStartupBanner="true"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="_DEBUG"
+ Culture="1033"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ OutputFile=".\../bin/debug/WindowsTest.exe"
+ LinkIncremental="1"
+ SuppressStartupBanner="true"
+ AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile=".\../bin/debug/WindowsTest.pdb"
+ SubSystem="2"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ TargetMachine="0"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCCodeSignTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ <DeploymentTool
+ ForceDirty="-1"
+ RemoteDirectory=""
+ RegisterOutput="0"
+ AdditionalFiles=""
+ />
+ <DebuggerTool
+ />
+ </Configuration>
+ <Configuration
+ Name="Debug|Smartphone 2003 (ARMV4)"
+ OutputDirectory="Smartphone 2003 (ARMV4)\$(ConfigurationName)"
+ IntermediateDirectory="Smartphone 2003 (ARMV4)\$(ConfigurationName)"
+ ConfigurationType="1"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="false"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="_DEBUG"
+ MkTypLibCompatible="true"
+ SuppressStartupBanner="true"
+ TargetEnvironment="1"
+ TypeLibraryName=".\../bin/debug/WindowsTest.tlb"
+ HeaderFileName=""
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ ExecutionBucket="7"
+ AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
+ Optimization="0"
+ AdditionalIncludeDirectories="../../include"
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
+ RuntimeLibrary="1"
+ PrecompiledHeaderFile=".\obj/debug/WindowsTest.pch"
+ AssemblerListingLocation=".\obj/debug/"
+ ObjectFile=".\obj/debug/"
+ ProgramDataBaseFileName=".\obj/debug/"
+ WarningLevel="3"
+ SuppressStartupBanner="true"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="_DEBUG"
+ Culture="1033"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ OutputFile=".\../bin/debug/WindowsTest.exe"
+ LinkIncremental="1"
+ SuppressStartupBanner="true"
+ AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile=".\../bin/debug/WindowsTest.pdb"
+ SubSystem="2"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ TargetMachine="0"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCCodeSignTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ <DeploymentTool
+ ForceDirty="-1"
+ RemoteDirectory=""
+ RegisterOutput="0"
+ AdditionalFiles=""
+ />
+ <DebuggerTool
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Windows Mobile 6 Professional SDK (ARMV4I)"
+ OutputDirectory="Windows Mobile 6 Professional SDK (ARMV4I)\$(ConfigurationName)"
+ IntermediateDirectory="Windows Mobile 6 Professional SDK (ARMV4I)\$(ConfigurationName)"
+ ConfigurationType="1"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="false"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="NDEBUG"
+ MkTypLibCompatible="true"
+ SuppressStartupBanner="true"
+ TargetEnvironment="1"
+ TypeLibraryName=".\../bin/WindowsTest.tlb"
+ HeaderFileName=""
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ ExecutionBucket="7"
+ AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
+ Optimization="2"
+ InlineFunctionExpansion="1"
+ AdditionalIncludeDirectories="../../include"
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
+ StringPooling="true"
+ RuntimeLibrary="0"
+ EnableFunctionLevelLinking="true"
+ PrecompiledHeaderFile=".\obj/WindowsTest.pch"
+ AssemblerListingLocation=".\obj/"
+ ObjectFile=".\obj/"
+ ProgramDataBaseFileName=".\obj/"
+ WarningLevel="3"
+ SuppressStartupBanner="true"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ Culture="1033"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ OutputFile=".\../bin/WindowsTest.exe"
+ LinkIncremental="1"
+ SuppressStartupBanner="true"
+ AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
+ ProgramDatabaseFile=".\../bin/WindowsTest.pdb"
+ SubSystem="2"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ TargetMachine="0"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCCodeSignTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ <DeploymentTool
+ ForceDirty="-1"
+ RemoteDirectory=""
+ RegisterOutput="0"
+ AdditionalFiles=""
+ />
+ <DebuggerTool
+ />
+ </Configuration>
+ <Configuration
+ Name="Debug|Windows Mobile 6 Professional SDK (ARMV4I)"
+ OutputDirectory="Windows Mobile 6 Professional SDK (ARMV4I)\$(ConfigurationName)"
+ IntermediateDirectory="Windows Mobile 6 Professional SDK (ARMV4I)\$(ConfigurationName)"
+ ConfigurationType="1"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="false"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="_DEBUG"
+ MkTypLibCompatible="true"
+ SuppressStartupBanner="true"
+ TargetEnvironment="1"
+ TypeLibraryName=".\../bin/debug/WindowsTest.tlb"
+ HeaderFileName=""
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ ExecutionBucket="7"
+ AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;_CRT_NONSTDC_NO_DEPRECATE&quot;"
+ Optimization="0"
+ AdditionalIncludeDirectories="../../include"
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
+ RuntimeLibrary="1"
+ PrecompiledHeaderFile=".\obj/debug/WindowsTest.pch"
+ AssemblerListingLocation=".\obj/debug/"
+ ObjectFile=".\obj/debug/"
+ ProgramDataBaseFileName=".\obj/debug/"
+ WarningLevel="3"
+ SuppressStartupBanner="true"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="_DEBUG"
+ Culture="1033"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib"
+ OutputFile=".\../bin/debug/WindowsTest.exe"
+ LinkIncremental="1"
+ SuppressStartupBanner="true"
+ AdditionalLibraryDirectories="E:\XIX\S\sourceforge\DevIL\lib;E:\XIX\S\sourceforge\DevIL\extlibs\ColorPicker"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile=".\../bin/debug/WindowsTest.pdb"
+ SubSystem="2"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ TargetMachine="0"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCCodeSignTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ <DeploymentTool
+ ForceDirty="-1"
+ RemoteDirectory=""
+ RegisterOutput="0"
+ AdditionalFiles=""
+ />
+ <DebuggerTool
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+ >
+ <File
+ RelativePath=".\BatchConv.cpp"
+ >
+ </File>
+ <File
+ RelativePath="WindowsTest.cpp"
+ >
+ <FileConfiguration
+ Name="Release|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ PreprocessorDefinitions=""
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|x64"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ PreprocessorDefinitions=""
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Pocket PC 2003 (ARMV4)"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ PreprocessorDefinitions=""
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ PreprocessorDefinitions=""
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I)"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ PreprocessorDefinitions=""
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Smartphone 2003 (ARMV4)"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ PreprocessorDefinitions=""
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions=""
+ BasicRuntimeChecks="3"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug|x64"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions=""
+ BasicRuntimeChecks="3"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug|Pocket PC 2003 (ARMV4)"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions=""
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions=""
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I)"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions=""
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug|Smartphone 2003 (ARMV4)"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions=""
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Windows Mobile 6 Professional SDK (ARMV4I)"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ PreprocessorDefinitions=""
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug|Windows Mobile 6 Professional SDK (ARMV4I)"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions=""
+ />
+ </FileConfiguration>
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl"
+ >
+ <File
+ RelativePath="resource.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
+ >
+ <File
+ RelativePath=".\resources\DevIL Logo.ico"
+ >
+ </File>
+ <File
+ RelativePath="WindowsTest.rc"
+ >
+ </File>
+ </Filter>
+ <File
+ RelativePath=".\resource"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/windows_example/windows_example-vc8.vcproj b/DevIL/examples/windows_example/windows_example-vc8.vcproj
index 2d26319c..0753e94b 100644
--- a/DevIL/examples/windows_example/windows_example-vc8.vcproj
+++ b/DevIL/examples/windows_example/windows_example-vc8.vcproj
@@ -1,211 +1,211 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="Windows Example"
- ProjectGUID="{0C074F70-FA8F-4D7B-BD37-DCEF0371361B}"
- RootNamespace="WindowsExample"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib comdlg32.lib user32.lib advapi32.lib gdi32.lib shell32.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib comdlg32.lib user32.lib advapi32.lib gdi32.lib shell32.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\BatchConv.cpp"
- >
- </File>
- <File
- RelativePath=".\windows_example.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\resource.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- <File
- RelativePath=".\resources\DevIL Logo.ico"
- >
- </File>
- <File
- RelativePath=".\windows_example.rc"
- >
- </File>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="Windows Example"
+ ProjectGUID="{0C074F70-FA8F-4D7B-BD37-DCEF0371361B}"
+ RootNamespace="WindowsExample"
+ Keyword="Win32Proj"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib comdlg32.lib user32.lib advapi32.lib gdi32.lib shell32.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
+ RuntimeLibrary="2"
+ EnableFunctionLevelLinking="true"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib comdlg32.lib user32.lib advapi32.lib gdi32.lib shell32.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="2"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\BatchConv.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\windows_example.cpp"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath=".\resource.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ <File
+ RelativePath=".\resources\DevIL Logo.ico"
+ >
+ </File>
+ <File
+ RelativePath=".\windows_example.rc"
+ >
+ </File>
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/windows_example/windows_example-vc9.vcproj b/DevIL/examples/windows_example/windows_example-vc9.vcproj
index a10b7e32..7e38f515 100755
--- a/DevIL/examples/windows_example/windows_example-vc9.vcproj
+++ b/DevIL/examples/windows_example/windows_example-vc9.vcproj
@@ -1,211 +1,211 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="Windows Example"
- ProjectGUID="{0C074F70-FA8F-4D7B-BD37-DCEF0371361B}"
- RootNamespace="WindowsExample"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib comdlg32.lib user32.lib advapi32.lib gdi32.lib shell32.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="devil.lib ilu.lib ilut.lib comdlg32.lib user32.lib advapi32.lib gdi32.lib shell32.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\BatchConv.cpp"
- >
- </File>
- <File
- RelativePath=".\windows_example.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\resource.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- <File
- RelativePath=".\resources\DevIL Logo.ico"
- >
- </File>
- <File
- RelativePath=".\windows_example.rc"
- >
- </File>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="Windows Example"
+ ProjectGUID="{0C074F70-FA8F-4D7B-BD37-DCEF0371361B}"
+ RootNamespace="WindowsExample"
+ Keyword="Win32Proj"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib comdlg32.lib user32.lib advapi32.lib gdi32.lib shell32.lib"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
+ RuntimeLibrary="2"
+ EnableFunctionLevelLinking="true"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="devil.lib ilu.lib ilut.lib comdlg32.lib user32.lib advapi32.lib gdi32.lib shell32.lib"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="2"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\BatchConv.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\windows_example.cpp"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath=".\resource.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ <File
+ RelativePath=".\resources\DevIL Logo.ico"
+ >
+ </File>
+ <File
+ RelativePath=".\windows_example.rc"
+ >
+ </File>
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/DevIL/examples/windows_example/windows_example.rc b/DevIL/examples/windows_example/windows_example.rc
index 395435fd..c39e2a08 100755
--- a/DevIL/examples/windows_example/windows_example.rc
+++ b/DevIL/examples/windows_example/windows_example.rc
@@ -1,212 +1,212 @@
-// Microsoft Visual C++ generated resource script.
-//
-#include "resource.h"
-
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-#include "afxres.h"
-
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
-/////////////////////////////////////////////////////////////////////////////
-// English (U.S.) resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-#ifdef _WIN32
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
-#pragma code_page(1252)
-#endif //_WIN32
-
-#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// TEXTINCLUDE
-//
-
-1 TEXTINCLUDE
-BEGIN
- "resource.h\0"
-END
-
-2 TEXTINCLUDE
-BEGIN
- "#include ""afxres.h""\r\n"
- "\0"
-END
-
-3 TEXTINCLUDE
-BEGIN
- "\r\n"
- "\0"
-END
-
-#endif // APSTUDIO_INVOKED
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Menu
-//
-
-IDR_MENU1 MENU
-BEGIN
- POPUP "File"
- BEGIN
- MENUITEM "&Open...\tCtrl+O", ID_FILE_OPEN40001
- MENUITEM "Open &URL...", ID_FILE_OPENURL
- MENUITEM "&Save...", ID_FILE_SAVE40003
- MENUITEM "&Image Properties", ID_FILE_IMAGEPROPERTIES
- MENUITEM "&Print", ID_FILE_PRINT
- MENUITEM "E&xit", ID_FILE_EXIT
- END
- POPUP "Edit"
- BEGIN
- MENUITEM "&Undo (Ctrl+Z)", ID_EDIT_UNDO40007
- MENUITEM "Undo &Level", ID_EDIT_UNDOLEVEL
- MENUITEM "&Copy (Ctrl+C)", ID_EDIT_COPY40054
- MENUITEM "&Paste (Ctrl+V)", ID_EDIT_PASTE40010
- MENUITEM SEPARATOR
- MENUITEM "View Mipmap", ID_EDIT_VIEWMIPMAP
- MENUITEM "View Face", ID_EDIT_VIEWFACE
- MENUITEM SEPARATOR
- MENUITEM "View Image Number", ID_EDIT_VIEWIMAGENUMBER
- MENUITEM "Next Image (+)", ID_EDIT_NEXTIMAGE
- MENUITEM "Previous Image (-)", ID_EDIT_PREVIOUSIMAGE
- MENUITEM SEPARATOR
- MENUITEM "View Base Image", ID_EDIT_VIEWBASEIMAGE
- END
- POPUP "Convert"
- BEGIN
- MENUITEM "&Color Indexed", ID_CONVERT_COLORINDEXED
- MENUITEM "&Luminance", ID_CONVERT_LUMINANCE
- MENUITEM "L&uminance Alpha", ID_CONVERT_LUMINANCEALPHA
- MENUITEM "&Rgb", ID_CONVERT_RGB
- MENUITEM "Rgba", ID_CONVERT_RGBA
- MENUITEM "&Bgr", ID_CONVERT_BGR
- MENUITEM "Bgra", ID_CONVERT_BGRA
- MENUITEM "&Alpha", ID_CONVERT_ALPHA
- MENUITEM SEPARATOR
- MENUITEM "Unsigned Byte", ID_CONVERT_UNSIGNEDBYTE
- MENUITEM "Unsigned Short", ID_CONVERT_UNSIGNEDSHORT
- MENUITEM "Unsigned Int", ID_CONVERT_UNSIGNEDINT
- MENUITEM "Half", ID_CONVERT_HALF
- MENUITEM "Float", ID_CONVERT_FLOAT
- MENUITEM "Double", ID_CONVERT_DOUBLE
- MENUITEM SEPARATOR
- MENUITEM "Batch Convert", ID_CONVERT_BATCHCONVERT
- END
- POPUP "Tools"
- BEGIN
- MENUITEM "&Count Colors", ID_TOOLS_COUNTCOLORS
- MENUITEM "&Background Color", ID_TOOLS_BACKGROUNDCOLOR
- POPUP "&Filters"
- BEGIN
- MENUITEM "&Alienify", ID_FILTERS_ALIENIFY
- MENUITEM "Apply &Wave", ID_FILTERS_APPLYWAVE
- MENUITEM "Blur Average", ID_FILTERS_BLURAVERAGE
- MENUITEM "Blur Gaussian", ID_FILTERS_BLURGAUSSIAN
- POPUP "Ed&ge Detect"
- BEGIN
- MENUITEM "&Emboss", ID_EDGEDETECT_EMBOSS
- MENUITEM "&Sobel", ID_EDGEDETECT_SOBEL, MENUBARBREAK
- MENUITEM "&Prewitt", ID_EDGEDETECT_PREWITT
- END
- MENUITEM "&Emboss", ID_FILTERS_EMBOSS
- MENUITEM "E&qualize", ID_FILTERS_EQUALIZE
- MENUITEM "&Gamma Correct", ID_FILTERS_GAMMACORRECT
- MENUITEM "&Negative", ID_FILTERS_NEGATIVE
- MENUITEM "N&oise", ID_FILTERS_NOISE
- MENUITEM "&Pixelize", ID_FILTERS_PIXELIZE
- MENUITEM "&Sharpen", ID_FILTERS_SHARPEN
- END
- MENUITEM "Fli&p", ID_TOOLS_FLIP
- MENUITEM "&Mirror", ID_TOOLS_MIRROR
- MENUITEM "&Rotate", ID_TOOLS_ROTATE
- MENUITEM "&Scale", ID_TOOLS_SCALE
- MENUITEM "&Scale Box", ID_TOOLS_SCALEBOX
- END
- POPUP "Help"
- BEGIN
- MENUITEM "&About", ID_HELP_ABOUT
- END
-END
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Icon
-//
-
-// Icon with lowest ID value placed first to ensure application icon
-// remains consistent on all systems.
-IDI_ICON1 ICON "resources\\DevIL Logo.ico"
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Accelerator
-//
-
-IDR_MENU1 ACCELERATORS
-BEGIN
- "C", ID_EDIT_COPY40054, VIRTKEY, CONTROL, NOINVERT
- "V", ID_EDIT_PASTE40010, VIRTKEY, CONTROL, NOINVERT
- "O", ID_FILE_OPEN40001, VIRTKEY, CONTROL, NOINVERT
- "U", ID_FILE_OPENURL, VIRTKEY, CONTROL, NOINVERT
- "S", ID_FILE_SAVE40003, VIRTKEY, CONTROL, NOINVERT
-END
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog
-//
-
-IDD_DIALOG_FILTER DIALOGEX 0, 0, 183, 79
-STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "Dialog"
-FONT 8, "MS Shell Dlg", 400, 0, 0x1
-BEGIN
- DEFPUSHBUTTON "OK",IDOK,39,46,50,14
- PUSHBUTTON "Cancel",IDCANCEL,95,46,50,14
- EDITTEXT IDC_FILTER_EDIT,19,28,147,12,ES_AUTOHSCROLL
- LTEXT "Enter number of iterations.",IDC_FILTER_DESC_TEXT,40,15,88,8
-END
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// DESIGNINFO
-//
-
-#ifdef APSTUDIO_INVOKED
-GUIDELINES DESIGNINFO
-BEGIN
- IDD_DIALOG_FILTER, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 176
- TOPMARGIN, 7
- BOTTOMMARGIN, 72
- END
-END
-#endif // APSTUDIO_INVOKED
-
-#endif // English (U.S.) resources
-/////////////////////////////////////////////////////////////////////////////
-
-
-
-#ifndef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 3 resource.
-//
-
-
-/////////////////////////////////////////////////////////////////////////////
-#endif // not APSTUDIO_INVOKED
-
+// Microsoft Visual C++ generated resource script.
+//
+#include "resource.h"
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+#include "afxres.h"
+
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// English (U.S.) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
+#ifdef _WIN32
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+#pragma code_page(1252)
+#endif //_WIN32
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+1 TEXTINCLUDE
+BEGIN
+ "resource.h\0"
+END
+
+2 TEXTINCLUDE
+BEGIN
+ "#include ""afxres.h""\r\n"
+ "\0"
+END
+
+3 TEXTINCLUDE
+BEGIN
+ "\r\n"
+ "\0"
+END
+
+#endif // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Menu
+//
+
+IDR_MENU1 MENU
+BEGIN
+ POPUP "File"
+ BEGIN
+ MENUITEM "&Open...\tCtrl+O", ID_FILE_OPEN40001
+ MENUITEM "Open &URL...", ID_FILE_OPENURL
+ MENUITEM "&Save...", ID_FILE_SAVE40003
+ MENUITEM "&Image Properties", ID_FILE_IMAGEPROPERTIES
+ MENUITEM "&Print", ID_FILE_PRINT
+ MENUITEM "E&xit", ID_FILE_EXIT
+ END
+ POPUP "Edit"
+ BEGIN
+ MENUITEM "&Undo (Ctrl+Z)", ID_EDIT_UNDO40007
+ MENUITEM "Undo &Level", ID_EDIT_UNDOLEVEL
+ MENUITEM "&Copy (Ctrl+C)", ID_EDIT_COPY40054
+ MENUITEM "&Paste (Ctrl+V)", ID_EDIT_PASTE40010
+ MENUITEM SEPARATOR
+ MENUITEM "View Mipmap", ID_EDIT_VIEWMIPMAP
+ MENUITEM "View Face", ID_EDIT_VIEWFACE
+ MENUITEM SEPARATOR
+ MENUITEM "View Image Number", ID_EDIT_VIEWIMAGENUMBER
+ MENUITEM "Next Image (+)", ID_EDIT_NEXTIMAGE
+ MENUITEM "Previous Image (-)", ID_EDIT_PREVIOUSIMAGE
+ MENUITEM SEPARATOR
+ MENUITEM "View Base Image", ID_EDIT_VIEWBASEIMAGE
+ END
+ POPUP "Convert"
+ BEGIN
+ MENUITEM "&Color Indexed", ID_CONVERT_COLORINDEXED
+ MENUITEM "&Luminance", ID_CONVERT_LUMINANCE
+ MENUITEM "L&uminance Alpha", ID_CONVERT_LUMINANCEALPHA
+ MENUITEM "&Rgb", ID_CONVERT_RGB
+ MENUITEM "Rgba", ID_CONVERT_RGBA
+ MENUITEM "&Bgr", ID_CONVERT_BGR
+ MENUITEM "Bgra", ID_CONVERT_BGRA
+ MENUITEM "&Alpha", ID_CONVERT_ALPHA
+ MENUITEM SEPARATOR
+ MENUITEM "Unsigned Byte", ID_CONVERT_UNSIGNEDBYTE
+ MENUITEM "Unsigned Short", ID_CONVERT_UNSIGNEDSHORT
+ MENUITEM "Unsigned Int", ID_CONVERT_UNSIGNEDINT
+ MENUITEM "Half", ID_CONVERT_HALF
+ MENUITEM "Float", ID_CONVERT_FLOAT
+ MENUITEM "Double", ID_CONVERT_DOUBLE
+ MENUITEM SEPARATOR
+ MENUITEM "Batch Convert", ID_CONVERT_BATCHCONVERT
+ END
+ POPUP "Tools"
+ BEGIN
+ MENUITEM "&Count Colors", ID_TOOLS_COUNTCOLORS
+ MENUITEM "&Background Color", ID_TOOLS_BACKGROUNDCOLOR
+ POPUP "&Filters"
+ BEGIN
+ MENUITEM "&Alienify", ID_FILTERS_ALIENIFY
+ MENUITEM "Apply &Wave", ID_FILTERS_APPLYWAVE
+ MENUITEM "Blur Average", ID_FILTERS_BLURAVERAGE
+ MENUITEM "Blur Gaussian", ID_FILTERS_BLURGAUSSIAN
+ POPUP "Ed&ge Detect"
+ BEGIN
+ MENUITEM "&Emboss", ID_EDGEDETECT_EMBOSS
+ MENUITEM "&Sobel", ID_EDGEDETECT_SOBEL, MENUBARBREAK
+ MENUITEM "&Prewitt", ID_EDGEDETECT_PREWITT
+ END
+ MENUITEM "&Emboss", ID_FILTERS_EMBOSS
+ MENUITEM "E&qualize", ID_FILTERS_EQUALIZE
+ MENUITEM "&Gamma Correct", ID_FILTERS_GAMMACORRECT
+ MENUITEM "&Negative", ID_FILTERS_NEGATIVE
+ MENUITEM "N&oise", ID_FILTERS_NOISE
+ MENUITEM "&Pixelize", ID_FILTERS_PIXELIZE
+ MENUITEM "&Sharpen", ID_FILTERS_SHARPEN
+ END
+ MENUITEM "Fli&p", ID_TOOLS_FLIP
+ MENUITEM "&Mirror", ID_TOOLS_MIRROR
+ MENUITEM "&Rotate", ID_TOOLS_ROTATE
+ MENUITEM "&Scale", ID_TOOLS_SCALE
+ MENUITEM "&Scale Box", ID_TOOLS_SCALEBOX
+ END
+ POPUP "Help"
+ BEGIN
+ MENUITEM "&About", ID_HELP_ABOUT
+ END
+END
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Icon
+//
+
+// Icon with lowest ID value placed first to ensure application icon
+// remains consistent on all systems.
+IDI_ICON1 ICON "resources\\DevIL Logo.ico"
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Accelerator
+//
+
+IDR_MENU1 ACCELERATORS
+BEGIN
+ "C", ID_EDIT_COPY40054, VIRTKEY, CONTROL, NOINVERT
+ "V", ID_EDIT_PASTE40010, VIRTKEY, CONTROL, NOINVERT
+ "O", ID_FILE_OPEN40001, VIRTKEY, CONTROL, NOINVERT
+ "U", ID_FILE_OPENURL, VIRTKEY, CONTROL, NOINVERT
+ "S", ID_FILE_SAVE40003, VIRTKEY, CONTROL, NOINVERT
+END
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Dialog
+//
+
+IDD_DIALOG_FILTER DIALOGEX 0, 0, 183, 79
+STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Dialog"
+FONT 8, "MS Shell Dlg", 400, 0, 0x1
+BEGIN
+ DEFPUSHBUTTON "OK",IDOK,39,46,50,14
+ PUSHBUTTON "Cancel",IDCANCEL,95,46,50,14
+ EDITTEXT IDC_FILTER_EDIT,19,28,147,12,ES_AUTOHSCROLL
+ LTEXT "Enter number of iterations.",IDC_FILTER_DESC_TEXT,40,15,88,8
+END
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// DESIGNINFO
+//
+
+#ifdef APSTUDIO_INVOKED
+GUIDELINES DESIGNINFO
+BEGIN
+ IDD_DIALOG_FILTER, DIALOG
+ BEGIN
+ LEFTMARGIN, 7
+ RIGHTMARGIN, 176
+ TOPMARGIN, 7
+ BOTTOMMARGIN, 72
+ END
+END
+#endif // APSTUDIO_INVOKED
+
+#endif // English (U.S.) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
+
diff --git a/DevIL/test/Benchmark/Benchmark.dsp b/DevIL/test/Benchmark/Benchmark.dsp
index 6b454847..9366b69a 100644
--- a/DevIL/test/Benchmark/Benchmark.dsp
+++ b/DevIL/test/Benchmark/Benchmark.dsp
@@ -1,96 +1,96 @@
-# Microsoft Developer Studio Project File - Name="Benchmark" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Benchmark - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "Benchmark.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "Benchmark.mak" CFG="Benchmark - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Benchmark - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "Benchmark - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Benchmark - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "..\bin"
-# PROP Intermediate_Dir "obj"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /Ob2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /pdb:none /machine:I386
-
-!ELSEIF "$(CFG)" == "Benchmark - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "..\bin\debug"
-# PROP Intermediate_Dir "obj/debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /pdb:none /debug /machine:I386
-
-!ENDIF
-
-# Begin Target
-
-# Name "Benchmark - Win32 Release"
-# Name "Benchmark - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\benchmark.c
-# End Source File
-# End Group
-# End Target
-# End Project
+# Microsoft Developer Studio Project File - Name="Benchmark" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Console Application" 0x0103
+
+CFG=Benchmark - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "Benchmark.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "Benchmark.mak" CFG="Benchmark - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "Benchmark - Win32 Release" (based on "Win32 (x86) Console Application")
+!MESSAGE "Benchmark - Win32 Debug" (based on "Win32 (x86) Console Application")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "Benchmark - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "..\bin"
+# PROP Intermediate_Dir "obj"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /Ob2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
+# SUBTRACT CPP /YX
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /pdb:none /machine:I386
+
+!ELSEIF "$(CFG)" == "Benchmark - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "..\bin\debug"
+# PROP Intermediate_Dir "obj/debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c
+# SUBTRACT CPP /YX
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /pdb:none /debug /machine:I386
+
+!ENDIF
+
+# Begin Target
+
+# Name "Benchmark - Win32 Release"
+# Name "Benchmark - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=.\benchmark.c
+# End Source File
+# End Group
+# End Target
+# End Project
diff --git a/DevIL/test/DDrawTest/DDrawTest.dsp b/DevIL/test/DDrawTest/DDrawTest.dsp
index da39a32f..2206176d 100644
--- a/DevIL/test/DDrawTest/DDrawTest.dsp
+++ b/DevIL/test/DDrawTest/DDrawTest.dsp
@@ -1,133 +1,133 @@
-# Microsoft Developer Studio Project File - Name="DDrawTest" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Application" 0x0101
-
-CFG=DDrawTest - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "DDrawTest.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "DDrawTest.mak" CFG="DDrawTest - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "DDrawTest - Win32 Release" (based on "Win32 (x86) Application")
-!MESSAGE "DDrawTest - Win32 Debug" (based on "Win32 (x86) Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "DDrawTest - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "obj"
-# PROP Intermediate_Dir "obj"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
-# ADD LINK32 ddraw.lib dxguid.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 /out:"../bin/DDrawTest.exe"
-
-!ELSEIF "$(CFG)" == "DDrawTest - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "obj\debug"
-# PROP Intermediate_Dir "obj\debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /FD /GZ /c
-# SUBTRACT CPP /YX
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 ddraw.lib dxguid.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /out:"../bin/debug/DDrawTest.exe" /pdbtype:sept
-
-!ENDIF
-
-# Begin Target
-
-# Name "DDrawTest - Win32 Release"
-# Name "DDrawTest - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\Source\beScreen.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Source\beSurface.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\test_window\DDrawTest.rc
-# End Source File
-# Begin Source File
-
-SOURCE=.\Source\DirectX.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\test_window\main.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# Begin Source File
-
-SOURCE=.\test_window\resources\graphic.ico
-# End Source File
-# Begin Source File
-
-SOURCE=".\test_window\resources\OpenIL Address Bar Logo.ico"
-# End Source File
-# End Group
-# End Target
-# End Project
+# Microsoft Developer Studio Project File - Name="DDrawTest" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Application" 0x0101
+
+CFG=DDrawTest - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "DDrawTest.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "DDrawTest.mak" CFG="DDrawTest - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "DDrawTest - Win32 Release" (based on "Win32 (x86) Application")
+!MESSAGE "DDrawTest - Win32 Debug" (based on "Win32 (x86) Application")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "DDrawTest - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "obj"
+# PROP Intermediate_Dir "obj"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /c
+# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /FD /c
+# SUBTRACT CPP /YX
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
+# ADD LINK32 ddraw.lib dxguid.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 /out:"../bin/DDrawTest.exe"
+
+!ELSEIF "$(CFG)" == "DDrawTest - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "obj\debug"
+# PROP Intermediate_Dir "obj\debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c
+# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /FD /GZ /c
+# SUBTRACT CPP /YX
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 ddraw.lib dxguid.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /out:"../bin/debug/DDrawTest.exe" /pdbtype:sept
+
+!ENDIF
+
+# Begin Target
+
+# Name "DDrawTest - Win32 Release"
+# Name "DDrawTest - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=.\Source\beScreen.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\Source\beSurface.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\test_window\DDrawTest.rc
+# End Source File
+# Begin Source File
+
+SOURCE=.\Source\DirectX.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\test_window\main.cpp
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# End Group
+# Begin Group "Resource Files"
+
+# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
+# Begin Source File
+
+SOURCE=.\test_window\resources\graphic.ico
+# End Source File
+# Begin Source File
+
+SOURCE=".\test_window\resources\OpenIL Address Bar Logo.ico"
+# End Source File
+# End Group
+# End Target
+# End Project
diff --git a/DevIL/test/DDrawTest/test_window/DDrawTest.rc b/DevIL/test/DDrawTest/test_window/DDrawTest.rc
index cbd47f4f..6a5596ea 100644
--- a/DevIL/test/DDrawTest/test_window/DDrawTest.rc
+++ b/DevIL/test/DDrawTest/test_window/DDrawTest.rc
@@ -1,261 +1,261 @@
-//Microsoft Developer Studio generated resource script.
-//
-#include "resource.h"
-
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-#define APSTUDIO_HIDDEN_SYMBOLS
-#include "windows.h"
-#undef APSTUDIO_HIDDEN_SYMBOLS
-#include "resource.h"
-
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
-/////////////////////////////////////////////////////////////////////////////
-// English (U.S.) resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-#ifdef _WIN32
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
-#pragma code_page(1252)
-#endif //_WIN32
-
-#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// TEXTINCLUDE
-//
-
-2 TEXTINCLUDE DISCARDABLE
-BEGIN
- "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
- "#include ""windows.h""\r\n"
- "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
- "#include ""resource.h""\r\n"
- "\0"
-END
-
-3 TEXTINCLUDE DISCARDABLE
-BEGIN
- "\r\n"
- "\0"
-END
-
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
- "resource.h\0"
-END
-
-#endif // APSTUDIO_INVOKED
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Icon
-//
-
-// Icon with lowest ID value placed first to ensure application icon
-// remains consistent on all systems.
-IDI_ICON1 ICON DISCARDABLE "resources\\graphic.ico"
-IDI_ICON10 ICON DISCARDABLE "resources\\OpenIL Address Bar Logo.ico"
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog
-//
-
-IDD_DIALOG_ABOUT DIALOG DISCARDABLE 0, 0, 278, 220
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "About OpenIL"
-FONT 8, "MS Sans Serif"
-BEGIN
- DEFPUSHBUTTON "OK",IDOK,113,198,50,14
- GROUPBOX "Info",IDC_STATIC,7,7,264,69
- GROUPBOX "Errors",IDC_STATIC,7,86,264,76
- LTEXT "Vendor:",IDC_STATIC,27,22,27,8
- LTEXT "Version:",IDC_STATIC,26,35,26,8
- CTEXT "",IDC_ERROR1,40,98,79,8
- LTEXT "Vendor",IDC_ABOUT_VENDOR,66,22,126,8
- LTEXT "Version String",IDC_ABOUT_VER_STRING,68,35,125,8
- LTEXT "Version Num",IDC_ABOUT_VER_NUM,68,46,38,8
- CTEXT "",IDC_ERROR4,158,98,79,8
- CTEXT "",IDC_ERROR6,158,142,79,8
- CTEXT "",IDC_ERROR2,40,119,79,8
- CTEXT "",IDC_ERROR5,158,120,79,8
- CTEXT "",IDC_ERROR3,40,142,79,8
- LTEXT "Visit the OpenIL website at http://www.openil.org",
- IDC_OPENIL_LINK,61,182,156,8
- ICON IDI_ICON10,IDC_STATIC,243,15,21,20,SS_REALSIZEIMAGE
-END
-
-IDD_DIALOG_FILTER DIALOG DISCARDABLE 0, 0, 186, 95
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "Filter Options"
-FONT 8, "MS Sans Serif"
-BEGIN
- DEFPUSHBUTTON "OK",IDOK,129,14,50,14
- PUSHBUTTON "Cancel",IDCANCEL,129,31,50,14
- LTEXT "Enter number of iterations, monkey fool",
- IDC_FILTER_DESC_TEXT,21,14,95,31
- EDITTEXT IDC_FILTER_EDIT,29,54,88,14,ES_AUTOHSCROLL
-END
-
-IDD_DIALOG_RESIZE DIALOG DISCARDABLE 0, 0, 266, 95
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "Resize Options"
-FONT 8, "MS Sans Serif"
-BEGIN
- DEFPUSHBUTTON "OK",IDOK,77,65,50,14
- PUSHBUTTON "Cancel",IDCANCEL,137,65,50,14
- LTEXT "Enter new image size:",IDC_STATIC,97,15,70,8
- EDITTEXT IDC_EDIT_RESIZE_X,33,36,40,14,ES_AUTOHSCROLL
- EDITTEXT IDC_EDIT_RESIZE_Y,109,36,40,14,ES_AUTOHSCROLL
- EDITTEXT IDC_EDIT_RESIZE_Z,187,37,40,14,ES_AUTOHSCROLL
- LTEXT "X:",IDC_STATIC,20,39,8,8
- LTEXT "Y:",IDC_STATIC,96,38,8,8
- LTEXT "Z:",IDC_STATIC,173,39,8,8
-END
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Menu
-//
-
-IDR_MENU1 MENU DISCARDABLE
-BEGIN
- POPUP "&File"
- BEGIN
- MENUITEM "&Open...\tCtrl+O", ID_FILE_LOAD
- MENUITEM "&Save...\tCtrl+S", ID_FILE_SAVE
- MENUITEM "E&xit\tEsc", ID_FILE_EXIT
- END
- POPUP "&Convert"
- BEGIN
- MENUITEM "&Rgb", ID_CONVERT_RGB
- MENUITEM "Rgba", ID_CONVERT_RGBA
- MENUITEM "&Bgr", ID_CONVERT_BGR
- MENUITEM "Bgra", ID_CONVERT_BGRA
- MENUITEM "&Luminance", ID_CONVERT_LUMINANCE
- END
- POPUP "&Edit"
- BEGIN
- MENUITEM "&Undo", ID_EDIT_UNDO
- MENUITEM "Undo &Level", ID_EDIT_UNDOLEVEL
- MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY
- MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE
- END
- POPUP "Effe&cts"
- BEGIN
- MENUITEM "&Count Colors", ID_EFFECTS_COUNTCOLORS
- POPUP "&Filters"
- BEGIN
- MENUITEM "&Alienify", ID_FILTER_ALIENIFY
- POPUP "&Bit Filters"
- BEGIN
- MENUITEM "Bit Filter &1", ID_FILTER_BITFILTER1
- MENUITEM "Bit Filter &2", ID_FILTER_BITFILTER2
- MENUITEM "Bit Filter &3", ID_FILTER_BITFILTER3
- END
- POPUP "Blur"
- BEGIN
- MENUITEM "&Average", ID_FILTERS_BLUR_AVERAGE
-
- MENUITEM "&Gaussian", ID_FILTERS_BLUR_GAUSSIAN
-
- END
- POPUP "Ed&ge Detect"
- BEGIN
- MENUITEM "&Emboss", ID_EFFECTS_FILTERS_EDGEDETECT_EMBOSS
-
- MENUITEM "Prewitt", ID_EFFECTS_FILTERS_EDGEDETECT_PREWITT
-
- MENUITEM "Sobel", ID_EFFECTS_FILTERS_EDGEDETECT_SOBEL
-
- END
- MENUITEM "&Emboss", ID_FILTER_EMBOSS
- MENUITEM "&Gamma Correct", ID_FILTER_GAMMACORRECT
- MENUITEM "&Negative", ID_FILTER_NEGATIVE
- MENUITEM "N&oise", ID_FILTER_NOISE
- MENUITEM "&Pixelize", ID_FILTER_PIXELIZE
- MENUITEM "&Sharpen", ID_FILTER_SHARPEN
- END
- MENUITEM "Fli&p", ID_EFFECTS_FLIP
- MENUITEM "&Mirror", ID_EFFECTS_MIRROR
- MENUITEM "&Rotate", ID_EFFECTS_FILTERS_ROTATE
- MENUITEM "&Scale", ID_EFFECTS_FILTERS_SCALE
- END
- POPUP "&Help"
- BEGIN
- MENUITEM "&About", ID_HELP_ABOUT
- END
-END
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// DESIGNINFO
-//
-
-#ifdef APSTUDIO_INVOKED
-GUIDELINES DESIGNINFO DISCARDABLE
-BEGIN
- IDD_DIALOG_ABOUT, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 271
- TOPMARGIN, 7
- BOTTOMMARGIN, 212
- END
-
- IDD_DIALOG_FILTER, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 179
- TOPMARGIN, 7
- BOTTOMMARGIN, 88
- END
-
- IDD_DIALOG_RESIZE, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 259
- TOPMARGIN, 7
- BOTTOMMARGIN, 88
- END
-END
-#endif // APSTUDIO_INVOKED
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Accelerator
-//
-
-IDR_MENU1 ACCELERATORS DISCARDABLE
-BEGIN
- "C", ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
- "O", ID_FILE_LOAD, VIRTKEY, CONTROL, NOINVERT
- "S", ID_FILE_SAVE, VIRTKEY, CONTROL, NOINVERT
- "V", ID_EDIT_PASTE, VIRTKEY, CONTROL, NOINVERT
-END
-
-#endif // English (U.S.) resources
-/////////////////////////////////////////////////////////////////////////////
-
-
-
-#ifndef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 3 resource.
-//
-
-
-/////////////////////////////////////////////////////////////////////////////
-#endif // not APSTUDIO_INVOKED
-
+//Microsoft Developer Studio generated resource script.
+//
+#include "resource.h"
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+#define APSTUDIO_HIDDEN_SYMBOLS
+#include "windows.h"
+#undef APSTUDIO_HIDDEN_SYMBOLS
+#include "resource.h"
+
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// English (U.S.) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
+#ifdef _WIN32
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+#pragma code_page(1252)
+#endif //_WIN32
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+2 TEXTINCLUDE DISCARDABLE
+BEGIN
+ "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
+ "#include ""windows.h""\r\n"
+ "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
+ "#include ""resource.h""\r\n"
+ "\0"
+END
+
+3 TEXTINCLUDE DISCARDABLE
+BEGIN
+ "\r\n"
+ "\0"
+END
+
+1 TEXTINCLUDE DISCARDABLE
+BEGIN
+ "resource.h\0"
+END
+
+#endif // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Icon
+//
+
+// Icon with lowest ID value placed first to ensure application icon
+// remains consistent on all systems.
+IDI_ICON1 ICON DISCARDABLE "resources\\graphic.ico"
+IDI_ICON10 ICON DISCARDABLE "resources\\OpenIL Address Bar Logo.ico"
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Dialog
+//
+
+IDD_DIALOG_ABOUT DIALOG DISCARDABLE 0, 0, 278, 220
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "About OpenIL"
+FONT 8, "MS Sans Serif"
+BEGIN
+ DEFPUSHBUTTON "OK",IDOK,113,198,50,14
+ GROUPBOX "Info",IDC_STATIC,7,7,264,69
+ GROUPBOX "Errors",IDC_STATIC,7,86,264,76
+ LTEXT "Vendor:",IDC_STATIC,27,22,27,8
+ LTEXT "Version:",IDC_STATIC,26,35,26,8
+ CTEXT "",IDC_ERROR1,40,98,79,8
+ LTEXT "Vendor",IDC_ABOUT_VENDOR,66,22,126,8
+ LTEXT "Version String",IDC_ABOUT_VER_STRING,68,35,125,8
+ LTEXT "Version Num",IDC_ABOUT_VER_NUM,68,46,38,8
+ CTEXT "",IDC_ERROR4,158,98,79,8
+ CTEXT "",IDC_ERROR6,158,142,79,8
+ CTEXT "",IDC_ERROR2,40,119,79,8
+ CTEXT "",IDC_ERROR5,158,120,79,8
+ CTEXT "",IDC_ERROR3,40,142,79,8
+ LTEXT "Visit the OpenIL website at http://www.openil.org",
+ IDC_OPENIL_LINK,61,182,156,8
+ ICON IDI_ICON10,IDC_STATIC,243,15,21,20,SS_REALSIZEIMAGE
+END
+
+IDD_DIALOG_FILTER DIALOG DISCARDABLE 0, 0, 186, 95
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Filter Options"
+FONT 8, "MS Sans Serif"
+BEGIN
+ DEFPUSHBUTTON "OK",IDOK,129,14,50,14
+ PUSHBUTTON "Cancel",IDCANCEL,129,31,50,14
+ LTEXT "Enter number of iterations, monkey fool",
+ IDC_FILTER_DESC_TEXT,21,14,95,31
+ EDITTEXT IDC_FILTER_EDIT,29,54,88,14,ES_AUTOHSCROLL
+END
+
+IDD_DIALOG_RESIZE DIALOG DISCARDABLE 0, 0, 266, 95
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Resize Options"
+FONT 8, "MS Sans Serif"
+BEGIN
+ DEFPUSHBUTTON "OK",IDOK,77,65,50,14
+ PUSHBUTTON "Cancel",IDCANCEL,137,65,50,14
+ LTEXT "Enter new image size:",IDC_STATIC,97,15,70,8
+ EDITTEXT IDC_EDIT_RESIZE_X,33,36,40,14,ES_AUTOHSCROLL
+ EDITTEXT IDC_EDIT_RESIZE_Y,109,36,40,14,ES_AUTOHSCROLL
+ EDITTEXT IDC_EDIT_RESIZE_Z,187,37,40,14,ES_AUTOHSCROLL
+ LTEXT "X:",IDC_STATIC,20,39,8,8
+ LTEXT "Y:",IDC_STATIC,96,38,8,8
+ LTEXT "Z:",IDC_STATIC,173,39,8,8
+END
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Menu
+//
+
+IDR_MENU1 MENU DISCARDABLE
+BEGIN
+ POPUP "&File"
+ BEGIN
+ MENUITEM "&Open...\tCtrl+O", ID_FILE_LOAD
+ MENUITEM "&Save...\tCtrl+S", ID_FILE_SAVE
+ MENUITEM "E&xit\tEsc", ID_FILE_EXIT
+ END
+ POPUP "&Convert"
+ BEGIN
+ MENUITEM "&Rgb", ID_CONVERT_RGB
+ MENUITEM "Rgba", ID_CONVERT_RGBA
+ MENUITEM "&Bgr", ID_CONVERT_BGR
+ MENUITEM "Bgra", ID_CONVERT_BGRA
+ MENUITEM "&Luminance", ID_CONVERT_LUMINANCE
+ END
+ POPUP "&Edit"
+ BEGIN
+ MENUITEM "&Undo", ID_EDIT_UNDO
+ MENUITEM "Undo &Level", ID_EDIT_UNDOLEVEL
+ MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY
+ MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE
+ END
+ POPUP "Effe&cts"
+ BEGIN
+ MENUITEM "&Count Colors", ID_EFFECTS_COUNTCOLORS
+ POPUP "&Filters"
+ BEGIN
+ MENUITEM "&Alienify", ID_FILTER_ALIENIFY
+ POPUP "&Bit Filters"
+ BEGIN
+ MENUITEM "Bit Filter &1", ID_FILTER_BITFILTER1
+ MENUITEM "Bit Filter &2", ID_FILTER_BITFILTER2
+ MENUITEM "Bit Filter &3", ID_FILTER_BITFILTER3
+ END
+ POPUP "Blur"
+ BEGIN
+ MENUITEM "&Average", ID_FILTERS_BLUR_AVERAGE
+
+ MENUITEM "&Gaussian", ID_FILTERS_BLUR_GAUSSIAN
+
+ END
+ POPUP "Ed&ge Detect"
+ BEGIN
+ MENUITEM "&Emboss", ID_EFFECTS_FILTERS_EDGEDETECT_EMBOSS
+
+ MENUITEM "Prewitt", ID_EFFECTS_FILTERS_EDGEDETECT_PREWITT
+
+ MENUITEM "Sobel", ID_EFFECTS_FILTERS_EDGEDETECT_SOBEL
+
+ END
+ MENUITEM "&Emboss", ID_FILTER_EMBOSS
+ MENUITEM "&Gamma Correct", ID_FILTER_GAMMACORRECT
+ MENUITEM "&Negative", ID_FILTER_NEGATIVE
+ MENUITEM "N&oise", ID_FILTER_NOISE
+ MENUITEM "&Pixelize", ID_FILTER_PIXELIZE
+ MENUITEM "&Sharpen", ID_FILTER_SHARPEN
+ END
+ MENUITEM "Fli&p", ID_EFFECTS_FLIP
+ MENUITEM "&Mirror", ID_EFFECTS_MIRROR
+ MENUITEM "&Rotate", ID_EFFECTS_FILTERS_ROTATE
+ MENUITEM "&Scale", ID_EFFECTS_FILTERS_SCALE
+ END
+ POPUP "&Help"
+ BEGIN
+ MENUITEM "&About", ID_HELP_ABOUT
+ END
+END
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// DESIGNINFO
+//
+
+#ifdef APSTUDIO_INVOKED
+GUIDELINES DESIGNINFO DISCARDABLE
+BEGIN
+ IDD_DIALOG_ABOUT, DIALOG
+ BEGIN
+ LEFTMARGIN, 7
+ RIGHTMARGIN, 271
+ TOPMARGIN, 7
+ BOTTOMMARGIN, 212
+ END
+
+ IDD_DIALOG_FILTER, DIALOG
+ BEGIN
+ LEFTMARGIN, 7
+ RIGHTMARGIN, 179
+ TOPMARGIN, 7
+ BOTTOMMARGIN, 88
+ END
+
+ IDD_DIALOG_RESIZE, DIALOG
+ BEGIN
+ LEFTMARGIN, 7
+ RIGHTMARGIN, 259
+ TOPMARGIN, 7
+ BOTTOMMARGIN, 88
+ END
+END
+#endif // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Accelerator
+//
+
+IDR_MENU1 ACCELERATORS DISCARDABLE
+BEGIN
+ "C", ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
+ "O", ID_FILE_LOAD, VIRTKEY, CONTROL, NOINVERT
+ "S", ID_FILE_SAVE, VIRTKEY, CONTROL, NOINVERT
+ "V", ID_EDIT_PASTE, VIRTKEY, CONTROL, NOINVERT
+END
+
+#endif // English (U.S.) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
+
diff --git a/DevIL/test/DDrawTest/test_window/WindowTest.cpp b/DevIL/test/DDrawTest/test_window/WindowTest.cpp
index 0d0578c2..9b421076 100644
--- a/DevIL/test/DDrawTest/test_window/WindowTest.cpp
+++ b/DevIL/test/DDrawTest/test_window/WindowTest.cpp
@@ -1,754 +1,754 @@
-#include <windows.h>
-#include <il\il.h>
-#include <il\ilu.h>
-#include <il\ilut.h>
-#include "resource.h"
-
-
-#pragma comment(lib, "opengl32.lib")
-
-
-LPCTSTR lpszAppName = "OpenIL Windows Test";
-HINSTANCE hInstance;
-HWND HWnd;
-
-
-#define MAX_W 400
-#define MAX_H 300
-ILuint NumUndosAllowed = 4, UndoSize = 0;
-ILuint Undos[11] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
-ILuint MainImage = 0;
-ILuint Width, Height, Depth; // Main image
-
-
-LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
-BOOL APIENTRY AboutDlgProc (HWND hDlg, UINT message, UINT wParam, LONG lParam);
-BOOL APIENTRY FilterDlgProc(HWND hDlg, UINT message, UINT wParam, LONG lParam);
-BOOL APIENTRY ResizeDlgProc(HWND hDlg, UINT message, UINT wParam, LONG lParam);
-void GenFilterString(char *Out, char **Strings);
-
-
-// Entry point of all Windows programs
-int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
-{
- MSG msg; // Windows message structure
- WNDCLASSEX wcex;
- HACCEL hAccelTable;
- HWND hWnd; // Storeage for window handle
-
- hInstance = hInst;
-
- wcex.cbSize = sizeof(WNDCLASSEX);
-
- wcex.style = CS_HREDRAW | CS_VREDRAW;
- wcex.lpfnWndProc = (WNDPROC)WndProc;
- wcex.cbClsExtra = 0;
- wcex.cbWndExtra = 0;
- wcex.hInstance = hInstance;
- wcex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_ICON1));
- wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
- wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
- wcex.lpszMenuName = (LPCSTR)IDR_MENU1;
- wcex.lpszClassName = lpszAppName;
- wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_ICON1);
-
- RegisterClassEx(&wcex);
-
-
- // Create the main application window
- hWnd = CreateWindow(lpszAppName, lpszAppName, WS_OVERLAPPEDWINDOW, 50, 50, 400, 300,
- NULL, NULL, hInstance, NULL);
- if (hWnd == NULL)
- return FALSE;
-
- // Display the window
- //ShowWindow(hWnd, SW_SHOW);
- ShowWindow(hWnd, nCmdShow);
- UpdateWindow(hWnd);
-
- hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDR_MENU1);
-
- // Process application messages until the application closes
- while (GetMessage(&msg, NULL, 0, 0)) {
- if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) {
- TranslateMessage(&msg);
- DispatchMessage(&msg);
- }
- }
-
- UnregisterClass(lpszAppName, hInstance);
-
- return msg.wParam;
-}
-
-
-ILuint FilterType;
-ILuint FilterParamInt;
-ILfloat FilterParamFloat;
-
-
-PBITMAPINFO CreateBitmapInfoStruct(HWND hwnd, HBITMAP hBmp, PBITMAPINFO pbmi)
-{
- BITMAP bmp;
- WORD cClrBits;
-
- // Retrieve the bitmap's color format, width, and height.
- GetObject(hBmp, sizeof(BITMAP), (LPSTR)&bmp);
-
- // Convert the color format to a count of bits.
- cClrBits = (WORD)(bmp.bmPlanes * bmp.bmBitsPixel);
- if (cClrBits == 1)
- cClrBits = 1;
- else if (cClrBits <= 4)
- cClrBits = 4;
- else if (cClrBits <= 8)
- cClrBits = 8;
- else if (cClrBits <= 16)
- cClrBits = 16;
- else if (cClrBits <= 24)
- cClrBits = 24;
- else cClrBits = 32;
-
- // Allocate memory for the BITMAPINFO structure. (This structure
- // contains a BITMAPINFOHEADER structure and an array of RGBQUAD
- // data structures.)
-
- /*if (cClrBits != 24)
- pbmi = (PBITMAPINFO) LocalAlloc(LPTR,
- sizeof(BITMAPINFOHEADER) +
- sizeof(RGBQUAD) * (1<< cClrBits));
-
- // There is no RGBQUAD array for the 24-bit-per-pixel format.
-
- else
- pbmi = (PBITMAPINFO) LocalAlloc(LPTR,
- sizeof(BITMAPINFOHEADER)); */
-
- // Initialize the fields in the BITMAPINFO structure.
-
- pbmi->bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
- pbmi->bmiHeader.biWidth = bmp.bmWidth;
- pbmi->bmiHeader.biHeight = bmp.bmHeight;
- pbmi->bmiHeader.biPlanes = bmp.bmPlanes;
- pbmi->bmiHeader.biBitCount = bmp.bmBitsPixel;
- if (cClrBits < 24)
- pbmi->bmiHeader.biClrUsed = (1<<cClrBits);
-
- // If the bitmap is not compressed, set the BI_RGB flag.
- pbmi->bmiHeader.biCompression = BI_RGB;
-
- // Compute the number of bytes in the array of color
- // indices and store the result in biSizeImage.
- // Width must be DWORD aligned unless bitmap is RLE compressed.
- pbmi->bmiHeader.biSizeImage = (pbmi->bmiHeader.biWidth + 15) /16
- * pbmi->bmiHeader.biHeight
- * cClrBits;
- // Set biClrImportant to 0, indicating that all of the
- // device colors are important.
- pbmi->bmiHeader.biClrImportant = 0;
- return pbmi;
- }
-
-// Window procedure, handles all messages for this program
-LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
-{
- static HDC hDC; // Private GDI Device context
- static HMENU hMenu; // Handle to the menu
- static ILuint Colours;
- static RECT Rect;
-
- static char OpenFileName[512];
- static char OpenFilter[512];
- static char SaveFileName[512];
- static char SaveFilter[512];
- static char *OFilter[] = {
- "All Files (*.*)", "*.*",
- "Jpeg Files (*.jpe, *.jpg, *.jpeg)", "*.jpe;*.jpg;*.jpeg",
- "Microsoft Bitmap Files (*.bmp)", "*.bmp",
- "Microsoft Icon Files (*.ico)", "*.ico",
- "Portable AnyMap Files (*.pbm, *.pgm, *.ppm)", "*.pbm;*.pgm;*.ppm",
- "Portable Network Graphics Files (*.png)", "*.png",
- "Sgi Files (*.sgi)", "*.bw;*.rgb;*.rgba;*.sgi",
- "Targa Files (*.tga)", "*.tga",
- "Tiff Files (*.tif)", "*.tif;*.tiff",
- "ZSoft Pcx Files (*.pcx)", "*.pcx",
- "\0\0"
- };
- static char *SFilter[] = {
- "All Files (*.*)", "*.*",
- "C-Style Header (*.h)", "*.h",
- "Jpeg Files (*.jpe, *.jpg, *.jpeg)", "*.jpe;*.jpg;*.jpeg",
- "Microsoft Bitmap Files (*.bmp)", "*.bmp",
- "Portable AnyMap Files (*.pbm, *.pgm, *.ppm)", "*.pbm;*.pgm;*.ppm",
- "Portable Network Graphics Files (*.png)", "*.png",
- "Sgi Files (*.sgi)", "*.bw;*.rgb;*.rgba;*.sgi",
- "Targa Files (*.tga)", "*.tga",
- "ZSoft Pcx Files (*.pcx)", "*.pcx",
- "\0\0"
- };
-
-
- static OPENFILENAME Ofn = {
- sizeof(OPENFILENAME),
- hWnd,
- NULL,
- OpenFilter,
- NULL,
- 0,
- 0,
- OpenFileName,
- 512,
- NULL,
- 0,
- NULL,
- NULL,
- OFN_HIDEREADONLY | OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST,
- 0,
- 0,
- NULL,
- NULL,
- NULL,
- NULL
- };
-
- switch (message)
- {
- // Window creation, setup for OpenGL
- case WM_CREATE:
- GenFilterString(OpenFilter, OFilter);
- GenFilterString(SaveFilter, SFilter);
-
- // Store the device context
- hDC = GetDC(hWnd);
-
- break;
-
- // Window is being destroyed, cleanup
- case WM_DESTROY:
- // Tell the application to terminate after the window
- // is gone.
- PostQuitMessage(0);
- break;
-
- // The painting function. This message sent by Windows
- // whenever the screen needs updating.
- case WM_PAINT:
-
- PAINTSTRUCT ps;
- hDC = BeginPaint(hWnd, &ps);
-
-HBITMAP hbmp;
-HDC hMemDC;
-BITMAPINFOHEADER lpInfo;
-
-
- //SelectObject(hdc, hbmp);
-
-
-hMemDC = CreateCompatibleDC(hDC);
-//hbmp = (HBITMAP)LoadImage(NULL, "rgb32.bmp", IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE);
-
-
-/*ILuint Id;
-ilGenImages(1, &Id);
-ilBindImage(Id);
-ilLoadImage("rgb32.bmp");*/
-hbmp = ilutConvertToHBitmap(hDC);
-//ilDeleteImages(1, &Id);
-
-
-/*CreateBitmapInfoStruct(hWnd, hbmp, (PBITMAPINFO)&lpInfo);
-hbmp = (HBITMAP)SelectObject(hMemDC, hbmp);
-BitBlt(hdc, 0, 0, (WORD)lpInfo.biWidth, (WORD)lpInfo.biHeight,
- hMemDC, 0, 0, SRCCOPY);
-DeleteObject(SelectObject(hMemDC, hbmp));
-DeleteDC(hMemDC);*/
-
-
-/*SetDIBitsToDevice(hDC, 0, 0, ilGetInteger(IL_IMAGE_WIDTH), ilGetInteger(IL_IMAGE_HEIGHT),
- 0, 0, 0, ilGetInteger(IL_IMAGE_HEIGHT), ilGetData(), (BITMAPINFO*)&lpInfo, DIB_RGB_COLORS); */
-
-ilBindImage(MainImage);
-hbmp = ilutConvertToHBitmap(hDC);
-CreateBitmapInfoStruct(hWnd, hbmp, (PBITMAPINFO)&lpInfo);
-hbmp = (HBITMAP)SelectObject(hMemDC, hbmp);
-BitBlt(hDC, 0, 0, (WORD)lpInfo.biWidth, (WORD)lpInfo.biHeight,
- hMemDC, 0, 0, SRCCOPY);
-DeleteObject(SelectObject(hMemDC, hbmp));
-DeleteDC(hMemDC);
-
-
-
-//ilDeleteImages(1, &Id);
-
-
-//DeleteObject(hbmp);
-
- EndPaint(hWnd, &ps);
- ValidateRect(hWnd, NULL);
- break;
-
- case WM_KEYDOWN:
- if (wParam == VK_ESCAPE)
- PostMessage(hWnd, WM_CLOSE, 0, 0);
- //PostQuitMessage(0);
-
- InvalidateRect(hWnd, NULL, FALSE);
- break;
-
- case WM_COMMAND:
- FilterType = LOWORD(wParam);
-
- switch (LOWORD(wParam))
- {
- case ID_FILE_EXIT:
- DestroyWindow(hWnd);
- return (0L);
-
- case ID_HELP_ABOUT:
- DialogBox (hInstance,
- MAKEINTRESOURCE(IDD_DIALOG_ABOUT),
- hWnd,
- AboutDlgProc);
- return (0L);
-
- case ID_EFFECTS_COUNTCOLORS:
- Colours = iluColoursUsed();
- char ColourString[255];
- sprintf(ColourString, "The number of colours in this image is: %d", Colours);
- MessageBox(NULL, ColourString, "Colour Count", MB_OK);
- return (0L);
-
- case ID_EDIT_COPY:
- ilutSetWinClipboard();
- return (0L);
-
- case ID_FILE_LOAD:
- sprintf(OpenFileName, "*.*");
- Ofn.lpstrFilter = OpenFilter;
- Ofn.lpstrFile = OpenFileName;
- Ofn.lpstrTitle = "Open File";
- Ofn.Flags = OFN_HIDEREADONLY | OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST;
-
- if (!GetOpenFileName(&Ofn))
- return (0L);
-
- ilDeleteImages(UndoSize, Undos);
- UndoSize = 0;
-
- ilGenImages(1, &MainImage);
- ilBindImage(MainImage);
- Undos[0] = MainImage;
- if (!ilLoadImage(OpenFileName))
- return (0L);
-
-ilutGetWinClipboard();
- ilConvertImage(IL_BGRA);
- ilutRenderer(ILUT_DIRECTX);
-
- Width = ilGetInteger(IL_IMAGE_WIDTH);
- Height = ilGetInteger(IL_IMAGE_HEIGHT);
- Depth = ilGetInteger(IL_IMAGE_DEPTH);
-
- GetWindowRect(hWnd, &Rect);
- SetWindowPos(hWnd, HWND_TOP, Rect.left, Rect.top, Width, Height + 46, SWP_SHOWWINDOW);
- return (0L);
-
- case ID_FILE_SAVE:
- sprintf(SaveFileName, "monkey.tga");
- Ofn.lpstrFilter = SaveFilter;
- Ofn.lpstrFile = SaveFileName;
- Ofn.lpstrTitle = "Save File";
- Ofn.Flags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT;
-
- if (!GetSaveFileName(&Ofn))
- return (0L);
-
- ilEnable(IL_FILE_OVERWRITE);
- ilSaveImage(SaveFileName);
- return (0L);
-
- case ID_EDIT_UNDOLEVEL:
- if (DialogBox(hInstance, MAKEINTRESOURCE(IDD_DIALOG_FILTER),
- hWnd, FilterDlgProc) == TRUE) {
- NumUndosAllowed = FilterParamInt <= 10 ? FilterParamInt : 10;
- }
- return (0L);
-
- case ID_EDIT_UNDO:
- if (UndoSize && NumUndosAllowed) {
- ilDeleteImages(1, &Undos[UndoSize]);
- ilBindImage(Undos[--UndoSize]);
- InvalidateRect(hWnd, NULL, FALSE);
- }
- return (0L);
- }
-
-
- if (++UndoSize > NumUndosAllowed) {
- if (NumUndosAllowed > 0) {
- UndoSize = NumUndosAllowed;
- ilDeleteImages(1, &Undos[0]);
- memcpy(Undos, Undos+1, NumUndosAllowed * sizeof(ILuint));
- ilBindImage(Undos[UndoSize]);
- }
- }
-
- if (NumUndosAllowed > 0) {
- ilGenImages(1, &Undos[UndoSize]);
- ilBindImage(Undos[UndoSize]);
- ilCopyImage(Undos[UndoSize-1]);
- MainImage = Undos[UndoSize]; // ???
- }
-
-
-
- switch (LOWORD(wParam))
- {
- case ID_CONVERT_RGB:
- ilConvertImage(IL_RGB);
- InvalidateRect(hWnd,NULL,FALSE);
- break;
-
- case ID_CONVERT_RGBA:
- ilConvertImage(IL_RGBA);
- InvalidateRect(hWnd,NULL,FALSE);
- break;
-
- case ID_CONVERT_BGR:
- ilConvertImage(IL_BGR);
- InvalidateRect(hWnd,NULL,FALSE);
- break;
-
- case ID_CONVERT_BGRA:
- ilConvertImage(IL_BGRA);
- InvalidateRect(hWnd,NULL,FALSE);
- break;
-
- case ID_CONVERT_LUMINANCE:
- ilConvertImage(IL_LUMINANCE);
- InvalidateRect(hWnd,NULL,FALSE);
- break;
-
- case ID_EFFECTS_FLIP:
- iluFlipImage();
- InvalidateRect(hWnd,NULL,FALSE);
- break;
-
- case ID_EFFECTS_MIRROR:
- iluMirror();
- InvalidateRect(hWnd,NULL,FALSE);
- break;
-
- case ID_FILTER_EMBOSS:
- iluEmboss();
- InvalidateRect(hWnd,NULL,FALSE);
- break;
-
- case ID_FILTER_ALIENIFY:
- iluAlienify();
- InvalidateRect(hWnd,NULL,FALSE);
- break;
-
- case ID_FILTER_BITFILTER1:
- iluBitFilter1();
- InvalidateRect(hWnd,NULL,FALSE);
- break;
-
- case ID_FILTER_BITFILTER2:
- iluBitFilter2();
- InvalidateRect(hWnd,NULL,FALSE);
- break;
-
- case ID_FILTER_BITFILTER3:
- iluBitFilter3();
- InvalidateRect(hWnd,NULL,FALSE);
- break;
-
- case ID_FILTER_NEGATIVE:
- iluNegative();
- InvalidateRect(hWnd,NULL,FALSE);
- break;
-
- case ID_EFFECTS_FILTERS_EDGEDETECT_SOBEL:
- iluEdgeDetectS();
- InvalidateRect(hWnd,NULL,FALSE);
- break;
-
- case ID_EFFECTS_FILTERS_EDGEDETECT_PREWITT:
- iluEdgeDetectP();
- InvalidateRect(hWnd,NULL,FALSE);
- break;
-
- case ID_FILTER_NOISE:
- if (DialogBox(hInstance, MAKEINTRESOURCE(IDD_DIALOG_FILTER),
- hWnd, FilterDlgProc) == TRUE) {
- iluNoisify(FilterParamInt);
- InvalidateRect(hWnd,NULL,FALSE);
- }
- break;
-
- case ID_FILTER_PIXELIZE:
- if (DialogBox(hInstance, MAKEINTRESOURCE(IDD_DIALOG_FILTER),
- hWnd, FilterDlgProc) == TRUE) {
- iluPixelize(FilterParamInt);
- InvalidateRect(hWnd,NULL,FALSE);
- }
- break;
-
- case ID_FILTERS_BLUR_AVERAGE:
- if (DialogBox(hInstance, MAKEINTRESOURCE(IDD_DIALOG_FILTER),
- hWnd, FilterDlgProc) == TRUE) {
- iluBlurAvg(FilterParamInt);
- InvalidateRect(hWnd,NULL,FALSE);
- }
- break;
-
- case ID_FILTERS_BLUR_GAUSSIAN:
- if (DialogBox(hInstance, MAKEINTRESOURCE(IDD_DIALOG_FILTER),
- hWnd, FilterDlgProc) == TRUE) {
- iluBlurGaussian(FilterParamInt);
- InvalidateRect(hWnd,NULL,FALSE);
- }
- break;
-
- case ID_FILTER_GAMMACORRECT:
- if (DialogBox(hInstance, MAKEINTRESOURCE(IDD_DIALOG_FILTER),
- hWnd, FilterDlgProc) == TRUE) {
- iluGammaCorrectScale(FilterParamFloat);
- InvalidateRect(hWnd,NULL,FALSE);
- }
- break;
-
- case ID_FILTER_SHARPEN:
- if (DialogBox(hInstance, MAKEINTRESOURCE(IDD_DIALOG_FILTER),
- hWnd, FilterDlgProc) == TRUE) {
- iluSharpen(FilterParamFloat, 1);
- InvalidateRect(hWnd,NULL,FALSE);
- }
- break;
-
- case ID_EFFECTS_FILTERS_SCALE:
- HWnd = hWnd;
- iluImageParameter(ILU_FILTER, ILU_BILINEAR);
- DialogBox(hInstance, MAKEINTRESOURCE(IDD_DIALOG_RESIZE), hWnd, ResizeDlgProc);
- break;
-
- }
- break;
-
-
-
- default: // Passes it on if unproccessed
- return (DefWindowProc(hWnd, message, wParam, lParam));
-
- }
-
-
- return (0L);
-}
-
-
-void GenFilterString(char *Out, char **Strings)
-{
- int OutPos = 0, StringPos = 0;
-
- while (Strings[StringPos][0] != 0) {
- sprintf(Out + OutPos, Strings[StringPos]);
- OutPos += strlen(Strings[StringPos++]) + 1;
- }
-
- Out[OutPos++] = 0;
- Out[OutPos] = 0;
-
- return;
-}
-
-
-// Dialog procedure.
-BOOL APIENTRY AboutDlgProc(HWND hDlg, UINT message, UINT wParam, LONG lParam)
-{
- switch (message)
- {
- // Initialize the dialog box
- case WM_INITDIALOG:
- {
- int i;
- ILenum ilError;
- char VersionNum[256];
-
- sprintf(VersionNum, "Num: %d", ilGetInteger(IL_VERSION_NUM));
-
- // ilGetString demo
- SetDlgItemText(hDlg, IDC_ABOUT_VENDOR, ilGetString(IL_VENDOR));
- SetDlgItemText(hDlg, IDC_ABOUT_VER_STRING, ilGetString(IL_VERSION));
- SetDlgItemText(hDlg, IDC_ABOUT_VER_NUM, VersionNum);
-
- // Display any recent error messages
- for (i = 0; i < 6; i++) {
- ilError = ilGetError();
- if (ilError == IL_NO_ERROR)
- break;
- SetDlgItemText(hDlg, IDC_ERROR1+i, iluErrorString(ilError));
- }
-
- return (TRUE);
- }
- break;
-
- // Process command messages
- case WM_COMMAND:
- {
- // Validate and Make the changes
- if (LOWORD(wParam) == IDOK)
- EndDialog(hDlg, TRUE);
- if (LOWORD(wParam) == IDCANCEL)
- EndDialog(hDlg, FALSE);
- }
- break;
-
- // Closed from sysbox
- case WM_CLOSE:
- EndDialog(hDlg,TRUE);
- break;
- }
-
- return FALSE;
-}
-
-
-// Dialog procedure.
-BOOL APIENTRY FilterDlgProc(HWND hDlg, UINT message, UINT wParam, LONG lParam)
-{
- char EditString[255];
-
- switch (message)
- {
- // Initialize the dialog box
- case WM_INITDIALOG:
- {
- switch (FilterType)
- {
- case ID_FILTER_PIXELIZE:
- SetDlgItemText(hDlg, IDC_FILTER_DESC_TEXT, "Width of pixelized block:");
- SetDlgItemText(hDlg, IDC_FILTER_EDIT, "1");
- break;
- case ID_FILTER_NOISE:
- SetDlgItemText(hDlg, IDC_FILTER_DESC_TEXT, "Amount of noise threshold:");
- SetDlgItemText(hDlg, IDC_FILTER_EDIT, "1");
- break;
- case ID_FILTERS_BLUR_AVERAGE:
- SetDlgItemText(hDlg, IDC_FILTER_DESC_TEXT, "Number of iterations:");
- SetDlgItemText(hDlg, IDC_FILTER_EDIT, "1");
- break;
- case ID_FILTERS_BLUR_GAUSSIAN:
- SetDlgItemText(hDlg, IDC_FILTER_DESC_TEXT, "Number of iterations:");
- SetDlgItemText(hDlg, IDC_FILTER_EDIT, "1");
- break;
- case ID_FILTER_GAMMACORRECT:
- SetDlgItemText(hDlg, IDC_FILTER_DESC_TEXT, "Amount of gamma correction:");
- SetDlgItemText(hDlg, IDC_FILTER_EDIT, "1.0");
- break;
- case ID_FILTER_SHARPEN:
- SetDlgItemText(hDlg, IDC_FILTER_DESC_TEXT, "Sharpening factor:");
- SetDlgItemText(hDlg, IDC_FILTER_EDIT, "1.0");
- break;
-
- case ID_EDIT_UNDOLEVEL:
- SetDlgItemText(hDlg, IDC_FILTER_DESC_TEXT, "Set level of undo:");
- SetDlgItemText(hDlg, IDC_FILTER_EDIT, "4");
- break;
-
- }
-
- return TRUE;
- }
- break;
-
- // Process command messages
- case WM_COMMAND:
- {
- // Validate and Make the changes
- if (LOWORD(wParam) == IDOK) {
- GetDlgItemText(hDlg, IDC_FILTER_EDIT, EditString, 255);
- FilterParamInt = atoi(EditString);
- FilterParamFloat = (float)atof(EditString);
- EndDialog(hDlg, TRUE);
- }
- if (LOWORD(wParam) == IDCANCEL) {
- EndDialog(hDlg, FALSE);
- }
- }
- break;
-
- // Closed from sysbox
- case WM_CLOSE:
- EndDialog(hDlg,TRUE);
- break;
- }
-
- return FALSE;
-}
-
-
-// Dialog procedure.
-BOOL APIENTRY ResizeDlgProc(HWND hDlg, UINT message, UINT wParam, LONG lParam)
-{
- static char x[255], y[255], z[255];
- static ILuint xsize, ysize, zsize;
- static RECT Rect;
-
- switch (message)
- {
- // Initialize the dialog box
- case WM_INITDIALOG:
- {
- sprintf(x, "%d", Width);
- sprintf(y, "%d", Height);
- sprintf(z, "%d", Depth);
- SetDlgItemText(hDlg, IDC_EDIT_RESIZE_X, x);
- SetDlgItemText(hDlg, IDC_EDIT_RESIZE_Y, y);
- SetDlgItemText(hDlg, IDC_EDIT_RESIZE_Z, z);
- return TRUE;
- }
- break;
-
- // Process command messages
- case WM_COMMAND:
- {
- // Validate and Make the changes
- if (LOWORD(wParam) == IDOK) {
- GetDlgItemText(hDlg, IDC_EDIT_RESIZE_X, x, 255);
- GetDlgItemText(hDlg, IDC_EDIT_RESIZE_Y, y, 255);
- GetDlgItemText(hDlg, IDC_EDIT_RESIZE_Z, z, 255);
- xsize = atoi(x);
- ysize = atoi(y);
- zsize = atoi(z);
- if (xsize && ysize && zsize) {
- iluScale(xsize, ysize, zsize);
-
- Width = ilGetInteger(IL_IMAGE_WIDTH);
- Height = ilGetInteger(IL_IMAGE_HEIGHT);
- Depth = ilGetInteger(IL_IMAGE_DEPTH);
-
- GetWindowRect(HWnd, &Rect);
- SetWindowPos(HWnd, HWND_TOP, Rect.left, Rect.top, Width, Height + 46, SWP_SHOWWINDOW);
-
- InvalidateRect(HWnd, NULL, FALSE);
- }
- EndDialog(hDlg, TRUE);
- }
- if (LOWORD(wParam) == IDCANCEL) {
- EndDialog(hDlg, FALSE);
- }
- }
- break;
-
- // Closed from sysbox
- case WM_CLOSE:
- EndDialog(hDlg,TRUE);
- break;
- }
-
- return FALSE;
+#include <windows.h>
+#include <il\il.h>
+#include <il\ilu.h>
+#include <il\ilut.h>
+#include "resource.h"
+
+
+#pragma comment(lib, "opengl32.lib")
+
+
+LPCTSTR lpszAppName = "OpenIL Windows Test";
+HINSTANCE hInstance;
+HWND HWnd;
+
+
+#define MAX_W 400
+#define MAX_H 300
+ILuint NumUndosAllowed = 4, UndoSize = 0;
+ILuint Undos[11] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
+ILuint MainImage = 0;
+ILuint Width, Height, Depth; // Main image
+
+
+LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
+BOOL APIENTRY AboutDlgProc (HWND hDlg, UINT message, UINT wParam, LONG lParam);
+BOOL APIENTRY FilterDlgProc(HWND hDlg, UINT message, UINT wParam, LONG lParam);
+BOOL APIENTRY ResizeDlgProc(HWND hDlg, UINT message, UINT wParam, LONG lParam);
+void GenFilterString(char *Out, char **Strings);
+
+
+// Entry point of all Windows programs
+int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
+{
+ MSG msg; // Windows message structure
+ WNDCLASSEX wcex;
+ HACCEL hAccelTable;
+ HWND hWnd; // Storeage for window handle
+
+ hInstance = hInst;
+
+ wcex.cbSize = sizeof(WNDCLASSEX);
+
+ wcex.style = CS_HREDRAW | CS_VREDRAW;
+ wcex.lpfnWndProc = (WNDPROC)WndProc;
+ wcex.cbClsExtra = 0;
+ wcex.cbWndExtra = 0;
+ wcex.hInstance = hInstance;
+ wcex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_ICON1));
+ wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
+ wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
+ wcex.lpszMenuName = (LPCSTR)IDR_MENU1;
+ wcex.lpszClassName = lpszAppName;
+ wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_ICON1);
+
+ RegisterClassEx(&wcex);
+
+
+ // Create the main application window
+ hWnd = CreateWindow(lpszAppName, lpszAppName, WS_OVERLAPPEDWINDOW, 50, 50, 400, 300,
+ NULL, NULL, hInstance, NULL);
+ if (hWnd == NULL)
+ return FALSE;
+
+ // Display the window
+ //ShowWindow(hWnd, SW_SHOW);
+ ShowWindow(hWnd, nCmdShow);
+ UpdateWindow(hWnd);
+
+ hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDR_MENU1);
+
+ // Process application messages until the application closes
+ while (GetMessage(&msg, NULL, 0, 0)) {
+ if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) {
+ TranslateMessage(&msg);
+ DispatchMessage(&msg);
+ }
+ }
+
+ UnregisterClass(lpszAppName, hInstance);
+
+ return msg.wParam;
+}
+
+
+ILuint FilterType;
+ILuint FilterParamInt;
+ILfloat FilterParamFloat;
+
+
+PBITMAPINFO CreateBitmapInfoStruct(HWND hwnd, HBITMAP hBmp, PBITMAPINFO pbmi)
+{
+ BITMAP bmp;
+ WORD cClrBits;
+
+ // Retrieve the bitmap's color format, width, and height.
+ GetObject(hBmp, sizeof(BITMAP), (LPSTR)&bmp);
+
+ // Convert the color format to a count of bits.
+ cClrBits = (WORD)(bmp.bmPlanes * bmp.bmBitsPixel);
+ if (cClrBits == 1)
+ cClrBits = 1;
+ else if (cClrBits <= 4)
+ cClrBits = 4;
+ else if (cClrBits <= 8)
+ cClrBits = 8;
+ else if (cClrBits <= 16)
+ cClrBits = 16;
+ else if (cClrBits <= 24)
+ cClrBits = 24;
+ else cClrBits = 32;
+
+ // Allocate memory for the BITMAPINFO structure. (This structure
+ // contains a BITMAPINFOHEADER structure and an array of RGBQUAD
+ // data structures.)
+
+ /*if (cClrBits != 24)
+ pbmi = (PBITMAPINFO) LocalAlloc(LPTR,
+ sizeof(BITMAPINFOHEADER) +
+ sizeof(RGBQUAD) * (1<< cClrBits));
+
+ // There is no RGBQUAD array for the 24-bit-per-pixel format.
+
+ else
+ pbmi = (PBITMAPINFO) LocalAlloc(LPTR,
+ sizeof(BITMAPINFOHEADER)); */
+
+ // Initialize the fields in the BITMAPINFO structure.
+
+ pbmi->bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
+ pbmi->bmiHeader.biWidth = bmp.bmWidth;
+ pbmi->bmiHeader.biHeight = bmp.bmHeight;
+ pbmi->bmiHeader.biPlanes = bmp.bmPlanes;
+ pbmi->bmiHeader.biBitCount = bmp.bmBitsPixel;
+ if (cClrBits < 24)
+ pbmi->bmiHeader.biClrUsed = (1<<cClrBits);
+
+ // If the bitmap is not compressed, set the BI_RGB flag.
+ pbmi->bmiHeader.biCompression = BI_RGB;
+
+ // Compute the number of bytes in the array of color
+ // indices and store the result in biSizeImage.
+ // Width must be DWORD aligned unless bitmap is RLE compressed.
+ pbmi->bmiHeader.biSizeImage = (pbmi->bmiHeader.biWidth + 15) /16
+ * pbmi->bmiHeader.biHeight
+ * cClrBits;
+ // Set biClrImportant to 0, indicating that all of the
+ // device colors are important.
+ pbmi->bmiHeader.biClrImportant = 0;
+ return pbmi;
+ }
+
+// Window procedure, handles all messages for this program
+LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
+{
+ static HDC hDC; // Private GDI Device context
+ static HMENU hMenu; // Handle to the menu
+ static ILuint Colours;
+ static RECT Rect;
+
+ static char OpenFileName[512];
+ static char OpenFilter[512];
+ static char SaveFileName[512];
+ static char SaveFilter[512];
+ static char *OFilter[] = {
+ "All Files (*.*)", "*.*",
+ "Jpeg Files (*.jpe, *.jpg, *.jpeg)", "*.jpe;*.jpg;*.jpeg",
+ "Microsoft Bitmap Files (*.bmp)", "*.bmp",
+ "Microsoft Icon Files (*.ico)", "*.ico",
+ "Portable AnyMap Files (*.pbm, *.pgm, *.ppm)", "*.pbm;*.pgm;*.ppm",
+ "Portable Network Graphics Files (*.png)", "*.png",
+ "Sgi Files (*.sgi)", "*.bw;*.rgb;*.rgba;*.sgi",
+ "Targa Files (*.tga)", "*.tga",
+ "Tiff Files (*.tif)", "*.tif;*.tiff",
+ "ZSoft Pcx Files (*.pcx)", "*.pcx",
+ "\0\0"
+ };
+ static char *SFilter[] = {
+ "All Files (*.*)", "*.*",
+ "C-Style Header (*.h)", "*.h",
+ "Jpeg Files (*.jpe, *.jpg, *.jpeg)", "*.jpe;*.jpg;*.jpeg",
+ "Microsoft Bitmap Files (*.bmp)", "*.bmp",
+ "Portable AnyMap Files (*.pbm, *.pgm, *.ppm)", "*.pbm;*.pgm;*.ppm",
+ "Portable Network Graphics Files (*.png)", "*.png",
+ "Sgi Files (*.sgi)", "*.bw;*.rgb;*.rgba;*.sgi",
+ "Targa Files (*.tga)", "*.tga",
+ "ZSoft Pcx Files (*.pcx)", "*.pcx",
+ "\0\0"
+ };
+
+
+ static OPENFILENAME Ofn = {
+ sizeof(OPENFILENAME),
+ hWnd,
+ NULL,
+ OpenFilter,
+ NULL,
+ 0,
+ 0,
+ OpenFileName,
+ 512,
+ NULL,
+ 0,
+ NULL,
+ NULL,
+ OFN_HIDEREADONLY | OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST,
+ 0,
+ 0,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ };
+
+ switch (message)
+ {
+ // Window creation, setup for OpenGL
+ case WM_CREATE:
+ GenFilterString(OpenFilter, OFilter);
+ GenFilterString(SaveFilter, SFilter);
+
+ // Store the device context
+ hDC = GetDC(hWnd);
+
+ break;
+
+ // Window is being destroyed, cleanup
+ case WM_DESTROY:
+ // Tell the application to terminate after the window
+ // is gone.
+ PostQuitMessage(0);
+ break;
+
+ // The painting function. This message sent by Windows
+ // whenever the screen needs updating.
+ case WM_PAINT:
+
+ PAINTSTRUCT ps;
+ hDC = BeginPaint(hWnd, &ps);
+
+HBITMAP hbmp;
+HDC hMemDC;
+BITMAPINFOHEADER lpInfo;
+
+
+ //SelectObject(hdc, hbmp);
+
+
+hMemDC = CreateCompatibleDC(hDC);
+//hbmp = (HBITMAP)LoadImage(NULL, "rgb32.bmp", IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE);
+
+
+/*ILuint Id;
+ilGenImages(1, &Id);
+ilBindImage(Id);
+ilLoadImage("rgb32.bmp");*/
+hbmp = ilutConvertToHBitmap(hDC);
+//ilDeleteImages(1, &Id);
+
+
+/*CreateBitmapInfoStruct(hWnd, hbmp, (PBITMAPINFO)&lpInfo);
+hbmp = (HBITMAP)SelectObject(hMemDC, hbmp);
+BitBlt(hdc, 0, 0, (WORD)lpInfo.biWidth, (WORD)lpInfo.biHeight,
+ hMemDC, 0, 0, SRCCOPY);
+DeleteObject(SelectObject(hMemDC, hbmp));
+DeleteDC(hMemDC);*/
+
+
+/*SetDIBitsToDevice(hDC, 0, 0, ilGetInteger(IL_IMAGE_WIDTH), ilGetInteger(IL_IMAGE_HEIGHT),
+ 0, 0, 0, ilGetInteger(IL_IMAGE_HEIGHT), ilGetData(), (BITMAPINFO*)&lpInfo, DIB_RGB_COLORS); */
+
+ilBindImage(MainImage);
+hbmp = ilutConvertToHBitmap(hDC);
+CreateBitmapInfoStruct(hWnd, hbmp, (PBITMAPINFO)&lpInfo);
+hbmp = (HBITMAP)SelectObject(hMemDC, hbmp);
+BitBlt(hDC, 0, 0, (WORD)lpInfo.biWidth, (WORD)lpInfo.biHeight,
+ hMemDC, 0, 0, SRCCOPY);
+DeleteObject(SelectObject(hMemDC, hbmp));
+DeleteDC(hMemDC);
+
+
+
+//ilDeleteImages(1, &Id);
+
+
+//DeleteObject(hbmp);
+
+ EndPaint(hWnd, &ps);
+ ValidateRect(hWnd, NULL);
+ break;
+
+ case WM_KEYDOWN:
+ if (wParam == VK_ESCAPE)
+ PostMessage(hWnd, WM_CLOSE, 0, 0);
+ //PostQuitMessage(0);
+
+ InvalidateRect(hWnd, NULL, FALSE);
+ break;
+
+ case WM_COMMAND:
+ FilterType = LOWORD(wParam);
+
+ switch (LOWORD(wParam))
+ {
+ case ID_FILE_EXIT:
+ DestroyWindow(hWnd);
+ return (0L);
+
+ case ID_HELP_ABOUT:
+ DialogBox (hInstance,
+ MAKEINTRESOURCE(IDD_DIALOG_ABOUT),
+ hWnd,
+ AboutDlgProc);
+ return (0L);
+
+ case ID_EFFECTS_COUNTCOLORS:
+ Colours = iluColoursUsed();
+ char ColourString[255];
+ sprintf(ColourString, "The number of colours in this image is: %d", Colours);
+ MessageBox(NULL, ColourString, "Colour Count", MB_OK);
+ return (0L);
+
+ case ID_EDIT_COPY:
+ ilutSetWinClipboard();
+ return (0L);
+
+ case ID_FILE_LOAD:
+ sprintf(OpenFileName, "*.*");
+ Ofn.lpstrFilter = OpenFilter;
+ Ofn.lpstrFile = OpenFileName;
+ Ofn.lpstrTitle = "Open File";
+ Ofn.Flags = OFN_HIDEREADONLY | OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST;
+
+ if (!GetOpenFileName(&Ofn))
+ return (0L);
+
+ ilDeleteImages(UndoSize, Undos);
+ UndoSize = 0;
+
+ ilGenImages(1, &MainImage);
+ ilBindImage(MainImage);
+ Undos[0] = MainImage;
+ if (!ilLoadImage(OpenFileName))
+ return (0L);
+
+ilutGetWinClipboard();
+ ilConvertImage(IL_BGRA);
+ ilutRenderer(ILUT_DIRECTX);
+
+ Width = ilGetInteger(IL_IMAGE_WIDTH);
+ Height = ilGetInteger(IL_IMAGE_HEIGHT);
+ Depth = ilGetInteger(IL_IMAGE_DEPTH);
+
+ GetWindowRect(hWnd, &Rect);
+ SetWindowPos(hWnd, HWND_TOP, Rect.left, Rect.top, Width, Height + 46, SWP_SHOWWINDOW);
+ return (0L);
+
+ case ID_FILE_SAVE:
+ sprintf(SaveFileName, "monkey.tga");
+ Ofn.lpstrFilter = SaveFilter;
+ Ofn.lpstrFile = SaveFileName;
+ Ofn.lpstrTitle = "Save File";
+ Ofn.Flags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT;
+
+ if (!GetSaveFileName(&Ofn))
+ return (0L);
+
+ ilEnable(IL_FILE_OVERWRITE);
+ ilSaveImage(SaveFileName);
+ return (0L);
+
+ case ID_EDIT_UNDOLEVEL:
+ if (DialogBox(hInstance, MAKEINTRESOURCE(IDD_DIALOG_FILTER),
+ hWnd, FilterDlgProc) == TRUE) {
+ NumUndosAllowed = FilterParamInt <= 10 ? FilterParamInt : 10;
+ }
+ return (0L);
+
+ case ID_EDIT_UNDO:
+ if (UndoSize && NumUndosAllowed) {
+ ilDeleteImages(1, &Undos[UndoSize]);
+ ilBindImage(Undos[--UndoSize]);
+ InvalidateRect(hWnd, NULL, FALSE);
+ }
+ return (0L);
+ }
+
+
+ if (++UndoSize > NumUndosAllowed) {
+ if (NumUndosAllowed > 0) {
+ UndoSize = NumUndosAllowed;
+ ilDeleteImages(1, &Undos[0]);
+ memcpy(Undos, Undos+1, NumUndosAllowed * sizeof(ILuint));
+ ilBindImage(Undos[UndoSize]);
+ }
+ }
+
+ if (NumUndosAllowed > 0) {
+ ilGenImages(1, &Undos[UndoSize]);
+ ilBindImage(Undos[UndoSize]);
+ ilCopyImage(Undos[UndoSize-1]);
+ MainImage = Undos[UndoSize]; // ???
+ }
+
+
+
+ switch (LOWORD(wParam))
+ {
+ case ID_CONVERT_RGB:
+ ilConvertImage(IL_RGB);
+ InvalidateRect(hWnd,NULL,FALSE);
+ break;
+
+ case ID_CONVERT_RGBA:
+ ilConvertImage(IL_RGBA);
+ InvalidateRect(hWnd,NULL,FALSE);
+ break;
+
+ case ID_CONVERT_BGR:
+ ilConvertImage(IL_BGR);
+ InvalidateRect(hWnd,NULL,FALSE);
+ break;
+
+ case ID_CONVERT_BGRA:
+ ilConvertImage(IL_BGRA);
+ InvalidateRect(hWnd,NULL,FALSE);
+ break;
+
+ case ID_CONVERT_LUMINANCE:
+ ilConvertImage(IL_LUMINANCE);
+ InvalidateRect(hWnd,NULL,FALSE);
+ break;
+
+ case ID_EFFECTS_FLIP:
+ iluFlipImage();
+ InvalidateRect(hWnd,NULL,FALSE);
+ break;
+
+ case ID_EFFECTS_MIRROR:
+ iluMirror();
+ InvalidateRect(hWnd,NULL,FALSE);
+ break;
+
+ case ID_FILTER_EMBOSS:
+ iluEmboss();
+ InvalidateRect(hWnd,NULL,FALSE);
+ break;
+
+ case ID_FILTER_ALIENIFY:
+ iluAlienify();
+ InvalidateRect(hWnd,NULL,FALSE);
+ break;
+
+ case ID_FILTER_BITFILTER1:
+ iluBitFilter1();
+ InvalidateRect(hWnd,NULL,FALSE);
+ break;
+
+ case ID_FILTER_BITFILTER2:
+ iluBitFilter2();
+ InvalidateRect(hWnd,NULL,FALSE);
+ break;
+
+ case ID_FILTER_BITFILTER3:
+ iluBitFilter3();
+ InvalidateRect(hWnd,NULL,FALSE);
+ break;
+
+ case ID_FILTER_NEGATIVE:
+ iluNegative();
+ InvalidateRect(hWnd,NULL,FALSE);
+ break;
+
+ case ID_EFFECTS_FILTERS_EDGEDETECT_SOBEL:
+ iluEdgeDetectS();
+ InvalidateRect(hWnd,NULL,FALSE);
+ break;
+
+ case ID_EFFECTS_FILTERS_EDGEDETECT_PREWITT:
+ iluEdgeDetectP();
+ InvalidateRect(hWnd,NULL,FALSE);
+ break;
+
+ case ID_FILTER_NOISE:
+ if (DialogBox(hInstance, MAKEINTRESOURCE(IDD_DIALOG_FILTER),
+ hWnd, FilterDlgProc) == TRUE) {
+ iluNoisify(FilterParamInt);
+ InvalidateRect(hWnd,NULL,FALSE);
+ }
+ break;
+
+ case ID_FILTER_PIXELIZE:
+ if (DialogBox(hInstance, MAKEINTRESOURCE(IDD_DIALOG_FILTER),
+ hWnd, FilterDlgProc) == TRUE) {
+ iluPixelize(FilterParamInt);
+ InvalidateRect(hWnd,NULL,FALSE);
+ }
+ break;
+
+ case ID_FILTERS_BLUR_AVERAGE:
+ if (DialogBox(hInstance, MAKEINTRESOURCE(IDD_DIALOG_FILTER),
+ hWnd, FilterDlgProc) == TRUE) {
+ iluBlurAvg(FilterParamInt);
+ InvalidateRect(hWnd,NULL,FALSE);
+ }
+ break;
+
+ case ID_FILTERS_BLUR_GAUSSIAN:
+ if (DialogBox(hInstance, MAKEINTRESOURCE(IDD_DIALOG_FILTER),
+ hWnd, FilterDlgProc) == TRUE) {
+ iluBlurGaussian(FilterParamInt);
+ InvalidateRect(hWnd,NULL,FALSE);
+ }
+ break;
+
+ case ID_FILTER_GAMMACORRECT:
+ if (DialogBox(hInstance, MAKEINTRESOURCE(IDD_DIALOG_FILTER),
+ hWnd, FilterDlgProc) == TRUE) {
+ iluGammaCorrectScale(FilterParamFloat);
+ InvalidateRect(hWnd,NULL,FALSE);
+ }
+ break;
+
+ case ID_FILTER_SHARPEN:
+ if (DialogBox(hInstance, MAKEINTRESOURCE(IDD_DIALOG_FILTER),
+ hWnd, FilterDlgProc) == TRUE) {
+ iluSharpen(FilterParamFloat, 1);
+ InvalidateRect(hWnd,NULL,FALSE);
+ }
+ break;
+
+ case ID_EFFECTS_FILTERS_SCALE:
+ HWnd = hWnd;
+ iluImageParameter(ILU_FILTER, ILU_BILINEAR);
+ DialogBox(hInstance, MAKEINTRESOURCE(IDD_DIALOG_RESIZE), hWnd, ResizeDlgProc);
+ break;
+
+ }
+ break;
+
+
+
+ default: // Passes it on if unproccessed
+ return (DefWindowProc(hWnd, message, wParam, lParam));
+
+ }
+
+
+ return (0L);
+}
+
+
+void GenFilterString(char *Out, char **Strings)
+{
+ int OutPos = 0, StringPos = 0;
+
+ while (Strings[StringPos][0] != 0) {
+ sprintf(Out + OutPos, Strings[StringPos]);
+ OutPos += strlen(Strings[StringPos++]) + 1;
+ }
+
+ Out[OutPos++] = 0;
+ Out[OutPos] = 0;
+
+ return;
+}
+
+
+// Dialog procedure.
+BOOL APIENTRY AboutDlgProc(HWND hDlg, UINT message, UINT wParam, LONG lParam)
+{
+ switch (message)
+ {
+ // Initialize the dialog box
+ case WM_INITDIALOG:
+ {
+ int i;
+ ILenum ilError;
+ char VersionNum[256];
+
+ sprintf(VersionNum, "Num: %d", ilGetInteger(IL_VERSION_NUM));
+
+ // ilGetString demo
+ SetDlgItemText(hDlg, IDC_ABOUT_VENDOR, ilGetString(IL_VENDOR));
+ SetDlgItemText(hDlg, IDC_ABOUT_VER_STRING, ilGetString(IL_VERSION));
+ SetDlgItemText(hDlg, IDC_ABOUT_VER_NUM, VersionNum);
+
+ // Display any recent error messages
+ for (i = 0; i < 6; i++) {
+ ilError = ilGetError();
+ if (ilError == IL_NO_ERROR)
+ break;
+ SetDlgItemText(hDlg, IDC_ERROR1+i, iluErrorString(ilError));
+ }
+
+ return (TRUE);
+ }
+ break;
+
+ // Process command messages
+ case WM_COMMAND:
+ {
+ // Validate and Make the changes
+ if (LOWORD(wParam) == IDOK)
+ EndDialog(hDlg, TRUE);
+ if (LOWORD(wParam) == IDCANCEL)
+ EndDialog(hDlg, FALSE);
+ }
+ break;
+
+ // Closed from sysbox
+ case WM_CLOSE:
+ EndDialog(hDlg,TRUE);
+ break;
+ }
+
+ return FALSE;
+}
+
+
+// Dialog procedure.
+BOOL APIENTRY FilterDlgProc(HWND hDlg, UINT message, UINT wParam, LONG lParam)
+{
+ char EditString[255];
+
+ switch (message)
+ {
+ // Initialize the dialog box
+ case WM_INITDIALOG:
+ {
+ switch (FilterType)
+ {
+ case ID_FILTER_PIXELIZE:
+ SetDlgItemText(hDlg, IDC_FILTER_DESC_TEXT, "Width of pixelized block:");
+ SetDlgItemText(hDlg, IDC_FILTER_EDIT, "1");
+ break;
+ case ID_FILTER_NOISE:
+ SetDlgItemText(hDlg, IDC_FILTER_DESC_TEXT, "Amount of noise threshold:");
+ SetDlgItemText(hDlg, IDC_FILTER_EDIT, "1");
+ break;
+ case ID_FILTERS_BLUR_AVERAGE:
+ SetDlgItemText(hDlg, IDC_FILTER_DESC_TEXT, "Number of iterations:");
+ SetDlgItemText(hDlg, IDC_FILTER_EDIT, "1");
+ break;
+ case ID_FILTERS_BLUR_GAUSSIAN:
+ SetDlgItemText(hDlg, IDC_FILTER_DESC_TEXT, "Number of iterations:");
+ SetDlgItemText(hDlg, IDC_FILTER_EDIT, "1");
+ break;
+ case ID_FILTER_GAMMACORRECT:
+ SetDlgItemText(hDlg, IDC_FILTER_DESC_TEXT, "Amount of gamma correction:");
+ SetDlgItemText(hDlg, IDC_FILTER_EDIT, "1.0");
+ break;
+ case ID_FILTER_SHARPEN:
+ SetDlgItemText(hDlg, IDC_FILTER_DESC_TEXT, "Sharpening factor:");
+ SetDlgItemText(hDlg, IDC_FILTER_EDIT, "1.0");
+ break;
+
+ case ID_EDIT_UNDOLEVEL:
+ SetDlgItemText(hDlg, IDC_FILTER_DESC_TEXT, "Set level of undo:");
+ SetDlgItemText(hDlg, IDC_FILTER_EDIT, "4");
+ break;
+
+ }
+
+ return TRUE;
+ }
+ break;
+
+ // Process command messages
+ case WM_COMMAND:
+ {
+ // Validate and Make the changes
+ if (LOWORD(wParam) == IDOK) {
+ GetDlgItemText(hDlg, IDC_FILTER_EDIT, EditString, 255);
+ FilterParamInt = atoi(EditString);
+ FilterParamFloat = (float)atof(EditString);
+ EndDialog(hDlg, TRUE);
+ }
+ if (LOWORD(wParam) == IDCANCEL) {
+ EndDialog(hDlg, FALSE);
+ }
+ }
+ break;
+
+ // Closed from sysbox
+ case WM_CLOSE:
+ EndDialog(hDlg,TRUE);
+ break;
+ }
+
+ return FALSE;
+}
+
+
+// Dialog procedure.
+BOOL APIENTRY ResizeDlgProc(HWND hDlg, UINT message, UINT wParam, LONG lParam)
+{
+ static char x[255], y[255], z[255];
+ static ILuint xsize, ysize, zsize;
+ static RECT Rect;
+
+ switch (message)
+ {
+ // Initialize the dialog box
+ case WM_INITDIALOG:
+ {
+ sprintf(x, "%d", Width);
+ sprintf(y, "%d", Height);
+ sprintf(z, "%d", Depth);
+ SetDlgItemText(hDlg, IDC_EDIT_RESIZE_X, x);
+ SetDlgItemText(hDlg, IDC_EDIT_RESIZE_Y, y);
+ SetDlgItemText(hDlg, IDC_EDIT_RESIZE_Z, z);
+ return TRUE;
+ }
+ break;
+
+ // Process command messages
+ case WM_COMMAND:
+ {
+ // Validate and Make the changes
+ if (LOWORD(wParam) == IDOK) {
+ GetDlgItemText(hDlg, IDC_EDIT_RESIZE_X, x, 255);
+ GetDlgItemText(hDlg, IDC_EDIT_RESIZE_Y, y, 255);
+ GetDlgItemText(hDlg, IDC_EDIT_RESIZE_Z, z, 255);
+ xsize = atoi(x);
+ ysize = atoi(y);
+ zsize = atoi(z);
+ if (xsize && ysize && zsize) {
+ iluScale(xsize, ysize, zsize);
+
+ Width = ilGetInteger(IL_IMAGE_WIDTH);
+ Height = ilGetInteger(IL_IMAGE_HEIGHT);
+ Depth = ilGetInteger(IL_IMAGE_DEPTH);
+
+ GetWindowRect(HWnd, &Rect);
+ SetWindowPos(HWnd, HWND_TOP, Rect.left, Rect.top, Width, Height + 46, SWP_SHOWWINDOW);
+
+ InvalidateRect(HWnd, NULL, FALSE);
+ }
+ EndDialog(hDlg, TRUE);
+ }
+ if (LOWORD(wParam) == IDCANCEL) {
+ EndDialog(hDlg, FALSE);
+ }
+ }
+ break;
+
+ // Closed from sysbox
+ case WM_CLOSE:
+ EndDialog(hDlg,TRUE);
+ break;
+ }
+
+ return FALSE;
} \ No newline at end of file
diff --git a/DevIL/test/Fltk/Fltk.dsp b/DevIL/test/Fltk/Fltk.dsp
index 08ab4c56..cdddde67 100644
--- a/DevIL/test/Fltk/Fltk.dsp
+++ b/DevIL/test/Fltk/Fltk.dsp
@@ -1,101 +1,101 @@
-# Microsoft Developer Studio Project File - Name="Fltk" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Fltk - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "Fltk.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "Fltk.mak" CFG="Fltk - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Fltk - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "Fltk - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Fltk - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-
-!ELSEIF "$(CFG)" == "Fltk - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "Debug"
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 fltk.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-
-!ENDIF
-
-# Begin Target
-
-# Name "Fltk - Win32 Release"
-# Name "Fltk - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\fltk.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# End Group
-# End Target
-# End Project
+# Microsoft Developer Studio Project File - Name="Fltk" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Console Application" 0x0103
+
+CFG=Fltk - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "Fltk.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "Fltk.mak" CFG="Fltk - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "Fltk - Win32 Release" (based on "Win32 (x86) Console Application")
+!MESSAGE "Fltk - Win32 Debug" (based on "Win32 (x86) Console Application")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "Fltk - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "Release"
+# PROP Intermediate_Dir "Release"
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
+# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
+
+!ELSEIF "$(CFG)" == "Fltk - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "Debug"
+# PROP Intermediate_Dir "Debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
+# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 fltk.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
+
+!ENDIF
+
+# Begin Target
+
+# Name "Fltk - Win32 Release"
+# Name "Fltk - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=.\fltk.cpp
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# End Group
+# Begin Group "Resource Files"
+
+# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
+# End Group
+# End Target
+# End Project
diff --git a/DevIL/test/Fltk/fltk.cpp b/DevIL/test/Fltk/fltk.cpp
index 7c3237b9..80c614f4 100644
--- a/DevIL/test/Fltk/fltk.cpp
+++ b/DevIL/test/Fltk/fltk.cpp
@@ -1,164 +1,164 @@
-//
-// "$Id: fltk.cpp,v 1.1 2002-01-30 23:51:19 edgomez Exp $"
-//
-// fl_draw_image test program for the Fast Light Tool Kit (FLTK).
-//
-// Be sure to try every visual with the -v switch and try -m (monochrome)
-// on each of them.
-//
-// This program requires either the libjpeg.a library or an internal DD
-// library to read images (this is chosen by the presence of the "DD"
-// #define).
-//
-// To get the jpeg library:
-//
-// The "official" archive site for this software is ftp.uu.net (Internet
-// address 192.48.96.9). The most recent released version can always be
-// found there in directory graphics/jpeg. This particular version will
-// be archived as graphics/jpeg/jpegsrc.v6a.tar.gz.
-//
-// The makefile assummes you decompressed and build these in a directory
-// called "jpeg-6a" in the same location as the "FL" directory.
-//
-// Copyright 1998-2000 by Bill Spitzak and others.
-//
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Library General Public
-// License as published by the Free Software Foundation; either
-// version 2 of the License, or (at your option) any later version.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Library General Public License for more details.
-//
-// You should have received a copy of the GNU Library General Public
-// License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-// USA.
-//
-// Please report all bugs and problems to "fltk-bugs@fltk.org".
-//
-
-#include <FL/Fl.H>
-#include <FL/fl_draw.H>
-#include <stdio.h>
-#include <stdlib.h>
-
-void readtheimage(const char *name); // below
-int width;
-int height;
-int depth;
-int linedelta;
-uchar *ibuffer;
-
-
-#pragma comment(lib, "libjpeg.lib")
-
-
-////////////////////////////////////////////////////////////////
-
-#include <FL/Fl_Window.H>
-int mono;
-
-class image_window : public Fl_Window {
- void draw();
-public:
- image_window(int w,int h) : Fl_Window(w,h) {box(FL_NO_BOX);}
-};
-
-void image_window::draw() {
- if (mono)
- fl_draw_image_mono(ibuffer+1,0,0,width,height,depth,linedelta);
- else
- fl_draw_image(ibuffer,0,0,width,height,depth,linedelta);
-}
-
-////////////////////////////////////////////////////////////////
-
-#include <FL/x.H>
-#include "list_visuals.cxx"
-
-////////////////////////////////////////////////////////////////
-
-int visid = -1;
-int arg(int argc, char **argv, int &i) {
- if (argv[i][1] == 'm') {mono = 1; i++; return 1;}
-
- if (argv[i][1] == 'v') {
- if (i+1 >= argc) return 0;
- visid = atoi(argv[i+1]);
- i += 2;
- return 2;
- }
-
- return 0;
-}
-
-int main(int argc, char ** argv) {
-
- int i = 1;
- if (!Fl::args(argc,argv,i,arg) || i != argc-1) {
- fprintf(stderr,"usage: %s <switches> image_file\n"
-" -v # : use visual\n"
-" -m : monochrome\n"
-"%s\n",
- argv[0],Fl::help);
- exit(1);
- }
-
- readtheimage(argv[i]);
- image_window *window = new image_window(width,height);
-
- if (visid>=0) {
- /*fl_open_display();
- XVisualInfo templt; int num;
- templt.visualid = visid;
- fl_visual = XGetVisualInfo(fl_display, VisualIDMask, &templt, &num);
- if (!fl_visual) {
- fprintf(stderr, "No visual with id %d, use one of:\n",visid);
- //list_visuals();
- exit(1);
- }
- fl_colormap = XCreateColormap(fl_display, RootWindow(fl_display,fl_screen),
- fl_visual->visual, AllocNone);
- fl_xpixel(FL_BLACK); // make sure black is allocated*/
- }
-
- window->show(argc,argv);
- return Fl::run();
-}
-
-////////////////////////////////////////////////////////////////
-
-extern "C" {
-#include "jpeglib.h"
-}
-
-void readtheimage(const char *name) {
- struct jpeg_decompress_struct cinfo;
- struct jpeg_error_mgr jerr;
- FILE * infile = fopen(name, "rb");
- if (!infile) {
- fprintf(stderr, "can't open %s\n", name);
- exit(1);
- }
- cinfo.err = jpeg_std_error(&jerr);
- jpeg_create_decompress(&cinfo);
- jpeg_stdio_src(&cinfo, infile);
- jpeg_read_header(&cinfo, TRUE);
- jpeg_start_decompress(&cinfo);
- width = cinfo.output_width;
- height = cinfo.output_height;
- depth = cinfo.output_components;
- ibuffer = new uchar[width*height*depth];
- uchar *rp = ibuffer;
- // for (int i=0; i<height; i++) {
- for (int i=height; i--; ) {
- jpeg_read_scanlines(&cinfo, &rp, 1);
- rp += width*depth;
- }
- jpeg_finish_decompress(&cinfo);
- jpeg_destroy_decompress(&cinfo);
- fclose(infile);
+//
+// "$Id: fltk.cpp,v 1.1 2002-01-30 23:51:19 edgomez Exp $"
+//
+// fl_draw_image test program for the Fast Light Tool Kit (FLTK).
+//
+// Be sure to try every visual with the -v switch and try -m (monochrome)
+// on each of them.
+//
+// This program requires either the libjpeg.a library or an internal DD
+// library to read images (this is chosen by the presence of the "DD"
+// #define).
+//
+// To get the jpeg library:
+//
+// The "official" archive site for this software is ftp.uu.net (Internet
+// address 192.48.96.9). The most recent released version can always be
+// found there in directory graphics/jpeg. This particular version will
+// be archived as graphics/jpeg/jpegsrc.v6a.tar.gz.
+//
+// The makefile assummes you decompressed and build these in a directory
+// called "jpeg-6a" in the same location as the "FL" directory.
+//
+// Copyright 1998-2000 by Bill Spitzak and others.
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Library General Public
+// License as published by the Free Software Foundation; either
+// version 2 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Library General Public License for more details.
+//
+// You should have received a copy of the GNU Library General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+// USA.
+//
+// Please report all bugs and problems to "fltk-bugs@fltk.org".
+//
+
+#include <FL/Fl.H>
+#include <FL/fl_draw.H>
+#include <stdio.h>
+#include <stdlib.h>
+
+void readtheimage(const char *name); // below
+int width;
+int height;
+int depth;
+int linedelta;
+uchar *ibuffer;
+
+
+#pragma comment(lib, "libjpeg.lib")
+
+
+////////////////////////////////////////////////////////////////
+
+#include <FL/Fl_Window.H>
+int mono;
+
+class image_window : public Fl_Window {
+ void draw();
+public:
+ image_window(int w,int h) : Fl_Window(w,h) {box(FL_NO_BOX);}
+};
+
+void image_window::draw() {
+ if (mono)
+ fl_draw_image_mono(ibuffer+1,0,0,width,height,depth,linedelta);
+ else
+ fl_draw_image(ibuffer,0,0,width,height,depth,linedelta);
+}
+
+////////////////////////////////////////////////////////////////
+
+#include <FL/x.H>
+#include "list_visuals.cxx"
+
+////////////////////////////////////////////////////////////////
+
+int visid = -1;
+int arg(int argc, char **argv, int &i) {
+ if (argv[i][1] == 'm') {mono = 1; i++; return 1;}
+
+ if (argv[i][1] == 'v') {
+ if (i+1 >= argc) return 0;
+ visid = atoi(argv[i+1]);
+ i += 2;
+ return 2;
+ }
+
+ return 0;
+}
+
+int main(int argc, char ** argv) {
+
+ int i = 1;
+ if (!Fl::args(argc,argv,i,arg) || i != argc-1) {
+ fprintf(stderr,"usage: %s <switches> image_file\n"
+" -v # : use visual\n"
+" -m : monochrome\n"
+"%s\n",
+ argv[0],Fl::help);
+ exit(1);
+ }
+
+ readtheimage(argv[i]);
+ image_window *window = new image_window(width,height);
+
+ if (visid>=0) {
+ /*fl_open_display();
+ XVisualInfo templt; int num;
+ templt.visualid = visid;
+ fl_visual = XGetVisualInfo(fl_display, VisualIDMask, &templt, &num);
+ if (!fl_visual) {
+ fprintf(stderr, "No visual with id %d, use one of:\n",visid);
+ //list_visuals();
+ exit(1);
+ }
+ fl_colormap = XCreateColormap(fl_display, RootWindow(fl_display,fl_screen),
+ fl_visual->visual, AllocNone);
+ fl_xpixel(FL_BLACK); // make sure black is allocated*/
+ }
+
+ window->show(argc,argv);
+ return Fl::run();
+}
+
+////////////////////////////////////////////////////////////////
+
+extern "C" {
+#include "jpeglib.h"
+}
+
+void readtheimage(const char *name) {
+ struct jpeg_decompress_struct cinfo;
+ struct jpeg_error_mgr jerr;
+ FILE * infile = fopen(name, "rb");
+ if (!infile) {
+ fprintf(stderr, "can't open %s\n", name);
+ exit(1);
+ }
+ cinfo.err = jpeg_std_error(&jerr);
+ jpeg_create_decompress(&cinfo);
+ jpeg_stdio_src(&cinfo, infile);
+ jpeg_read_header(&cinfo, TRUE);
+ jpeg_start_decompress(&cinfo);
+ width = cinfo.output_width;
+ height = cinfo.output_height;
+ depth = cinfo.output_components;
+ ibuffer = new uchar[width*height*depth];
+ uchar *rp = ibuffer;
+ // for (int i=0; i<height; i++) {
+ for (int i=height; i--; ) {
+ jpeg_read_scanlines(&cinfo, &rp, 1);
+ rp += width*depth;
+ }
+ jpeg_finish_decompress(&cinfo);
+ jpeg_destroy_decompress(&cinfo);
+ fclose(infile);
} \ No newline at end of file
diff --git a/DevIL/test/MdiTest/MdiTest.cpp b/DevIL/test/MdiTest/MdiTest.cpp
index 059b0bfe..eaa661ce 100644
--- a/DevIL/test/MdiTest/MdiTest.cpp
+++ b/DevIL/test/MdiTest/MdiTest.cpp
@@ -1,336 +1,336 @@
-//-----------------------------------------------------------------------------
-//
-// ImageLib Windows (GDI) Test Source
-// Copyright (C) 2000 by Denton Woods
-// Last modified: 01/24/2001 <--Y2K Compliant! =]
-//
-// Filename: testil/windowstest/windowstest.c
-//
-// Description: Full MDI test application for OpenIL.
-//
-//-----------------------------------------------------------------------------
-
-#include <windows.h>
-#include <il\il.h>
-#include <il\ilu.h>
-#include <il\ilut.h>
-#include "mditest.h"
-#include "resource.h"
-
-
-#define BORDER_W 8
-#define MENU_H 46
-#define MIN_W 205 // Accomodate the menu bar.
-#define MAX_W 400
-#define MAX_H 400
-ILuint NumUndosAllowed = 4, UndoSize = 0;
-ILuint Undos[11] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
-ILuint Width, Height, Depth; // Main image
-
-ILuint FilterType;
-ILuint FilterParamInt;
-ILfloat FilterParamFloat;
-char FilterEditString[255];
-
-
-int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
-{
- MSG msg;
- WNDCLASSEX wcex;
- HACCEL hAccelTable;
-
- hInstance = hInst;
- CmdShow = nCmdShow;
-
- wcex.cbSize = sizeof(WNDCLASSEX);
-
- wcex.style = CS_HREDRAW | CS_VREDRAW;
- wcex.lpfnWndProc = (WNDPROC)WndProc;
- wcex.cbClsExtra = 0;
- wcex.cbWndExtra = 0;
- wcex.hInstance = hInstance;
- wcex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_ICON1));
- wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
- wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
- wcex.lpszMenuName = (LPCSTR)IDR_MENU1;
- wcex.lpszClassName = TITLE;
- wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_ICON1);
-
- RegisterClassEx(&wcex);
-
- wcex.lpszClassName = CHILD;
- RegisterClassEx(&wcex);
-
- /*HWND h = CreateWindow(TITLE, TITLE, WS_OVERLAPPEDWINDOW | WS_VISIBLE,
- 50, 50, 400, 300, NULL, NULL, hInstance, NULL);
- DestroyWindow(h);*/
- if (!MainWindow.Create(TITLE, 50, 50, 400, 300, NULL))
- return false;
-
- ilInit();
- ilEnable(IL_ORIGIN_SET);
- ilEnable(IL_TYPE_SET);
- ilOriginFunc(IL_ORIGIN_LOWER_LEFT);
- ilTypeFunc(IL_UNSIGNED_BYTE);
-
- hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDR_MENU1);
-
- while (GetMessage(&msg, NULL, 0, 0)) {
- if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) {
- TranslateMessage(&msg);
- DispatchMessage(&msg);
- }
- }
-
- DestroyWindows();
-
- UnregisterClass(TITLE, hInstance);
- UnregisterClass(CHILD, hInstance);
-
- return msg.wParam;
-}
-
-
-cWindow *GetWinClass(HWND hWnd)
-{
- if (MainWindow.GetHWnd() == hWnd)
- return &MainWindow;
- list <cWindow>::iterator i;
-
- for (i = WindowList.begin(); i != WindowList.end(); i++) {
- if (i->GetHWnd() == hWnd)
- return &(*i);
- }
-
- return NULL;
-}
-
-
-void AddNewWindow(char *FileName)
-{
- cWindow Window;
-
- Window.LoadImage(FileName);
- WindowList.push_back(Window);
-
- return;
-}
-
-
-void DestroyWindows()
-{
- list <cWindow>::iterator i;
-
- for (i = WindowList.begin(); i != WindowList.end(); i++) {
- i->Destroy();
- }
-
- WindowList.clear();
-
- return;
-}
-
-
-void DrawWindows()
-{
- list <cWindow>::iterator i;
-
- for (i = WindowList.begin(); i != WindowList.end(); i++) {
- i->Paint();
- }
-
- return;
-}
-
-
-
-// Window procedure, handles all messages for this program
-LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
-{
- static HMENU hMenu;
- static ILuint Colours;
- static RECT Rect;
- static HDROP hDrop;
- static cWindow *Window;
-
- static char OpenFileName[2048];
- static char OpenFilter[2048];
- static char SaveFileName[2048];
- static char SaveFilter[2048];
- static char *OFilter[] = {
- "All Files (*.*)", "*.*",
- "Half-Life Model Files (*.mdl)", "*.mdl",
- "Homeworld Image Files (*.lif)", "*.lif",
- "Image Files (All Supported Types)", "*.jpe;*.jpg;*.jpeg;*.lif;*.bmp;*.ico;*.pbm;*.pgm;*.pnm;*.ppm;*.png;*.bw;*.rgb;*.rgba;*.sgi;*.tga;*.tif;*.tiff;*.pcx",
- "Jpeg Files (*.jpe, *.jpg, *.jpeg)", "*.jpe;*.jpg;*.jpeg",
- "Microsoft Bitmap Files (*.bmp)", "*.bmp",
- "Microsoft Icon Files (*.ico)", "*.ico",
- "OpenIL Files (*.oil)", "*.oil",
- "Portable AnyMap Files (*.pbm, *.pgm, *.pnm, *.ppm)", "*.pbm;*.pgm;*.pnm;*.ppm",
- "Portable Network Graphics Files (*.png)", "*.png",
- "Sgi Files (*.sgi)", "*.bw;*.rgb;*.rgba;*.sgi",
- "Targa Files (*.tga)", "*.tga",
- "Tiff Files (*.tif)", "*.tif;*.tiff",
- "Quake Wal Files (*.wal)", "*.wal",
- "ZSoft Pcx Files (*.pcx)", "*.pcx",
- "\0\0"
- };
- static char *SFilter[] = {
- "All Files (*.*)", "*.*",
- "C-Style Header (*.h)", "*.h",
- "Jpeg Files (*.jpe, *.jpg, *.jpeg)", "*.jpe;*.jpg;*.jpeg",
- "Microsoft Bitmap Files (*.bmp)", "*.bmp",
- "OpenIL Files (*.oil)", "*.oil",
- "Portable AnyMap Files (*.pbm, *.pgm, *.ppm)", "*.pbm;*.pgm;*.ppm",
- "Portable Network Graphics Files (*.png)", "*.png",
- "Sgi Files (*.sgi)", "*.bw;*.rgb;*.rgba;*.sgi",
- "Targa Files (*.tga)", "*.tga",
- "ZSoft Pcx Files (*.pcx)", "*.pcx",
- "\0\0"
- };
-
- static OPENFILENAME Ofn = {
- sizeof(OPENFILENAME),
- hWnd,
- NULL,
- OpenFilter,
- NULL,
- 0,
- 0,
- OpenFileName,
- 512,
- NULL,
- 0,
- NULL,
- NULL,
- OFN_HIDEREADONLY | OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST,
- 0,
- 0,
- NULL,
- NULL,
- NULL,
- NULL
- };
-
- Window = GetWinClass(hWnd);
- if (Window == NULL) {
- return DefWindowProc(hWnd, message, wParam, lParam);
- }
-
- Window->BindImage();
-
- switch (message)
- {
- case WM_CREATE:
- GenFilterString(OpenFilter, OFilter);
- GenFilterString(SaveFilter, SFilter);
- break;
-
- case WM_CLOSE:
- Window->Destroy();
- break;
-
- case WM_DESTROY:
- if (Window == &MainWindow)
- PostQuitMessage(0);
- break;
-
- case WM_PAINT:
- Window->Paint();
- /*if (Window == &MainWindow)
- DrawWindows();*/
- break;
-
- case WM_ACTIVATE:
- if (hWnd != MainWindow.GetHWnd()) {
- if (wParam != WA_INACTIVE) { // Switch back to window
- CurChildWnd = hWnd;
- }
- }
- return (DefWindowProc(hWnd, message, wParam, lParam));
- break;
-
- case WM_KEYDOWN:
- if (wParam == VK_ESCAPE)
- PostQuitMessage(0);
-
- InvalidateRect(hWnd, NULL, FALSE);
- break;
-
- case WM_COMMAND:
- FilterType = LOWORD(wParam);
-
- switch (LOWORD(wParam))
- {
- case ID_FILE_EXIT:
- PostMessage(hWnd, WM_CLOSE, 0, 0);
- return (0L);
-
- case ID_EDIT_COPY:
- ilutSetWinClipboard();
- return (0L);
-
- case ID_FILE_LOAD:
- sprintf(OpenFileName, "*.*");
- Ofn.lpstrFilter = OpenFilter;
- Ofn.lpstrFile = OpenFileName;
- Ofn.lpstrTitle = "Open File";
- Ofn.nFilterIndex = 1;
- Ofn.Flags = OFN_HIDEREADONLY | OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST;
-
- if (!GetOpenFileName(&Ofn))
- return (0L);
-
- AddNewWindow(OpenFileName);
- return (0L);
-
- case ID_FILE_SAVE:
- /*if (Window == &MainWindow)
- return (0L);*/
-
- if (CurChildWnd == NULL)
- return (0L);
-
- sprintf(SaveFileName, "monkey.tga");
- Ofn.lpstrFilter = SaveFilter;
- Ofn.lpstrFile = SaveFileName;
- Ofn.lpstrTitle = "Save File";
- Ofn.nFilterIndex = 1;
- Ofn.Flags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT;
-
- if (!GetSaveFileName(&Ofn))
- return (0L);
-
- ilEnable(IL_FILE_OVERWRITE);
- ilSaveImage(SaveFileName);
-
- GetWinClass(CurChildWnd)->SetTitle(SaveFileName);
-
- return (0L);
- }
-
- InvalidateRect(hWnd, NULL, FALSE);
- break;
-
- default:
- return (DefWindowProc(hWnd, message, wParam, lParam));
- }
-
- return (0L);
-}
-
-
-void GenFilterString(char *Out, char **Strings)
-{
- int OutPos = 0, StringPos = 0;
-
- while (Strings[StringPos][0] != 0) {
- sprintf(Out + OutPos, Strings[StringPos]);
- OutPos += strlen(Strings[StringPos++]) + 1;
- }
-
- Out[OutPos++] = 0;
- Out[OutPos] = 0;
-
- return;
-}
+//-----------------------------------------------------------------------------
+//
+// ImageLib Windows (GDI) Test Source
+// Copyright (C) 2000 by Denton Woods
+// Last modified: 01/24/2001 <--Y2K Compliant! =]
+//
+// Filename: testil/windowstest/windowstest.c
+//
+// Description: Full MDI test application for OpenIL.
+//
+//-----------------------------------------------------------------------------
+
+#include <windows.h>
+#include <il\il.h>
+#include <il\ilu.h>
+#include <il\ilut.h>
+#include "mditest.h"
+#include "resource.h"
+
+
+#define BORDER_W 8
+#define MENU_H 46
+#define MIN_W 205 // Accomodate the menu bar.
+#define MAX_W 400
+#define MAX_H 400
+ILuint NumUndosAllowed = 4, UndoSize = 0;
+ILuint Undos[11] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
+ILuint Width, Height, Depth; // Main image
+
+ILuint FilterType;
+ILuint FilterParamInt;
+ILfloat FilterParamFloat;
+char FilterEditString[255];
+
+
+int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
+{
+ MSG msg;
+ WNDCLASSEX wcex;
+ HACCEL hAccelTable;
+
+ hInstance = hInst;
+ CmdShow = nCmdShow;
+
+ wcex.cbSize = sizeof(WNDCLASSEX);
+
+ wcex.style = CS_HREDRAW | CS_VREDRAW;
+ wcex.lpfnWndProc = (WNDPROC)WndProc;
+ wcex.cbClsExtra = 0;
+ wcex.cbWndExtra = 0;
+ wcex.hInstance = hInstance;
+ wcex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_ICON1));
+ wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
+ wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
+ wcex.lpszMenuName = (LPCSTR)IDR_MENU1;
+ wcex.lpszClassName = TITLE;
+ wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_ICON1);
+
+ RegisterClassEx(&wcex);
+
+ wcex.lpszClassName = CHILD;
+ RegisterClassEx(&wcex);
+
+ /*HWND h = CreateWindow(TITLE, TITLE, WS_OVERLAPPEDWINDOW | WS_VISIBLE,
+ 50, 50, 400, 300, NULL, NULL, hInstance, NULL);
+ DestroyWindow(h);*/
+ if (!MainWindow.Create(TITLE, 50, 50, 400, 300, NULL))
+ return false;
+
+ ilInit();
+ ilEnable(IL_ORIGIN_SET);
+ ilEnable(IL_TYPE_SET);
+ ilOriginFunc(IL_ORIGIN_LOWER_LEFT);
+ ilTypeFunc(IL_UNSIGNED_BYTE);
+
+ hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDR_MENU1);
+
+ while (GetMessage(&msg, NULL, 0, 0)) {
+ if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) {
+ TranslateMessage(&msg);
+ DispatchMessage(&msg);
+ }
+ }
+
+ DestroyWindows();
+
+ UnregisterClass(TITLE, hInstance);
+ UnregisterClass(CHILD, hInstance);
+
+ return msg.wParam;
+}
+
+
+cWindow *GetWinClass(HWND hWnd)
+{
+ if (MainWindow.GetHWnd() == hWnd)
+ return &MainWindow;
+ list <cWindow>::iterator i;
+
+ for (i = WindowList.begin(); i != WindowList.end(); i++) {
+ if (i->GetHWnd() == hWnd)
+ return &(*i);
+ }
+
+ return NULL;
+}
+
+
+void AddNewWindow(char *FileName)
+{
+ cWindow Window;
+
+ Window.LoadImage(FileName);
+ WindowList.push_back(Window);
+
+ return;
+}
+
+
+void DestroyWindows()
+{
+ list <cWindow>::iterator i;
+
+ for (i = WindowList.begin(); i != WindowList.end(); i++) {
+ i->Destroy();
+ }
+
+ WindowList.clear();
+
+ return;
+}
+
+
+void DrawWindows()
+{
+ list <cWindow>::iterator i;
+
+ for (i = WindowList.begin(); i != WindowList.end(); i++) {
+ i->Paint();
+ }
+
+ return;
+}
+
+
+
+// Window procedure, handles all messages for this program
+LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
+{
+ static HMENU hMenu;
+ static ILuint Colours;
+ static RECT Rect;
+ static HDROP hDrop;
+ static cWindow *Window;
+
+ static char OpenFileName[2048];
+ static char OpenFilter[2048];
+ static char SaveFileName[2048];
+ static char SaveFilter[2048];
+ static char *OFilter[] = {
+ "All Files (*.*)", "*.*",
+ "Half-Life Model Files (*.mdl)", "*.mdl",
+ "Homeworld Image Files (*.lif)", "*.lif",
+ "Image Files (All Supported Types)", "*.jpe;*.jpg;*.jpeg;*.lif;*.bmp;*.ico;*.pbm;*.pgm;*.pnm;*.ppm;*.png;*.bw;*.rgb;*.rgba;*.sgi;*.tga;*.tif;*.tiff;*.pcx",
+ "Jpeg Files (*.jpe, *.jpg, *.jpeg)", "*.jpe;*.jpg;*.jpeg",
+ "Microsoft Bitmap Files (*.bmp)", "*.bmp",
+ "Microsoft Icon Files (*.ico)", "*.ico",
+ "OpenIL Files (*.oil)", "*.oil",
+ "Portable AnyMap Files (*.pbm, *.pgm, *.pnm, *.ppm)", "*.pbm;*.pgm;*.pnm;*.ppm",
+ "Portable Network Graphics Files (*.png)", "*.png",
+ "Sgi Files (*.sgi)", "*.bw;*.rgb;*.rgba;*.sgi",
+ "Targa Files (*.tga)", "*.tga",
+ "Tiff Files (*.tif)", "*.tif;*.tiff",
+ "Quake Wal Files (*.wal)", "*.wal",
+ "ZSoft Pcx Files (*.pcx)", "*.pcx",
+ "\0\0"
+ };
+ static char *SFilter[] = {
+ "All Files (*.*)", "*.*",
+ "C-Style Header (*.h)", "*.h",
+ "Jpeg Files (*.jpe, *.jpg, *.jpeg)", "*.jpe;*.jpg;*.jpeg",
+ "Microsoft Bitmap Files (*.bmp)", "*.bmp",
+ "OpenIL Files (*.oil)", "*.oil",
+ "Portable AnyMap Files (*.pbm, *.pgm, *.ppm)", "*.pbm;*.pgm;*.ppm",
+ "Portable Network Graphics Files (*.png)", "*.png",
+ "Sgi Files (*.sgi)", "*.bw;*.rgb;*.rgba;*.sgi",
+ "Targa Files (*.tga)", "*.tga",
+ "ZSoft Pcx Files (*.pcx)", "*.pcx",
+ "\0\0"
+ };
+
+ static OPENFILENAME Ofn = {
+ sizeof(OPENFILENAME),
+ hWnd,
+ NULL,
+ OpenFilter,
+ NULL,
+ 0,
+ 0,
+ OpenFileName,
+ 512,
+ NULL,
+ 0,
+ NULL,
+ NULL,
+ OFN_HIDEREADONLY | OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST,
+ 0,
+ 0,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ };
+
+ Window = GetWinClass(hWnd);
+ if (Window == NULL) {
+ return DefWindowProc(hWnd, message, wParam, lParam);
+ }
+
+ Window->BindImage();
+
+ switch (message)
+ {
+ case WM_CREATE:
+ GenFilterString(OpenFilter, OFilter);
+ GenFilterString(SaveFilter, SFilter);
+ break;
+
+ case WM_CLOSE:
+ Window->Destroy();
+ break;
+
+ case WM_DESTROY:
+ if (Window == &MainWindow)
+ PostQuitMessage(0);
+ break;
+
+ case WM_PAINT:
+ Window->Paint();
+ /*if (Window == &MainWindow)
+ DrawWindows();*/
+ break;
+
+ case WM_ACTIVATE:
+ if (hWnd != MainWindow.GetHWnd()) {
+ if (wParam != WA_INACTIVE) { // Switch back to window
+ CurChildWnd = hWnd;
+ }
+ }
+ return (DefWindowProc(hWnd, message, wParam, lParam));
+ break;
+
+ case WM_KEYDOWN:
+ if (wParam == VK_ESCAPE)
+ PostQuitMessage(0);
+
+ InvalidateRect(hWnd, NULL, FALSE);
+ break;
+
+ case WM_COMMAND:
+ FilterType = LOWORD(wParam);
+
+ switch (LOWORD(wParam))
+ {
+ case ID_FILE_EXIT:
+ PostMessage(hWnd, WM_CLOSE, 0, 0);
+ return (0L);
+
+ case ID_EDIT_COPY:
+ ilutSetWinClipboard();
+ return (0L);
+
+ case ID_FILE_LOAD:
+ sprintf(OpenFileName, "*.*");
+ Ofn.lpstrFilter = OpenFilter;
+ Ofn.lpstrFile = OpenFileName;
+ Ofn.lpstrTitle = "Open File";
+ Ofn.nFilterIndex = 1;
+ Ofn.Flags = OFN_HIDEREADONLY | OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST;
+
+ if (!GetOpenFileName(&Ofn))
+ return (0L);
+
+ AddNewWindow(OpenFileName);
+ return (0L);
+
+ case ID_FILE_SAVE:
+ /*if (Window == &MainWindow)
+ return (0L);*/
+
+ if (CurChildWnd == NULL)
+ return (0L);
+
+ sprintf(SaveFileName, "monkey.tga");
+ Ofn.lpstrFilter = SaveFilter;
+ Ofn.lpstrFile = SaveFileName;
+ Ofn.lpstrTitle = "Save File";
+ Ofn.nFilterIndex = 1;
+ Ofn.Flags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT;
+
+ if (!GetSaveFileName(&Ofn))
+ return (0L);
+
+ ilEnable(IL_FILE_OVERWRITE);
+ ilSaveImage(SaveFileName);
+
+ GetWinClass(CurChildWnd)->SetTitle(SaveFileName);
+
+ return (0L);
+ }
+
+ InvalidateRect(hWnd, NULL, FALSE);
+ break;
+
+ default:
+ return (DefWindowProc(hWnd, message, wParam, lParam));
+ }
+
+ return (0L);
+}
+
+
+void GenFilterString(char *Out, char **Strings)
+{
+ int OutPos = 0, StringPos = 0;
+
+ while (Strings[StringPos][0] != 0) {
+ sprintf(Out + OutPos, Strings[StringPos]);
+ OutPos += strlen(Strings[StringPos++]) + 1;
+ }
+
+ Out[OutPos++] = 0;
+ Out[OutPos] = 0;
+
+ return;
+}
diff --git a/DevIL/test/MdiTest/MdiTest.dsp b/DevIL/test/MdiTest/MdiTest.dsp
index e2ccf074..db18dfeb 100644
--- a/DevIL/test/MdiTest/MdiTest.dsp
+++ b/DevIL/test/MdiTest/MdiTest.dsp
@@ -1,121 +1,121 @@
-# Microsoft Developer Studio Project File - Name="MdiTest" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Application" 0x0101
-
-CFG=MdiTest - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "MdiTest.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "MdiTest.mak" CFG="MdiTest - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "MdiTest - Win32 Release" (based on "Win32 (x86) Application")
-!MESSAGE "MdiTest - Win32 Debug" (based on "Win32 (x86) Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "MdiTest - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "MdiTest___Win32_Release"
-# PROP BASE Intermediate_Dir "MdiTest___Win32_Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "../bin"
-# PROP Intermediate_Dir "obj"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
-# ADD LINK32 user32.lib gdi32.lib comdlg32.lib /nologo /subsystem:windows /machine:I386
-
-!ELSEIF "$(CFG)" == "MdiTest - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "MdiTest___Win32_Debug"
-# PROP BASE Intermediate_Dir "MdiTest___Win32_Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "../bin/debug"
-# PROP Intermediate_Dir "obj/debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /FD /GZ /c
-# SUBTRACT CPP /YX
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 user32.lib gdi32.lib comdlg32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
-
-!ENDIF
-
-# Begin Target
-
-# Name "MdiTest - Win32 Release"
-# Name "MdiTest - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\MdiTest.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# Begin Source File
-
-SOURCE=.\MdiTest.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\resource.h
-# End Source File
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# Begin Source File
-
-SOURCE=.\MdiTest.rc
-# End Source File
-# End Group
-# End Target
-# End Project
+# Microsoft Developer Studio Project File - Name="MdiTest" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Application" 0x0101
+
+CFG=MdiTest - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "MdiTest.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "MdiTest.mak" CFG="MdiTest - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "MdiTest - Win32 Release" (based on "Win32 (x86) Application")
+!MESSAGE "MdiTest - Win32 Debug" (based on "Win32 (x86) Application")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "MdiTest - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "MdiTest___Win32_Release"
+# PROP BASE Intermediate_Dir "MdiTest___Win32_Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "../bin"
+# PROP Intermediate_Dir "obj"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /FD /c
+# SUBTRACT CPP /YX
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
+# ADD LINK32 user32.lib gdi32.lib comdlg32.lib /nologo /subsystem:windows /machine:I386
+
+!ELSEIF "$(CFG)" == "MdiTest - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "MdiTest___Win32_Debug"
+# PROP BASE Intermediate_Dir "MdiTest___Win32_Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "../bin/debug"
+# PROP Intermediate_Dir "obj/debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /FD /GZ /c
+# SUBTRACT CPP /YX
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 user32.lib gdi32.lib comdlg32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
+
+!ENDIF
+
+# Begin Target
+
+# Name "MdiTest - Win32 Release"
+# Name "MdiTest - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=.\MdiTest.cpp
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# Begin Source File
+
+SOURCE=.\MdiTest.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\resource.h
+# End Source File
+# End Group
+# Begin Group "Resource Files"
+
+# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
+# Begin Source File
+
+SOURCE=.\MdiTest.rc
+# End Source File
+# End Group
+# End Target
+# End Project
diff --git a/DevIL/test/MdiTest/MdiTest.rc b/DevIL/test/MdiTest/MdiTest.rc
index 22821eb4..786c9c3b 100644
--- a/DevIL/test/MdiTest/MdiTest.rc
+++ b/DevIL/test/MdiTest/MdiTest.rc
@@ -1,266 +1,266 @@
-//Microsoft Developer Studio generated resource script.
-//
-#include "resource.h"
-
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-#define APSTUDIO_HIDDEN_SYMBOLS
-#include "windows.h"
-#undef APSTUDIO_HIDDEN_SYMBOLS
-#include "resource.h"
-
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
-/////////////////////////////////////////////////////////////////////////////
-// English (U.S.) resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-#ifdef _WIN32
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
-#pragma code_page(1252)
-#endif //_WIN32
-
-#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// TEXTINCLUDE
-//
-
-2 TEXTINCLUDE DISCARDABLE
-BEGIN
- "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
- "#include ""windows.h""\r\n"
- "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
- "#include ""resource.h""\r\n"
- "\0"
-END
-
-3 TEXTINCLUDE DISCARDABLE
-BEGIN
- "\r\n"
- "\0"
-END
-
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
- "resource.h\0"
-END
-
-#endif // APSTUDIO_INVOKED
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog
-//
-
-IDD_DIALOG_ABOUT DIALOG DISCARDABLE 0, 0, 278, 220
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "About OpenIL"
-FONT 8, "MS Sans Serif"
-BEGIN
- DEFPUSHBUTTON "OK",IDOK,113,198,50,14
- GROUPBOX "Info",IDC_STATIC,7,7,264,69
- GROUPBOX "Errors",IDC_STATIC,7,86,264,76
- LTEXT "Vendor:",IDC_STATIC,27,22,27,8
- LTEXT "Version:",IDC_STATIC,26,35,26,8
- CTEXT "",IDC_ERROR1,40,98,79,8
- LTEXT "Vendor",IDC_ABOUT_VENDOR,66,22,126,8
- LTEXT "Version String",IDC_ABOUT_VER_STRING,68,35,125,8
- LTEXT "Version Num",IDC_ABOUT_VER_NUM,68,46,38,8
- CTEXT "",IDC_ERROR4,158,98,79,8
- CTEXT "",IDC_ERROR6,158,142,79,8
- CTEXT "",IDC_ERROR2,40,119,79,8
- CTEXT "",IDC_ERROR5,158,120,79,8
- CTEXT "",IDC_ERROR3,40,142,79,8
- LTEXT "Visit the OpenIL website at http://www.openil.org",
- IDC_OPENIL_LINK,61,182,156,8
- ICON 172,IDC_STATIC,243,15,21,20,SS_REALSIZEIMAGE
-END
-
-IDD_DIALOG_FILTER DIALOG DISCARDABLE 0, 0, 186, 95
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "Dialog Options"
-FONT 8, "MS Sans Serif"
-BEGIN
- DEFPUSHBUTTON "OK",IDOK,129,14,50,14
- PUSHBUTTON "Cancel",IDCANCEL,129,31,50,14
- LTEXT "Enter number of iterations, monkey foo!",
- IDC_FILTER_DESC_TEXT,21,14,95,31
- EDITTEXT IDC_FILTER_EDIT,13,54,160,14,ES_AUTOHSCROLL
-END
-
-IDD_DIALOG_RESIZE DIALOG DISCARDABLE 0, 0, 266, 95
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "Resize Options"
-FONT 8, "MS Sans Serif"
-BEGIN
- DEFPUSHBUTTON "OK",IDOK,77,65,50,14
- PUSHBUTTON "Cancel",IDCANCEL,137,65,50,14
- LTEXT "Enter new image size:",IDC_STATIC,97,15,70,8
- EDITTEXT IDC_EDIT_RESIZE_X,33,36,40,14,ES_AUTOHSCROLL
- EDITTEXT IDC_EDIT_RESIZE_Y,109,36,40,14,ES_AUTOHSCROLL
- EDITTEXT IDC_EDIT_RESIZE_Z,187,37,40,14,ES_AUTOHSCROLL
- LTEXT "X:",IDC_STATIC,20,39,8,8
- LTEXT "Y:",IDC_STATIC,96,38,8,8
- LTEXT "Z:",IDC_STATIC,173,39,8,8
-END
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Menu
-//
-
-IDR_MENU1 MENU DISCARDABLE
-BEGIN
- POPUP "&File"
- BEGIN
- MENUITEM "&Open...\tCtrl+O", ID_FILE_LOAD
- MENUITEM "Open &URL...\tCtrl+U", ID_FILE_OPENURL
- MENUITEM "&Save...\tCtrl+S", ID_FILE_SAVE
- MENUITEM "&Print", ID_FILE_PRINT
- MENUITEM "E&xit\tEsc", ID_FILE_EXIT
- END
- POPUP "&Convert"
- BEGIN
- MENUITEM "&Colour Indexed", ID_CONVERT_PALETTE
- MENUITEM "&Luminance", ID_CONVERT_LUMINANCE
- MENUITEM "&Rgb", ID_CONVERT_RGB
- MENUITEM "Rgba", ID_CONVERT_RGBA
- MENUITEM "&Bgr", ID_CONVERT_BGR
- MENUITEM "Bgra", ID_CONVERT_BGRA
- END
- POPUP "&Edit"
- BEGIN
- MENUITEM "&Undo", ID_EDIT_UNDO
- MENUITEM "Undo &Level", ID_EDIT_UNDOLEVEL
- MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY
- MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE
- MENUITEM "View ImageNum", ID_EDIT_VIEWIMAGENUM
- MENUITEM "View Mipmap", ID_EDIT_VIEWMIPMAP
- END
- POPUP "Effe&cts"
- BEGIN
- MENUITEM "&Count Colors", ID_EFFECTS_COUNTCOLORS
- POPUP "&Filters"
- BEGIN
- MENUITEM "&Alienify", ID_FILTER_ALIENIFY
- POPUP "&Bit Filters"
- BEGIN
- MENUITEM "Bit Filter &1", ID_FILTER_BITFILTER1
- MENUITEM "Bit Filter &2", ID_FILTER_BITFILTER2
- MENUITEM "Bit Filter &3", ID_FILTER_BITFILTER3
- END
- POPUP "Blur"
- BEGIN
- MENUITEM "&Average", ID_FILTERS_BLUR_AVERAGE
-
- MENUITEM "&Gaussian", ID_FILTERS_BLUR_GAUSSIAN
-
- END
- POPUP "Ed&ge Detect"
- BEGIN
- MENUITEM "&Emboss", ID_EFFECTS_FILTERS_EDGEDETECT_EMBOSS
-
- MENUITEM "Prewitt", ID_EFFECTS_FILTERS_EDGEDETECT_PREWITT
-
- MENUITEM "Sobel", ID_EFFECTS_FILTERS_EDGEDETECT_SOBEL
-
- END
- MENUITEM "&Emboss", ID_FILTER_EMBOSS
- MENUITEM "&Gamma Correct", ID_FILTER_GAMMACORRECT
- MENUITEM "&Negative", ID_FILTER_NEGATIVE
- MENUITEM "N&oise", ID_FILTER_NOISE
- MENUITEM "&Pixelize", ID_FILTER_PIXELIZE
- MENUITEM "&Sharpen", ID_FILTER_SHARPEN
- END
- MENUITEM "Fli&p", ID_EFFECTS_FLIP
- MENUITEM "&Mirror", ID_EFFECTS_MIRROR
- MENUITEM "&Rotate", ID_EFFECTS_FILTERS_ROTATE
- MENUITEM "&Scale", ID_EFFECTS_FILTERS_SCALE
- END
- POPUP "&Help"
- BEGIN
- MENUITEM "&About", ID_HELP_ABOUT
- END
-END
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// DESIGNINFO
-//
-
-#ifdef APSTUDIO_INVOKED
-GUIDELINES DESIGNINFO DISCARDABLE
-BEGIN
- IDD_DIALOG_ABOUT, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 271
- TOPMARGIN, 7
- BOTTOMMARGIN, 212
- END
-
- IDD_DIALOG_FILTER, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 179
- TOPMARGIN, 7
- BOTTOMMARGIN, 88
- END
-
- IDD_DIALOG_RESIZE, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 259
- TOPMARGIN, 7
- BOTTOMMARGIN, 88
- END
-END
-#endif // APSTUDIO_INVOKED
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Accelerator
-//
-
-IDR_MENU1 ACCELERATORS DISCARDABLE
-BEGIN
- "C", ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
- "O", ID_FILE_LOAD, VIRTKEY, CONTROL, NOINVERT
- "S", ID_FILE_SAVE, VIRTKEY, CONTROL, NOINVERT
- "U", ID_FILE_OPENURL, VIRTKEY, CONTROL, NOINVERT
- "V", ID_EDIT_PASTE, VIRTKEY, CONTROL, NOINVERT
-END
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Icon
-//
-
-// Icon with lowest ID value placed first to ensure application icon
-// remains consistent on all systems.
-IDI_ICON1 ICON DISCARDABLE "resources\\OpenIL Logo.ico"
-#endif // English (U.S.) resources
-/////////////////////////////////////////////////////////////////////////////
-
-
-
-#ifndef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 3 resource.
-//
-
-
-/////////////////////////////////////////////////////////////////////////////
-#endif // not APSTUDIO_INVOKED
-
+//Microsoft Developer Studio generated resource script.
+//
+#include "resource.h"
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+#define APSTUDIO_HIDDEN_SYMBOLS
+#include "windows.h"
+#undef APSTUDIO_HIDDEN_SYMBOLS
+#include "resource.h"
+
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// English (U.S.) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
+#ifdef _WIN32
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+#pragma code_page(1252)
+#endif //_WIN32
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+2 TEXTINCLUDE DISCARDABLE
+BEGIN
+ "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
+ "#include ""windows.h""\r\n"
+ "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
+ "#include ""resource.h""\r\n"
+ "\0"
+END
+
+3 TEXTINCLUDE DISCARDABLE
+BEGIN
+ "\r\n"
+ "\0"
+END
+
+1 TEXTINCLUDE DISCARDABLE
+BEGIN
+ "resource.h\0"
+END
+
+#endif // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Dialog
+//
+
+IDD_DIALOG_ABOUT DIALOG DISCARDABLE 0, 0, 278, 220
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "About OpenIL"
+FONT 8, "MS Sans Serif"
+BEGIN
+ DEFPUSHBUTTON "OK",IDOK,113,198,50,14
+ GROUPBOX "Info",IDC_STATIC,7,7,264,69
+ GROUPBOX "Errors",IDC_STATIC,7,86,264,76
+ LTEXT "Vendor:",IDC_STATIC,27,22,27,8
+ LTEXT "Version:",IDC_STATIC,26,35,26,8
+ CTEXT "",IDC_ERROR1,40,98,79,8
+ LTEXT "Vendor",IDC_ABOUT_VENDOR,66,22,126,8
+ LTEXT "Version String",IDC_ABOUT_VER_STRING,68,35,125,8
+ LTEXT "Version Num",IDC_ABOUT_VER_NUM,68,46,38,8
+ CTEXT "",IDC_ERROR4,158,98,79,8
+ CTEXT "",IDC_ERROR6,158,142,79,8
+ CTEXT "",IDC_ERROR2,40,119,79,8
+ CTEXT "",IDC_ERROR5,158,120,79,8
+ CTEXT "",IDC_ERROR3,40,142,79,8
+ LTEXT "Visit the OpenIL website at http://www.openil.org",
+ IDC_OPENIL_LINK,61,182,156,8
+ ICON 172,IDC_STATIC,243,15,21,20,SS_REALSIZEIMAGE
+END
+
+IDD_DIALOG_FILTER DIALOG DISCARDABLE 0, 0, 186, 95
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Dialog Options"
+FONT 8, "MS Sans Serif"
+BEGIN
+ DEFPUSHBUTTON "OK",IDOK,129,14,50,14
+ PUSHBUTTON "Cancel",IDCANCEL,129,31,50,14
+ LTEXT "Enter number of iterations, monkey foo!",
+ IDC_FILTER_DESC_TEXT,21,14,95,31
+ EDITTEXT IDC_FILTER_EDIT,13,54,160,14,ES_AUTOHSCROLL
+END
+
+IDD_DIALOG_RESIZE DIALOG DISCARDABLE 0, 0, 266, 95
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Resize Options"
+FONT 8, "MS Sans Serif"
+BEGIN
+ DEFPUSHBUTTON "OK",IDOK,77,65,50,14
+ PUSHBUTTON "Cancel",IDCANCEL,137,65,50,14
+ LTEXT "Enter new image size:",IDC_STATIC,97,15,70,8
+ EDITTEXT IDC_EDIT_RESIZE_X,33,36,40,14,ES_AUTOHSCROLL
+ EDITTEXT IDC_EDIT_RESIZE_Y,109,36,40,14,ES_AUTOHSCROLL
+ EDITTEXT IDC_EDIT_RESIZE_Z,187,37,40,14,ES_AUTOHSCROLL
+ LTEXT "X:",IDC_STATIC,20,39,8,8
+ LTEXT "Y:",IDC_STATIC,96,38,8,8
+ LTEXT "Z:",IDC_STATIC,173,39,8,8
+END
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Menu
+//
+
+IDR_MENU1 MENU DISCARDABLE
+BEGIN
+ POPUP "&File"
+ BEGIN
+ MENUITEM "&Open...\tCtrl+O", ID_FILE_LOAD
+ MENUITEM "Open &URL...\tCtrl+U", ID_FILE_OPENURL
+ MENUITEM "&Save...\tCtrl+S", ID_FILE_SAVE
+ MENUITEM "&Print", ID_FILE_PRINT
+ MENUITEM "E&xit\tEsc", ID_FILE_EXIT
+ END
+ POPUP "&Convert"
+ BEGIN
+ MENUITEM "&Colour Indexed", ID_CONVERT_PALETTE
+ MENUITEM "&Luminance", ID_CONVERT_LUMINANCE
+ MENUITEM "&Rgb", ID_CONVERT_RGB
+ MENUITEM "Rgba", ID_CONVERT_RGBA
+ MENUITEM "&Bgr", ID_CONVERT_BGR
+ MENUITEM "Bgra", ID_CONVERT_BGRA
+ END
+ POPUP "&Edit"
+ BEGIN
+ MENUITEM "&Undo", ID_EDIT_UNDO
+ MENUITEM "Undo &Level", ID_EDIT_UNDOLEVEL
+ MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY
+ MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE
+ MENUITEM "View ImageNum", ID_EDIT_VIEWIMAGENUM
+ MENUITEM "View Mipmap", ID_EDIT_VIEWMIPMAP
+ END
+ POPUP "Effe&cts"
+ BEGIN
+ MENUITEM "&Count Colors", ID_EFFECTS_COUNTCOLORS
+ POPUP "&Filters"
+ BEGIN
+ MENUITEM "&Alienify", ID_FILTER_ALIENIFY
+ POPUP "&Bit Filters"
+ BEGIN
+ MENUITEM "Bit Filter &1", ID_FILTER_BITFILTER1
+ MENUITEM "Bit Filter &2", ID_FILTER_BITFILTER2
+ MENUITEM "Bit Filter &3", ID_FILTER_BITFILTER3
+ END
+ POPUP "Blur"
+ BEGIN
+ MENUITEM "&Average", ID_FILTERS_BLUR_AVERAGE
+
+ MENUITEM "&Gaussian", ID_FILTERS_BLUR_GAUSSIAN
+
+ END
+ POPUP "Ed&ge Detect"
+ BEGIN
+ MENUITEM "&Emboss", ID_EFFECTS_FILTERS_EDGEDETECT_EMBOSS
+
+ MENUITEM "Prewitt", ID_EFFECTS_FILTERS_EDGEDETECT_PREWITT
+
+ MENUITEM "Sobel", ID_EFFECTS_FILTERS_EDGEDETECT_SOBEL
+
+ END
+ MENUITEM "&Emboss", ID_FILTER_EMBOSS
+ MENUITEM "&Gamma Correct", ID_FILTER_GAMMACORRECT
+ MENUITEM "&Negative", ID_FILTER_NEGATIVE
+ MENUITEM "N&oise", ID_FILTER_NOISE
+ MENUITEM "&Pixelize", ID_FILTER_PIXELIZE
+ MENUITEM "&Sharpen", ID_FILTER_SHARPEN
+ END
+ MENUITEM "Fli&p", ID_EFFECTS_FLIP
+ MENUITEM "&Mirror", ID_EFFECTS_MIRROR
+ MENUITEM "&Rotate", ID_EFFECTS_FILTERS_ROTATE
+ MENUITEM "&Scale", ID_EFFECTS_FILTERS_SCALE
+ END
+ POPUP "&Help"
+ BEGIN
+ MENUITEM "&About", ID_HELP_ABOUT
+ END
+END
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// DESIGNINFO
+//
+
+#ifdef APSTUDIO_INVOKED
+GUIDELINES DESIGNINFO DISCARDABLE
+BEGIN
+ IDD_DIALOG_ABOUT, DIALOG
+ BEGIN
+ LEFTMARGIN, 7
+ RIGHTMARGIN, 271
+ TOPMARGIN, 7
+ BOTTOMMARGIN, 212
+ END
+
+ IDD_DIALOG_FILTER, DIALOG
+ BEGIN
+ LEFTMARGIN, 7
+ RIGHTMARGIN, 179
+ TOPMARGIN, 7
+ BOTTOMMARGIN, 88
+ END
+
+ IDD_DIALOG_RESIZE, DIALOG
+ BEGIN
+ LEFTMARGIN, 7
+ RIGHTMARGIN, 259
+ TOPMARGIN, 7
+ BOTTOMMARGIN, 88
+ END
+END
+#endif // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Accelerator
+//
+
+IDR_MENU1 ACCELERATORS DISCARDABLE
+BEGIN
+ "C", ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
+ "O", ID_FILE_LOAD, VIRTKEY, CONTROL, NOINVERT
+ "S", ID_FILE_SAVE, VIRTKEY, CONTROL, NOINVERT
+ "U", ID_FILE_OPENURL, VIRTKEY, CONTROL, NOINVERT
+ "V", ID_EDIT_PASTE, VIRTKEY, CONTROL, NOINVERT
+END
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Icon
+//
+
+// Icon with lowest ID value placed first to ensure application icon
+// remains consistent on all systems.
+IDI_ICON1 ICON DISCARDABLE "resources\\OpenIL Logo.ico"
+#endif // English (U.S.) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
+
diff --git a/DevIL/test/Stress/StressTest.dsp b/DevIL/test/Stress/StressTest.dsp
index 68fad5b1..ab76d313 100644
--- a/DevIL/test/Stress/StressTest.dsp
+++ b/DevIL/test/Stress/StressTest.dsp
@@ -1,111 +1,111 @@
-# Microsoft Developer Studio Project File - Name="StressTest" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=StressTest - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "StressTest.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "StressTest.mak" CFG="StressTest - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "StressTest - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "StressTest - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "StressTest - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "../bin"
-# PROP Intermediate_Dir "obj"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-
-!ELSEIF "$(CFG)" == "StressTest - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "../bin/debug"
-# PROP Intermediate_Dir "obj/debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-
-!ENDIF
-
-# Begin Target
-
-# Name "StressTest - Win32 Release"
-# Name "StressTest - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\mmgr.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\stress.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# Begin Source File
-
-SOURCE=.\mmgr.h
-# End Source File
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# End Group
-# End Target
-# End Project
+# Microsoft Developer Studio Project File - Name="StressTest" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Console Application" 0x0103
+
+CFG=StressTest - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "StressTest.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "StressTest.mak" CFG="StressTest - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "StressTest - Win32 Release" (based on "Win32 (x86) Console Application")
+!MESSAGE "StressTest - Win32 Debug" (based on "Win32 (x86) Console Application")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "StressTest - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "../bin"
+# PROP Intermediate_Dir "obj"
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
+# SUBTRACT CPP /YX
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
+
+!ELSEIF "$(CFG)" == "StressTest - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "../bin/debug"
+# PROP Intermediate_Dir "obj/debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c
+# SUBTRACT CPP /YX
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
+
+!ENDIF
+
+# Begin Target
+
+# Name "StressTest - Win32 Release"
+# Name "StressTest - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=.\mmgr.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\stress.cpp
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# Begin Source File
+
+SOURCE=.\mmgr.h
+# End Source File
+# End Group
+# Begin Group "Resource Files"
+
+# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
+# End Group
+# End Target
+# End Project
diff --git a/DevIL/test/URar/test.dsp b/DevIL/test/URar/test.dsp
index 0b9f7a1e..332d3c26 100644
--- a/DevIL/test/URar/test.dsp
+++ b/DevIL/test/URar/test.dsp
@@ -1,96 +1,96 @@
-# Microsoft Developer Studio Project File - Name="test" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=test - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "test.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "test.mak" CFG="test - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "test - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "test - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "test - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-
-!ELSEIF "$(CFG)" == "test - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "Debug"
-# PROP Intermediate_Dir "Debug"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-
-!ENDIF
-
-# Begin Target
-
-# Name "test - Win32 Release"
-# Name "test - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\test.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\urarlib.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\urarlib.h
-# End Source File
-# End Target
-# End Project
+# Microsoft Developer Studio Project File - Name="test" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Console Application" 0x0103
+
+CFG=test - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "test.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "test.mak" CFG="test - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "test - Win32 Release" (based on "Win32 (x86) Console Application")
+!MESSAGE "test - Win32 Debug" (based on "Win32 (x86) Console Application")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "test - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "Release"
+# PROP Intermediate_Dir "Release"
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
+# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
+
+!ELSEIF "$(CFG)" == "test - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "Debug"
+# PROP Intermediate_Dir "Debug"
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
+# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
+
+!ENDIF
+
+# Begin Target
+
+# Name "test - Win32 Release"
+# Name "test - Win32 Debug"
+# Begin Source File
+
+SOURCE=.\test.c
+# End Source File
+# Begin Source File
+
+SOURCE=.\urarlib.c
+# End Source File
+# Begin Source File
+
+SOURCE=.\urarlib.h
+# End Source File
+# End Target
+# End Project
diff --git a/DevIL/test/URar/test.dsw b/DevIL/test/URar/test.dsw
index e25096d1..b5c03bc6 100644
--- a/DevIL/test/URar/test.dsw
+++ b/DevIL/test/URar/test.dsw
@@ -1,29 +1,29 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "test"=.\test.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
+Microsoft Developer Studio Workspace File, Format Version 6.00
+# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
+
+###############################################################################
+
+Project: "test"=.\test.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Global:
+
+Package=<5>
+{{{
+}}}
+
+Package=<3>
+{{{
+}}}
+
+###############################################################################
+
diff --git a/DevIL/test/Unzip/nv_unzip.cpp b/DevIL/test/Unzip/nv_unzip.cpp
index 61bef608..7858a916 100644
--- a/DevIL/test/Unzip/nv_unzip.cpp
+++ b/DevIL/test/Unzip/nv_unzip.cpp
@@ -1,96 +1,96 @@
-/*********************************************************************NVMH1****
-File:
-nv_unzip.cpp
-
-Copyright (C) 1999, 2000 NVIDIA Corporation
-This file is provided without support, instruction, or implied warranty of any
-kind. NVIDIA makes no guarantee of its fitness for a particular purpose and is
-not liable under any circumstances for any damages or loss whatsoever arising
-from the use or inability to use this file or items derived from it.
-
-Comments:
-
-
-******************************************************************************/
-
-#ifndef __nv_util_h__
-#include <nv_util.h>
-#endif // __nv_util_h__
-
-#ifndef _unz_H
-#include <unzip.h>
-#endif // _unz_H
-
-namespace unzip
-{
- unsigned char * open(const char * filename, const char * inzipfile, unsigned int * size)
- {
- char filename_inzip[256];
- int err=UNZ_OK;
- FILE *fout=NULL;
- unsigned char * buf;
- unzFile uf=NULL;
-
- uf = unzOpen(filename);
-
- if (unzLocateFile(uf,inzipfile,0)!=UNZ_OK) //CASESENSITIVITY
- {
- printf("file %s not found in the zipfile\n",filename);
- return NULL;
- }
-
- unz_file_info file_info;
- uLong ratio=0;
- err = unzGetCurrentFileInfo(uf,&file_info,filename_inzip,sizeof(filename_inzip),NULL,0,NULL,0);
-
- if (err!=UNZ_OK)
- {
- printf("error %d with zipfile in unzGetCurrentFileInfo\n",err);
- return NULL;
- }
-
-
- err = unzOpenCurrentFile(uf);
- if (err!=UNZ_OK)
- {
- printf("error %d with zipfile in unzOpenCurrentFile\n",err);
- return NULL;
- }
-
- *size = file_info.uncompressed_size;
- buf = new unsigned char[file_info.uncompressed_size];
-
- unsigned int count = 0;
- err = 1;
- while (err > 0)
- {
- err = unzReadCurrentFile(uf,&buf[count],65535);
- if (err<0)
- {
- printf("error %d with zipfile in unzReadCurrentFile\n",err);
- break;
- }
- else
- count += err;
- }
- assert(count == file_info.uncompressed_size);
- if (err==UNZ_OK)
- {
- err = unzCloseCurrentFile (uf);
- if (err!=UNZ_OK)
- {
- printf("error %d with zipfile in unzCloseCurrentFile\n",err);
- }
- }
- else
- {
- *size = 0;
- delete [] buf;
- buf = NULL;
- unzCloseCurrentFile(uf); /* don't lose the error */
- }
-
- return buf;
- }
-
+/*********************************************************************NVMH1****
+File:
+nv_unzip.cpp
+
+Copyright (C) 1999, 2000 NVIDIA Corporation
+This file is provided without support, instruction, or implied warranty of any
+kind. NVIDIA makes no guarantee of its fitness for a particular purpose and is
+not liable under any circumstances for any damages or loss whatsoever arising
+from the use or inability to use this file or items derived from it.
+
+Comments:
+
+
+******************************************************************************/
+
+#ifndef __nv_util_h__
+#include <nv_util.h>
+#endif // __nv_util_h__
+
+#ifndef _unz_H
+#include <unzip.h>
+#endif // _unz_H
+
+namespace unzip
+{
+ unsigned char * open(const char * filename, const char * inzipfile, unsigned int * size)
+ {
+ char filename_inzip[256];
+ int err=UNZ_OK;
+ FILE *fout=NULL;
+ unsigned char * buf;
+ unzFile uf=NULL;
+
+ uf = unzOpen(filename);
+
+ if (unzLocateFile(uf,inzipfile,0)!=UNZ_OK) //CASESENSITIVITY
+ {
+ printf("file %s not found in the zipfile\n",filename);
+ return NULL;
+ }
+
+ unz_file_info file_info;
+ uLong ratio=0;
+ err = unzGetCurrentFileInfo(uf,&file_info,filename_inzip,sizeof(filename_inzip),NULL,0,NULL,0);
+
+ if (err!=UNZ_OK)
+ {
+ printf("error %d with zipfile in unzGetCurrentFileInfo\n",err);
+ return NULL;
+ }
+
+
+ err = unzOpenCurrentFile(uf);
+ if (err!=UNZ_OK)
+ {
+ printf("error %d with zipfile in unzOpenCurrentFile\n",err);
+ return NULL;
+ }
+
+ *size = file_info.uncompressed_size;
+ buf = new unsigned char[file_info.uncompressed_size];
+
+ unsigned int count = 0;
+ err = 1;
+ while (err > 0)
+ {
+ err = unzReadCurrentFile(uf,&buf[count],65535);
+ if (err<0)
+ {
+ printf("error %d with zipfile in unzReadCurrentFile\n",err);
+ break;
+ }
+ else
+ count += err;
+ }
+ assert(count == file_info.uncompressed_size);
+ if (err==UNZ_OK)
+ {
+ err = unzCloseCurrentFile (uf);
+ if (err!=UNZ_OK)
+ {
+ printf("error %d with zipfile in unzCloseCurrentFile\n",err);
+ }
+ }
+ else
+ {
+ *size = 0;
+ delete [] buf;
+ buf = NULL;
+ unzCloseCurrentFile(uf); /* don't lose the error */
+ }
+
+ return buf;
+ }
+
} // namespace unzip \ No newline at end of file