|
#pragma once
#include "MDUserImports.h"
#pragma warning(disable: 4996) // strcpy is secure because the buffer size is ALWAYS checked here!
using namespace System;
using namespace System::Runtime::InteropServices; // Marshal
// Macro
#define CPY(Buffer, Managed, Field) MDaemon::cHelper::CopyManagedString(Buffer, sizeof(Buffer), Managed, Field)
namespace MDaemon
{
__gc class cHelper
{
public:
static void LoadMdUserDllOnce();
static void CopyManagedString(char* s8_Buffer, int s32_Bufsize, String* s_String, String* s_Field);
};
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.