cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Pilgrim

Suite: basic function not compiled in InstallScript function in IS2014

In IS2014 suite project, the basic function such as MessageBox can't be compiled. I included ifx.h and then ISRTWindows.h. Anyting missing?
--------------------
/ Include Ifx.h for built-in InstallScript function prototypes and for Suite
// function prototypes.
#include "ifx.h"
#include "ISRTWindows.h"

// The keyword export identifies MyFunction() as an entry-point function.
// The argument it accepts must be an object for a Suite extension interface.
export prototype MyFunction(OBJECT);

// To Do: Declare global variables, define constants, and prototype user-
// defined and DLL functions here.

///////////////////////////////////////////////////////////////////////////////
//
// Function: MyFunction
//
// Purpose: This function will be called by the script engine when
// the Suite engine calls your InstallScript action.
//
///////////////////////////////////////////////////////////////////////////////
function MyFunction(oExtension)
// To Do: Declare local variables.
string str1;
begin
MessageBox("MyFunction:",INFORMATION);
//SprintfBox(INFORMATION,"MyFunction:","%s", str1);
// To Do: Write script that will be executed when MyFunction is called.
str1="Hello";

end;
Labels (1)
Tags (1)
0 Kudos
2 Replies
Highlighted
Pilgrim

Re: Suite: basic function not compiled in InstallScript function in IS2014

I am not certain of IS2014, but IS2013 did not allow any UI dialogs/message boxes to display.
0 Kudos
Highlighted
Pilgrim

Re: Suite: basic function not compiled in InstallScript function in IS2014

I think that you answered my question. Fortunately, LaunchAppAndWait() works.
0 Kudos