⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ucguigenapp.cpp

📁 ucgui中文字体转换工具
💻 CPP
字号:
// UCGUIGenApp.cpp : Defines the entry point for the application.
//

#include "stdafx.h"
#include "stdio.h"

typedef bool (*LPFun)();

int APIENTRY WinMain(HINSTANCE hInstance,
                     HINSTANCE hPrevInstance,
                     LPSTR     lpCmdLine,
                     int       nCmdShow)
{
	char dllpath[256];
	HINSTANCE hDLLInst=NULL;
	do{
		strcpy(dllpath, "UCGUIFontGen.dll");	
		if ((hDLLInst = LoadLibrary(dllpath)) == NULL){
			OutputDebugString(dllpath);
			MessageBox(NULL, dllpath, "加载DLL失败!", 0);
			break;
		}	
		LPFun ShowGenFontHZDlg;
		ShowGenFontHZDlg = (LPFun)GetProcAddress(hDLLInst, (LPCSTR)"ShowGenFontHZDlg");		
		if (ShowGenFontHZDlg == NULL){
			MessageBox(NULL, "Can not find Process!", "test", 0);
			break;
		}
		ShowGenFontHZDlg();
	}while(0);
	FreeLibrary(hDLLInst);
	return 0;
}



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -