Skip to content

Commit f5ec35d

Browse files
committed
no message
1 parent ea10dcf commit f5ec35d

25 files changed

+140
-172
lines changed

ZeroBlockMT.sln

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 11.00
3+
# Visual Studio 2010
4+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ZeroBlockMT", "ZeroBlockMT\ZeroBlockMT.vcxproj", "{A5C85714-9EDE-46C8-AA12-D624A131629B}"
5+
EndProject
6+
Global
7+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+
Debug|Win32 = Debug|Win32
9+
Debug|x64 = Debug|x64
10+
Release|Win32 = Release|Win32
11+
Release|x64 = Release|x64
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{A5C85714-9EDE-46C8-AA12-D624A131629B}.Debug|Win32.ActiveCfg = Debug|Win32
15+
{A5C85714-9EDE-46C8-AA12-D624A131629B}.Debug|Win32.Build.0 = Debug|Win32
16+
{A5C85714-9EDE-46C8-AA12-D624A131629B}.Debug|x64.ActiveCfg = Debug|x64
17+
{A5C85714-9EDE-46C8-AA12-D624A131629B}.Debug|x64.Build.0 = Debug|x64
18+
{A5C85714-9EDE-46C8-AA12-D624A131629B}.Release|Win32.ActiveCfg = Release|Win32
19+
{A5C85714-9EDE-46C8-AA12-D624A131629B}.Release|Win32.Build.0 = Release|Win32
20+
{A5C85714-9EDE-46C8-AA12-D624A131629B}.Release|x64.ActiveCfg = Release|x64
21+
{A5C85714-9EDE-46C8-AA12-D624A131629B}.Release|x64.Build.0 = Release|x64
22+
EndGlobalSection
23+
GlobalSection(SolutionProperties) = preSolution
24+
HideSolutionNode = FALSE
25+
EndGlobalSection
26+
EndGlobal

ZeroBlockMT.suo

24 KB
Binary file not shown.

tool3/MainFrm.cpp renamed to ZeroBlockMT/MainFrm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// MainFrm.cpp : implementation of the CMainFrame class
33
//
44
#include "stdafx.h"
5-
#include "tool3.h"
5+
#include "ZeroBlockMT.h"
66
#include <Richedit.h>
77
#include "MainFrm.h"
88
#include <openssl/sha.h>
File renamed without changes.

tool3/ReadMe.txt renamed to ZeroBlockMT/ReadMe.txt

Lines changed: 33 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,47 @@
11
================================================================================
2-
MICROSOFT FOUNDATION CLASS LIBRARY : tool3 Project Overview
2+
MICROSOFT FOUNDATION CLASS LIBRARY : ZeroBlockMT Project Overview
33
===============================================================================
44

5-
tool3.vcxproj
5+
The application wizard has created this ZeroBlockMT application for
6+
you. This application not only demonstrates the basics of using the Microsoft
7+
Foundation Classes but is also a starting point for writing your application.
8+
9+
This file contains a summary of what you will find in each of the files that
10+
make up your ZeroBlockMT application.
11+
12+
ZeroBlockMT.vcxproj
613
This is the main project file for VC++ projects generated using an application wizard.
714
It contains information about the version of Visual C++ that generated the file, and
815
information about the platforms, configurations, and project features selected with the
916
application wizard.
1017

11-
tool3.vcxproj.filters
18+
ZeroBlockMT.vcxproj.filters
1219
This is the filters file for VC++ projects generated using an Application Wizard.
1320
It contains information about the association between the files in your project
1421
and the filters. This association is used in the IDE to show grouping of files with
1522
similar extensions under a specific node (for e.g. ".cpp" files are associated with the
1623
"Source Files" filter).
1724

18-
tool3.h
25+
ZeroBlockMT.h
1926
This is the main header file for the application. It includes other
2027
project specific headers (including Resource.h) and declares the
21-
Ctool3App application class.
28+
CZeroBlockMTApp application class.
2229

23-
tool3.cpp
30+
ZeroBlockMT.cpp
2431
This is the main application source file that contains the application
25-
class Ctool3App.
32+
class CZeroBlockMTApp.
2633

27-
tool3.rc
34+
ZeroBlockMT.rc
2835
This is a listing of all of the Microsoft Windows resources that the
29-
program uses. This file can be directly edited in Microsoft
36+
program uses. It includes the icons, bitmaps, and cursors that are stored
37+
in the RES subdirectory. This file can be directly edited in Microsoft
3038
Visual C++. Your project resources are in 1033.
3139

32-
res\tool3.rc2
40+
res\ZeroBlockMT.ico
41+
This is an icon file, which is used as the application's icon. This
42+
icon is included by the main resource file ZeroBlockMT.rc.
43+
44+
res\ZeroBlockMT.rc2
3345
This file contains resources that are not edited by Microsoft
3446
Visual C++. You should place all resources not editable by
3547
the resource editor in this file.
@@ -41,34 +53,32 @@ For the main frame window:
4153

4254
MainFrm.h, MainFrm.cpp
4355
These files contain the frame class CMainFrame, which is derived from
44-
CFrameWnd
56+
CFrameWnd and controls all SDI frame features.
4557

46-
also
58+
/////////////////////////////////////////////////////////////////////////////
4759

48-
tool3.h:
49-
structures to represent all that. defines're there so to make it compatible with hash functions. transaction structure
50-
doesn't need that.same define statements there to ensure that nothing more is in memory so first : it can be copied as memory block wo care (not a big deal) ,
51-
second : if structure has alignment you can copy it as block too but it gives nothing in this case.
52-
copied from blockzero project
53-
mount.cpp
5460

55-
data
56-
mount.h
5761

58-
class h file
59-
/////////////////////////////////////////////////////////////////////////////
6062

63+
/////////////////////////////////////////////////////////////////////////////
6164

6265
Other standard files:
6366

6467
StdAfx.h, StdAfx.cpp
6568
These files are used to build a precompiled header (PCH) file
66-
named tool3.pch and a precompiled types file named StdAfx.obj.
69+
named ZeroBlockMT.pch and a precompiled types file named StdAfx.obj.
6770

6871
Resource.h
6972
This is the standard header file, which defines new resource IDs.
7073
Microsoft Visual C++ reads and updates this file.
7174

75+
ZeroBlockMT.manifest
76+
Application manifest files are used by Windows XP to describe an applications
77+
dependency on specific versions of Side-by-Side assemblies. The loader uses this
78+
information to load the appropriate assembly from the assembly cache or private
79+
from the application. The Application manifest maybe included for redistribution
80+
as an external .manifest file that is installed in the same folder as the application
81+
executable or it may be included in the executable in the form of a resource.
7282
/////////////////////////////////////////////////////////////////////////////
7383

7484
Other notes:

ZeroBlockMT/ZeroBlockMT.aps

91.8 KB
Binary file not shown.

tool3/tool3.cpp renamed to ZeroBlockMT/ZeroBlockMT.cpp

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

2-
// tool3.cpp : Defines the class behaviors for the application.
2+
// ZeroBlockMT.cpp : Defines the class behaviors for the application.
33
//
44

55
#include "stdafx.h"
66
#include "afxwinappex.h"
77
#include "afxdialogex.h"
8-
#include "tool3.h"
8+
#include "ZeroBlockMT.h"
99
#include "MainFrm.h"
1010

1111

@@ -15,37 +15,37 @@
1515
#endif
1616

1717

18-
// Ctool3App
18+
// CZeroBlockMTApp
1919

2020

2121

2222

23-
BEGIN_MESSAGE_MAP(Ctool3App, CWinApp)
23+
BEGIN_MESSAGE_MAP(CZeroBlockMTApp, CWinApp)
2424

2525
END_MESSAGE_MAP()
2626

2727

28-
// Ctool3App construction
28+
// CZeroBlockMTApp construction
2929

30-
Ctool3App::Ctool3App()
30+
CZeroBlockMTApp::CZeroBlockMTApp()
3131
{
3232
// TODO: replace application ID string below with unique ID string; recommended
3333
// format for string is CompanyName.ProductName.SubProduct.VersionInformation
34-
SetAppID(_T("tool3.AppID.NoVersion"));
34+
SetAppID(_T("ZeroBlockMT.AppID.NoVersion"));
3535
start=0;
3636
// TODO: add construction code here,
3737
// Place all significant initialization in InitInstance
3838
}
3939

40-
// The one and only Ctool3App object
40+
// The one and only CZeroBlockMTApp object
4141

42-
Ctool3App theApp;
42+
CZeroBlockMTApp theApp;
4343

44-
// Ctool3App initialization
44+
// CZeroBlockMTApp initialization
4545
CMainFrame* pFrame;
4646
HINSTANCE h;
4747
HANDLE b;
48-
BOOL Ctool3App::InitInstance()
48+
BOOL CZeroBlockMTApp::InitInstance()
4949
{
5050

5151
CWinApp::InitInstance();
@@ -80,26 +80,26 @@ BOOL Ctool3App::InitInstance()
8080

8181
RegisterClassEx(&w);
8282

83-
pFrame->CreateEx( WS_EX_APPWINDOW|WS_EX_COMPOSITED,L"t",L"tool3",WS_OVERLAPPEDWINDOW,CRect(20,0,487,592),NULL,0);
83+
pFrame->CreateEx( WS_EX_APPWINDOW|WS_EX_COMPOSITED,L"t",L"ZeroBlockMT",WS_OVERLAPPEDWINDOW,CRect(20,0,487,592),NULL,0);
8484
// The one and only window has been initialized, so show and update it
8585
pFrame->ShowWindow(SW_SHOW);
8686
// call DragAcceptFiles only if there's a suffix
8787
// In an SDI app, this should occur after ProcessShellCommand
8888
return TRUE;
8989
}
9090

91-
int Ctool3App::ExitInstance()
91+
int CZeroBlockMTApp::ExitInstance()
9292
{
9393
FreeLibrary((HMODULE)b);
9494
delete pFrame;
9595
return CWinApp::ExitInstance();
9696
}
9797

98-
// Ctool3App message handlers
98+
// CZeroBlockMTApp message handlers
9999

100100

101101

102-
// Ctool3App message handlers
102+
// CZeroBlockMTApp message handlers
103103

104104

105105

tool3/tool3.h renamed to ZeroBlockMT/ZeroBlockMT.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
// tool3.h : main header file for the tool3 application
2+
// ZeroBlockMT.h : main header file for the ZeroBlockMT application
33
const uint8_t pubscriptlength = 67; // 2 + 65 , if unknown at compile time ...
44

55
#pragma once
@@ -39,14 +39,14 @@ struct blockheader {
3939
};
4040

4141

42-
// Ctool3App:
43-
// See tool3.cpp for the implementation of this class
42+
// CZeroBlockMTApp:
43+
// See ZeroBlockMT.cpp for the implementation of this class
4444
//
4545

46-
class Ctool3App : public CWinApp
46+
class CZeroBlockMTApp : public CWinApp
4747
{
4848
public:
49-
Ctool3App();
49+
CZeroBlockMTApp();
5050
int start;
5151

5252
// Overrides
@@ -61,4 +61,4 @@ class Ctool3App : public CWinApp
6161
DECLARE_MESSAGE_MAP()
6262
};
6363

64-
extern Ctool3App theApp;
64+
extern CZeroBlockMTApp theApp;
Binary file not shown.

0 commit comments

Comments
 (0)