Skip to content

Commit

Permalink
修正duidemo Release版资源加载出错的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Troy committed Jul 29, 2015
1 parent d1b3334 commit 419b437
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@
*.opensdf
*.lastbuildstate
*.exe
*.dll
*.dll
*.cache
*.exp
*.aps
2 changes: 1 addition & 1 deletion Demos/duidemo/MainWnd.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class CDemoFrame : public WindowImplBase, public CWebBrowserEventHandler, public

LPCTSTR GetResourceID() const
{
return _T("IDR_RES_SKIN");
return _T("IDR_ZIPRES");
}

DuiLib::CDuiString GetZIPFileName() const
Expand Down
Binary file modified Demos/duidemo/Res/duidemo.zip
Binary file not shown.
4 changes: 3 additions & 1 deletion Demos/duidemo/duidemo.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,9 @@
<None Include="..\..\bin\skin\duidemo\main.xml">
<SubType>Designer</SubType>
</None>
<None Include="..\..\bin\skin\duidemo\popup.xml" />
<None Include="..\..\bin\skin\duidemo\popup.xml">
<SubType>Designer</SubType>
</None>
<None Include="..\..\bin\skin\duidemo\scrollbar.bmp" />
<None Include="..\..\bin\skin\duidemo\skin.xml" />
<None Include="..\..\bin\skin\duidemo\sys_dlg_close.png" />
Expand Down
Binary file modified Demos/duidemo/resource.h
Binary file not shown.
Binary file modified DuiLib.suo
Binary file not shown.
1 change: 1 addition & 0 deletions DuiLib/DuiLib.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@
<TargetMachine>MachineX86</TargetMachine>
<ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
<ImportLibrary>$(SolutionDir)Lib\$(ProjectName).lib</ImportLibrary>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<Bscmake>
<SuppressStartupBanner>true</SuppressStartupBanner>
Expand Down

0 comments on commit 419b437

Please sign in to comment.