Installation over previous versions

Top  Previous  Next

Installation over versions prior to 2.14 (Changes introduced in v2.14)

 

We added some new variables to the global area of the DCT. If you don't add them to your DCT the new features won't work, but you won't have any errors.

 

Installation over versions prior to 2.00 (Changes introduced in v2.00)

 

You don't need to do any of these if you are doing a new installation.

 

There are important changes in this new version of NeatMessage. While we tried to maintain backwards compatibility as it best, there are too many improvements that made us change several areas of your existing template and procedure. Please check these, before recompile your program. All of these are one-time only operations.

 

1) When you open your app containing your "Audit Pack", you will notice a warning saying the extension "JALExtFRMsg" is removed ("Unknown template type JALExtFRMsg). You have to enter your "NeatMessage" procedure, and simply add the local extension to the NeatMessage procedure, again.

 

2) There are new global options that you have to fill to take advantage of the new features. Look at the "Variables" tab in the global extension, you need to specify at least the "Messages" file name and its keys and fields.

Note that if you left the new global fields blank, everything should work like in previous versions.

 

3) You have to change some parameters in the NeatMessage procedure, as all the "spanish" names was properly translated to English.

 

The prototype ends like this (you can copy & paste from here or from the example programs):

 

(STRING PAR:Message,<STRING PAR:Title>,<STRING PAR:Icon>,<STRING PAR:Button>,UNSIGNED PAR:Default=0,BOOL Style=False),UNSIGNED,PROC

 

The parameters list should look like this:

 

(STRING PAR:Message,<STRING PAR:Title>,<STRING PAR:Icon>,<STRING PAR:Button>,UNSIGNED PAR:Default=0,BOOL Style=False)

 

In a multi-dll system, you may do this in the NeatMessage procedure only (Although for coherence it would be advisable to do it in every "external" call to the procedure as well, it is not mandatory).

 

If you forget to change these parameteres, you may get the following error when compile your app:

Syntax error: Unknown identifier: PAR:TITLE and others.

 

4) You have to reimport from the example the "NeatMessage" window structure inside the procedure, or add the following line (in bold) inside the Window structure (entering by the elipsis button):

 

Window WINDOW(' '),AT(,,1,1),FONT('MS Sans Serif',8,,FONT:regular,CHARSET:ANSI),COLOR(0CCE7FDH),CENTER,GRAY

  TEXT,AT(7,8,245,13),USE(LOC:Mensaje),SKIP,DISABLE,TRN,READONLY,#ORIG(LOC:MESSAGE)

  CHECK('Do not ask again'),AT(1,1),USE(LOC:NoAskAgain),SKIP,HIDE

 END

 

If you forget to add this line, you may get the following error when compile your app:

Syntax error: Unknown identifier: ?LOC:NOASKAGAIN