add build.cmd and make it build from command line

This commit is contained in:
u130b8
2023-09-06 14:16:24 +03:00
parent bda528569b
commit 0d0e37b561
7 changed files with 56 additions and 3 deletions

View File

@@ -84,6 +84,8 @@ BOOL InitializeGroups()
Pointer to a group window structure
or NULL on failure
\* * * */
#pragma warning(push)
#pragma warning(disable: 4172)
PGROUPWND CreateGroupWindow(PGROUP pgGroup)
{
GROUPWND gw = { NULL };
@@ -144,6 +146,7 @@ PGROUPWND CreateGroupWindow(PGROUP pgGroup)
return &gw;
}
#pragma warning(pop)
/* * * *\
SetGroupFlags -

Binary file not shown.

Binary file not shown.

View File

@@ -165,3 +165,20 @@ int WINAPI wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance,
return 0;
}
#pragma function(memset)
void *memset(char* dst, int value, size_t count) {
while (count--) { *dst++ = value; }
return dst;
}
#pragma function(memcpy)
void *memcpy(char *dst, const char *src, size_t count) {
while (count--) { *dst++ = *src++; }
return dst;
}
void __stdcall wWinMainCRTStartup() {
int code = wWinMain(GetModuleHandle(0), 0, 0, 0);
ExitProcess(code);
}

View File

@@ -9,7 +9,7 @@
/* Necessary Evil */
#define APSTUDIO_HIDDEN_SYMBOLS
#include <afxres.h>
#include <windows.h>
#include "resource.h"
#undef APSTUDIO_HIDDEN_SYMBOLS