xp_activate32 version 1.0.1 at last!

This commit is contained in:
Alexander Frick
2025-11-22 00:39:34 -08:00
parent df57dc5329
commit 794b60ff35
3 changed files with 8 additions and 3 deletions
+5
View File
@@ -1,6 +1,11 @@
#ifndef XP_ACTIVATE32_CONSTANTS_H_
#define XP_ACTIVATE32_CONSTANTS_H_
#include <cstdint>
#include <string>
#define assert(x) /*nothing*/
typedef int64_t i64;
typedef uint64_t ui64;
+2 -2
View File
@@ -3,8 +3,6 @@
#include <windows.h>
#include <commctrl.h>
#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;
+1 -1
View File
@@ -3,8 +3,8 @@
#include "resource.h"
#include <stdint.h>
#include <intrin.h>
#include <iostream>
#include "constants.h"