updated to new exdll interface. note that /TIMEOUT must come before command now.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1122 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
justin1014 2002-09-21 18:49:49 +00:00
parent 6afeb313a4
commit dfb549d324
6 changed files with 6 additions and 94 deletions

View file

@ -1,6 +1,6 @@
#include <windows.h>
#include <commctrl.h>
#include "nsexec.h"
#include "../exdll/exdll.h"
#ifndef true
#define true TRUE
@ -29,9 +29,7 @@ int my_atoi(char *s);
void __declspec(dllexport) Exec(HWND hwndParent, int string_size, char *variables, stack_t **stacktop) {
g_hwndParent=hwndParent;
g_stringsize=string_size;
g_stacktop=stacktop;
g_variables=variables;
EXDLL_INIT();
{
ExecScript(false);
}
@ -39,9 +37,7 @@ void __declspec(dllexport) Exec(HWND hwndParent, int string_size, char *variable
void __declspec(dllexport) ExecToLog(HWND hwndParent, int string_size, char *variables, stack_t **stacktop) {
g_hwndParent=hwndParent;
g_stringsize=string_size;
g_stacktop=stacktop;
g_variables=variables;
EXDLL_INIT();
{
ExecScript(true);
}