-#include <windows.h>
-#include <commctrl.h>
-#include <commdlg.h>
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include <ctype.h>
#include <time.h>
-#include "ssh.h"
#include "putty.h"
-#include "winstuff.h"
+#include "ssh.h"
#include "win_res.h"
#include "storage.h"
#include "dialog.h"
+#include <commctrl.h>
+#include <commdlg.h>
+#include <shellapi.h>
+
#ifdef MSVC4
#define TVINSERTSTRUCT TV_INSERTSTRUCT
#define TVITEM TV_ITEM
ctrl_free_box(ctrlbox);
winctrl_cleanup(&ctrls_base);
winctrl_cleanup(&ctrls_panel);
- sfree(dp.errtitle);
dp_cleanup(&dp);
if (!ret)