-
Notifications
You must be signed in to change notification settings - Fork 5
/
ImportDlg.cpp
60 lines (41 loc) · 1.16 KB
/
ImportDlg.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
DENUVO_Profiler v0.3
--------------------
CRACKLAB, ELF
--------------------
Tiberium reversing
********************
2011 - 2024
*/
#include "stdafx.h"
#include "12.h"
#include "ImportDlg.h"
#include "afxdialogex.h"
// äèàëîãîâîå îêíî CImportDlg
IMPLEMENT_DYNAMIC(CImportDlg, CDialogEx)
CImportDlg::CImportDlg(CWnd* pParent /*=NULL*/)
: CDialogEx(CImportDlg::IDD, pParent)
{
}
CImportDlg::~CImportDlg()
{
}
void CImportDlg::DoDataExchange(CDataExchange* pDX)
{
CDialogEx::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(CImportDlg, CDialogEx)
ON_BN_CLICKED(IDC_LOAD_FROM_DUMP_FILE, &CImportDlg::OnBnClickedLoadFromDumpFile)
END_MESSAGE_MAP()
// îáðàáîò÷èêè ñîîáùåíèé CImportDlg
void CImportDlg::OnBnClickedLoadFromDumpFile()
{
// TODO: äîáàâüòå ñâîé êîä îáðàáîò÷èêà óâåäîìëåíèé
CFileDialog fileDialog(TRUE,NULL,L"*.TXT",NULL,L"debugger import log file (*.txt)|*.txt|");
int result = fileDialog.DoModal();
if (result==IDOK)
{
POSITION ps=fileDialog.GetStartPosition(); // ïîëó÷èòü íà÷àëüíóþ ïîçèöèþ
CString inport_file_path = fileDialog.GetNextPathName(ps);// ïîêà åñòü âûáðàííûå ôàéëû
}
}