Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
29 lines
511 B
C++
29 lines
511 B
C++
#ifndef _DEBUG_UTILS_H_
|
|
#define _DEBUG_UTILS_H_
|
|
|
|
#include <tchar.h>
|
|
|
|
namespace DbgUtils
|
|
{
|
|
class CConvertErrorToText;
|
|
void SetProgramName(TCHAR* pszOutBuffer, int nBufferSize, TCHAR* pszProgamName = 0);
|
|
};
|
|
|
|
class DbgUtils::CConvertErrorToText
|
|
{
|
|
public:
|
|
|
|
unsigned long GetErrorTextBuffer(TCHAR* lpMessage,
|
|
unsigned long dwBufferLen, unsigned long dwLastError);
|
|
|
|
static CConvertErrorToText& GetInstance();
|
|
|
|
private:
|
|
|
|
CConvertErrorToText();
|
|
~CConvertErrorToText();
|
|
|
|
HMODULE m_hNetMsg;
|
|
};
|
|
|
|
#endif |