资源简介
NSIS3.0.1官方增强版,内含汉化以及详细图文教程。免安装
代码片段和文件信息
#include
#include // nsis plugin
HINSTANCE g_hInstance;
HWND g_hwndParent;
// To work with Unicode version of NSIS please use TCHAR-type
// functions for accessing the variables and the stack.
void __declspec(dllexport) myFunction(HWND hwndParent int string_size
LPTSTR variables stack_t **stacktop
extra_parameters *extra ...)
{
EXDLL_INIT();
g_hwndParent = hwndParent;
// note if you want parameters from the stack pop them off in order.
// i.e. if you are called via exdll::myFunction file.dat read.txt
// calling popstring() the first time would give you file.dat
// and the second time would give you read.txt.
// you should empty the stack of your parameters and ONLY your
// parameters.
// do your stuff here
{
LPTSTR msgbuf = (LPTSTR) GlobalAlloc(GPTR (3 + string_size + 1) * sizeof(*msgbuf));
if (msgbuf)
{
wsprintf(msgbuf TEXT(“$0=%s“) getuservariable(INST_0));
MessageBox(g_hwndParent msgbuf TEXT(“Message from example plugin“) MB_OK);
GlobalFree(msgbuf);
}
}
}
BOOL WINAPI DllMain(HINSTANCE hInst ULONG ul_reason_for_call LPVOID lpReserved)
{
g_hInstance = hInst;
return TRUE;
}
相关资源
- 基于duilib的NSIS界面插件
- NSIS工具安装打包工具中文版
- Transistor Circuit Techniques
- nsis-3.04-setup.rar
- Fundamentals of RF and Microwave Transistor Am
- Juniper nsISG2000.6.3.0r25升级包
- Griffiths-IntroductiontoElectrodynamics4thEdit
- NSIS中文手册.chm
- NSIS-中文帮助文档
- 论文研究 - 约旦中部Jurf Ed Darawish地区
- Meso-scale experimental Investigation and stra
- Isolation and characterization of LcSAP a Leym
-
Genome-wide identification and ex
pression a - Genetic diversity of Hirsutella sinensis revea
- NSIS2.46增强版
- nsis进阶教程1~5资源代码合集
- nsis+winCodeSign+nsis-resources.zip
- NSIS NSI源代码 制作JAVA WEB + TOMCAT7
- nsis-3.0.4.1.7z
评论
共有 条评论