├── .gitattributes ├── .gitignore ├── Bin ├── ChatServer - 副本.db ├── ChatServer.db ├── ChatServer.exe ├── ChatServer.iobj ├── ChatServer.ipdb ├── ChatServer_d.exe ├── DuiLib_u.dll ├── DuiLib_ud.dll ├── Skin │ ├── MainWnd.xml │ ├── TopBar_Close_Btn.png │ ├── TopBar_Close_Btn_Click.png │ ├── TopBar_Close_Btn_Hover.png │ ├── TopBar_Full_Btn.png │ ├── TopBar_Full_Btn_Click.png │ ├── TopBar_Full_Btn_Hover.png │ ├── TopBar_Narrow_Btn.png │ ├── TopBar_Narrow_Btn_Click.png │ ├── TopBar_Narrow_Btn_Hover.png │ ├── TopBar_Window_Btn.png │ ├── TopBar_Window_Btn_Click.png │ └── TopBar_Window_Btn_Hover.png ├── Sqlite3.dll ├── mfc140u.dll ├── msvcp140.dll └── vcruntime140.dll ├── ChatServer.sln ├── ChatServer ├── ChatServer.vcxproj ├── ChatServer.vcxproj.filters ├── Common.cpp ├── Common.h ├── DBModule.cpp ├── DBModule.h ├── DuiLib │ ├── Control │ │ ├── UIActiveX.cpp │ │ ├── UIActiveX.h │ │ ├── UIButton.cpp │ │ ├── UIButton.h │ │ ├── UICheckBox.cpp │ │ ├── UICheckBox.h │ │ ├── UICombo.cpp │ │ ├── UICombo.h │ │ ├── UIDateTime.cpp │ │ ├── UIDateTime.h │ │ ├── UIEdit.cpp │ │ ├── UIEdit.h │ │ ├── UIFlash.cpp │ │ ├── UIFlash.h │ │ ├── UIGifAnim.cpp │ │ ├── UIGifAnim.h │ │ ├── UILabel.cpp │ │ ├── UILabel.h │ │ ├── UIList.cpp │ │ ├── UIList.h │ │ ├── UIOption.cpp │ │ ├── UIOption.h │ │ ├── UIProgress.cpp │ │ ├── UIProgress.h │ │ ├── UIRichEdit.cpp │ │ ├── UIRichEdit.h │ │ ├── UIScrollBar.cpp │ │ ├── UIScrollBar.h │ │ ├── UISlider.cpp │ │ ├── UISlider.h │ │ ├── UIText.cpp │ │ ├── UIText.h │ │ ├── UITreeView.cpp │ │ ├── UITreeView.h │ │ ├── UIWebBrowser.cpp │ │ └── UIWebBrowser.h │ ├── Core │ │ ├── UIBase.cpp │ │ ├── UIBase.h │ │ ├── UIContainer.cpp │ │ ├── UIContainer.h │ │ ├── UIControl.cpp │ │ ├── UIControl.h │ │ ├── UIDefine.h │ │ ├── UIDlgBuilder.cpp │ │ ├── UIDlgBuilder.h │ │ ├── UIManager.cpp │ │ ├── UIManager.h │ │ ├── UIMarkup.cpp │ │ ├── UIMarkup.h │ │ ├── UIRender.cpp │ │ └── UIRender.h │ ├── Layout │ │ ├── UIChildLayout.cpp │ │ ├── UIChildLayout.h │ │ ├── UIHorizontalLayout.cpp │ │ ├── UIHorizontalLayout.h │ │ ├── UITabLayout.cpp │ │ ├── UITabLayout.h │ │ ├── UITileLayout.cpp │ │ ├── UITileLayout.h │ │ ├── UIVerticalLayout.cpp │ │ └── UIVerticalLayout.h │ ├── UIlib.cpp │ ├── UIlib.h │ └── Utils │ │ ├── FlashEventHandler.h │ │ ├── UIDelegate.cpp │ │ ├── UIDelegate.h │ │ ├── Utils.cpp │ │ ├── Utils.h │ │ ├── WebBrowserEventHandler.h │ │ ├── WinImplBase.cpp │ │ ├── WinImplBase.h │ │ ├── WndShadow.cpp │ │ ├── WndShadow.h │ │ ├── XUnzip.cpp │ │ ├── downloadmgr.h │ │ ├── stb_image.c │ │ └── stb_image.h ├── IOCPBase.cpp ├── IOCPBase.h ├── Mian.cpp ├── NetwordModule.cpp ├── NetwordModule.h ├── Protocol.h ├── SQLite.cpp ├── SQLite.h ├── Server.cpp ├── Server.h ├── ServerMainWnd.cpp ├── ServerMainWnd.h ├── Sqlite3 │ ├── sqlite3.c │ └── sqlite3.h ├── Task.cpp ├── Task.h ├── ThreadPool.cpp ├── ThreadPool.h ├── dll │ ├── DuiLib_u.dll │ ├── DuiLib_ud.dll │ ├── Sqlite3.dll │ └── Sqlite3.lib ├── lib │ ├── DuiLib_u.lib │ ├── DuiLib_ud.lib │ └── Sqlite3.lib ├── rapidjson │ ├── allocators.h │ ├── cursorstreamwrapper.h │ ├── document.h │ ├── encodedstream.h │ ├── encodings.h │ ├── error │ │ ├── en.h │ │ └── error.h │ ├── filereadstream.h │ ├── filewritestream.h │ ├── fwd.h │ ├── internal │ │ ├── biginteger.h │ │ ├── diyfp.h │ │ ├── dtoa.h │ │ ├── ieee754.h │ │ ├── itoa.h │ │ ├── meta.h │ │ ├── pow10.h │ │ ├── regex.h │ │ ├── stack.h │ │ ├── strfunc.h │ │ ├── strtod.h │ │ └── swap.h │ ├── istreamwrapper.h │ ├── memorybuffer.h │ ├── memorystream.h │ ├── msinttypes │ │ ├── inttypes.h │ │ └── stdint.h │ ├── ostreamwrapper.h │ ├── pointer.h │ ├── prettywriter.h │ ├── rapidjson.h │ ├── reader.h │ ├── schema.h │ ├── stream.h │ ├── stringbuffer.h │ └── writer.h ├── stdafx.cpp └── stdafx.h ├── LICENSE ├── README.md ├── Sqlite3.dll └── Sqlite3.lib /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | ## 4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore 5 | 6 | # User-specific files 7 | *.suo 8 | *.user 9 | *.userosscache 10 | *.sln.docstates 11 | 12 | # User-specific files (MonoDevelop/Xamarin Studio) 13 | *.userprefs 14 | 15 | # Build results 16 | [Dd]ebug/ 17 | [Dd]ebugPublic/ 18 | [Rr]elease/ 19 | [Rr]eleases/ 20 | x64/ 21 | x86/ 22 | bld/ 23 | [Oo]bj/ 24 | [Ll]og/ 25 | 26 | # Visual Studio 2015 cache/options directory 27 | .vs/ 28 | # Uncomment if you have tasks that create the project's static files in wwwroot 29 | #wwwroot/ 30 | 31 | # MSTest test Results 32 | [Tt]est[Rr]esult*/ 33 | [Bb]uild[Ll]og.* 34 | 35 | # NUNIT 36 | *.VisualState.xml 37 | TestResult.xml 38 | 39 | # Build Results of an ATL Project 40 | [Dd]ebugPS/ 41 | [Rr]eleasePS/ 42 | dlldata.c 43 | 44 | # Benchmark Results 45 | BenchmarkDotNet.Artifacts/ 46 | 47 | # .NET Core 48 | project.lock.json 49 | project.fragment.lock.json 50 | artifacts/ 51 | **/Properties/launchSettings.json 52 | 53 | *_i.c 54 | *_p.c 55 | *_i.h 56 | *.ilk 57 | *.meta 58 | *.obj 59 | *.pch 60 | *.pdb 61 | *.pgc 62 | *.pgd 63 | *.rsp 64 | *.sbr 65 | *.tlb 66 | *.tli 67 | *.tlh 68 | *.tmp 69 | *.tmp_proj 70 | *.log 71 | *.vspscc 72 | *.vssscc 73 | .builds 74 | *.pidb 75 | *.svclog 76 | *.scc 77 | 78 | # Chutzpah Test files 79 | _Chutzpah* 80 | 81 | # Visual C++ cache files 82 | ipch/ 83 | *.aps 84 | *.ncb 85 | *.opendb 86 | *.opensdf 87 | *.sdf 88 | *.cachefile 89 | *.VC.db 90 | *.VC.VC.opendb 91 | 92 | # Visual Studio profiler 93 | *.psess 94 | *.vsp 95 | *.vspx 96 | *.sap 97 | 98 | # TFS 2012 Local Workspace 99 | $tf/ 100 | 101 | # Guidance Automation Toolkit 102 | *.gpState 103 | 104 | # ReSharper is a .NET coding add-in 105 | _ReSharper*/ 106 | *.[Rr]e[Ss]harper 107 | *.DotSettings.user 108 | 109 | # JustCode is a .NET coding add-in 110 | .JustCode 111 | 112 | # TeamCity is a build add-in 113 | _TeamCity* 114 | 115 | # DotCover is a Code Coverage Tool 116 | *.dotCover 117 | 118 | # AxoCover is a Code Coverage Tool 119 | .axoCover/* 120 | !.axoCover/settings.json 121 | 122 | # Visual Studio code coverage results 123 | *.coverage 124 | *.coveragexml 125 | 126 | # NCrunch 127 | _NCrunch_* 128 | .*crunch*.local.xml 129 | nCrunchTemp_* 130 | 131 | # MightyMoose 132 | *.mm.* 133 | AutoTest.Net/ 134 | 135 | # Web workbench (sass) 136 | .sass-cache/ 137 | 138 | # Installshield output folder 139 | [Ee]xpress/ 140 | 141 | # DocProject is a documentation generator add-in 142 | DocProject/buildhelp/ 143 | DocProject/Help/*.HxT 144 | DocProject/Help/*.HxC 145 | DocProject/Help/*.hhc 146 | DocProject/Help/*.hhk 147 | DocProject/Help/*.hhp 148 | DocProject/Help/Html2 149 | DocProject/Help/html 150 | 151 | # Click-Once directory 152 | publish/ 153 | 154 | # Publish Web Output 155 | *.[Pp]ublish.xml 156 | *.azurePubxml 157 | # Note: Comment the next line if you want to checkin your web deploy settings, 158 | # but database connection strings (with potential passwords) will be unencrypted 159 | *.pubxml 160 | *.publishproj 161 | 162 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 163 | # checkin your Azure Web App publish settings, but sensitive information contained 164 | # in these scripts will be unencrypted 165 | PublishScripts/ 166 | 167 | # NuGet Packages 168 | *.nupkg 169 | # The packages folder can be ignored because of Package Restore 170 | **/packages/* 171 | # except build/, which is used as an MSBuild target. 172 | !**/packages/build/ 173 | # Uncomment if necessary however generally it will be regenerated when needed 174 | #!**/packages/repositories.config 175 | # NuGet v3's project.json files produces more ignorable files 176 | *.nuget.props 177 | *.nuget.targets 178 | 179 | # Microsoft Azure Build Output 180 | csx/ 181 | *.build.csdef 182 | 183 | # Microsoft Azure Emulator 184 | ecf/ 185 | rcf/ 186 | 187 | # Windows Store app package directories and files 188 | AppPackages/ 189 | BundleArtifacts/ 190 | Package.StoreAssociation.xml 191 | _pkginfo.txt 192 | *.appx 193 | 194 | # Visual Studio cache files 195 | # files ending in .cache can be ignored 196 | *.[Cc]ache 197 | # but keep track of directories ending in .cache 198 | !*.[Cc]ache/ 199 | 200 | # Others 201 | ClientBin/ 202 | ~$* 203 | *~ 204 | *.dbmdl 205 | *.dbproj.schemaview 206 | *.jfm 207 | *.pfx 208 | *.publishsettings 209 | orleans.codegen.cs 210 | 211 | # Since there are multiple workflows, uncomment next line to ignore bower_components 212 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 213 | #bower_components/ 214 | 215 | # RIA/Silverlight projects 216 | Generated_Code/ 217 | 218 | # Backup & report files from converting an old project file 219 | # to a newer Visual Studio version. Backup files are not needed, 220 | # because we have git ;-) 221 | _UpgradeReport_Files/ 222 | Backup*/ 223 | UpgradeLog*.XML 224 | UpgradeLog*.htm 225 | 226 | # SQL Server files 227 | *.mdf 228 | *.ldf 229 | *.ndf 230 | 231 | # Business Intelligence projects 232 | *.rdl.data 233 | *.bim.layout 234 | *.bim_*.settings 235 | 236 | # Microsoft Fakes 237 | FakesAssemblies/ 238 | 239 | # GhostDoc plugin setting file 240 | *.GhostDoc.xml 241 | 242 | # Node.js Tools for Visual Studio 243 | .ntvs_analysis.dat 244 | node_modules/ 245 | 246 | # Typescript v1 declaration files 247 | typings/ 248 | 249 | # Visual Studio 6 build log 250 | *.plg 251 | 252 | # Visual Studio 6 workspace options file 253 | *.opt 254 | 255 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 256 | *.vbw 257 | 258 | # Visual Studio LightSwitch build output 259 | **/*.HTMLClient/GeneratedArtifacts 260 | **/*.DesktopClient/GeneratedArtifacts 261 | **/*.DesktopClient/ModelManifest.xml 262 | **/*.Server/GeneratedArtifacts 263 | **/*.Server/ModelManifest.xml 264 | _Pvt_Extensions 265 | 266 | # Paket dependency manager 267 | .paket/paket.exe 268 | paket-files/ 269 | 270 | # FAKE - F# Make 271 | .fake/ 272 | 273 | # JetBrains Rider 274 | .idea/ 275 | *.sln.iml 276 | 277 | # CodeRush 278 | .cr/ 279 | 280 | # Python Tools for Visual Studio (PTVS) 281 | __pycache__/ 282 | *.pyc 283 | 284 | # Cake - Uncomment if you are using it 285 | # tools/** 286 | # !tools/packages.config 287 | 288 | # Tabs Studio 289 | *.tss 290 | 291 | # Telerik's JustMock configuration file 292 | *.jmconfig 293 | 294 | # BizTalk build output 295 | *.btp.cs 296 | *.btm.cs 297 | *.odx.cs 298 | *.xsd.cs 299 | -------------------------------------------------------------------------------- /Bin/ChatServer - 副本.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTGuoying/duilib_ChatServer/a7fdbb449b755c7d09982cb349ca34d9740d7a1c/Bin/ChatServer - 副本.db -------------------------------------------------------------------------------- /Bin/ChatServer.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTGuoying/duilib_ChatServer/a7fdbb449b755c7d09982cb349ca34d9740d7a1c/Bin/ChatServer.db -------------------------------------------------------------------------------- /Bin/ChatServer.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTGuoying/duilib_ChatServer/a7fdbb449b755c7d09982cb349ca34d9740d7a1c/Bin/ChatServer.exe -------------------------------------------------------------------------------- /Bin/ChatServer.iobj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTGuoying/duilib_ChatServer/a7fdbb449b755c7d09982cb349ca34d9740d7a1c/Bin/ChatServer.iobj -------------------------------------------------------------------------------- /Bin/ChatServer.ipdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTGuoying/duilib_ChatServer/a7fdbb449b755c7d09982cb349ca34d9740d7a1c/Bin/ChatServer.ipdb -------------------------------------------------------------------------------- /Bin/ChatServer_d.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTGuoying/duilib_ChatServer/a7fdbb449b755c7d09982cb349ca34d9740d7a1c/Bin/ChatServer_d.exe -------------------------------------------------------------------------------- /Bin/DuiLib_u.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTGuoying/duilib_ChatServer/a7fdbb449b755c7d09982cb349ca34d9740d7a1c/Bin/DuiLib_u.dll -------------------------------------------------------------------------------- /Bin/DuiLib_ud.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTGuoying/duilib_ChatServer/a7fdbb449b755c7d09982cb349ca34d9740d7a1c/Bin/DuiLib_ud.dll -------------------------------------------------------------------------------- /Bin/Skin/MainWnd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |