diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/im_view.c | 5 | ||||
-rw-r--r-- | test/im_view.vcproj | 6 |
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" |