From 794b60ff353fab0ae634e0e64321619cb4ff103b Mon Sep 17 00:00:00 2001 From: Alexander Frick Date: Sat, 22 Nov 2025 00:39:34 -0800 Subject: [PATCH] xp_activate32 version 1.0.1 at last! --- src/constants.h | 5 +++++ src/xp_activate32.cc | 4 ++-- src/xp_activate32.h | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/constants.h b/src/constants.h index cdbff75..a4d8a0b 100644 --- a/src/constants.h +++ b/src/constants.h @@ -1,6 +1,11 @@ #ifndef XP_ACTIVATE32_CONSTANTS_H_ #define XP_ACTIVATE32_CONSTANTS_H_ +#include +#include + +#define assert(x) /*nothing*/ + typedef int64_t i64; typedef uint64_t ui64; diff --git a/src/xp_activate32.cc b/src/xp_activate32.cc index 2c219b2..2d39d5f 100644 --- a/src/xp_activate32.cc +++ b/src/xp_activate32.cc @@ -3,8 +3,6 @@ #include #include -#define assert(x) /*nothing*/ - typedef struct { ui64 u[2]; ui64 v[2]; @@ -1016,6 +1014,8 @@ INT_PTR CALLBACK DialogProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) } int main() { + std::wstring welcome = ABOUT_VERSION; + std::wcout << welcome << std::endl; INITCOMMONCONTROLSEX cc = {sizeof(INITCOMMONCONTROLSEX), ICC_STANDARD_CLASSES}; InitCommonControlsEx(&cc); int i; diff --git a/src/xp_activate32.h b/src/xp_activate32.h index fa42c7e..f3138ad 100644 --- a/src/xp_activate32.h +++ b/src/xp_activate32.h @@ -3,8 +3,8 @@ #include "resource.h" -#include #include +#include #include "constants.h"