summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorscuri <scuri>2009-06-08 20:14:52 +0000
committerscuri <scuri>2009-06-08 20:14:52 +0000
commit01bb2586942d6dfcba290087f289fea28ea726eb (patch)
tree79e80fae485a3e8c3a5a2c0c3326fad80d00c1b2 /test
parentf7498fef28dbb8f31a289fe6478fd609fda65af6 (diff)
*** empty log message ***
Diffstat (limited to 'test')
-rw-r--r--test/im_view.c5
-rw-r--r--test/im_view.vcproj6
2 files changed, 7 insertions, 4 deletions
diff --git a/test/im_view.c b/test/im_view.c
index 1bfb568..2ec8fac 100644
--- a/test/im_view.c
+++ b/test/im_view.c
@@ -147,11 +147,14 @@ static Ihandle* CreateDialog(void)
return iup_dialog;
}
+#include "im_format_avi.h"
+
int main(int argc, char* argv[])
{
Ihandle* dlg;
- IupOpen();
+ imFormatRegisterAVI();
+ IupOpen(&argc, &argv);
dlg = CreateDialog();
diff --git a/test/im_view.vcproj b/test/im_view.vcproj
index 26aeb22..12cd0ba 100644
--- a/test/im_view.vcproj
+++ b/test/im_view.vcproj
@@ -44,7 +44,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
- AdditionalIncludeDirectories="../../../iup/include;../../../cd/include;../../include"
+ AdditionalIncludeDirectories="../../iup/include;../../cd/include;../include"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE"
MinimalRebuild="false"
BasicRuntimeChecks="3"
@@ -65,10 +65,10 @@
/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="comctl32.lib im.lib iup.lib cd.lib cdiup.lib"
+ AdditionalDependencies="comctl32.lib vfw32.lib im.lib im_avi.lib iup.lib cd.lib iupcd.lib freetype6.lib"
OutputFile="$(OutDir)/im_view.exe"
LinkIncremental="1"
- AdditionalLibraryDirectories="../../lib;../../../iup/lib;../../../cd/lib"
+ AdditionalLibraryDirectories="../lib;../../iup/lib/vc9;../../cd/lib/vc9"
GenerateDebugInformation="true"
ProgramDatabaseFile="$(OutDir)/im_view.pdb"
SubSystem="1"