?? ucguigenapp.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 + -