Home > Support > Support FAQ

Support FAQ


How to install new fonts in Empresent?
Why to upgrade to the newer version (4.00.00) of Empresent?
Can we design an application on Empresent without having the target board ready?
How to add a new image in iconic area or iconic button of Empresent?
Can any testing tool be integrated with Empresent?
How data can be entered in the list box example?
Where from can we get the Platform Request Migration Form?
If I have any Technical query then whom to contact?
How to remove a widget (e.g. Push button) from a window?
How to change the default x86 window size?
The screen displays normally in 3.13.13 but does not display in 4.00.00 onwards?
How the external events can be notified and trapped in EmPresent?
VE is not getting opened when we type VE after setting the EmPresent environment?
Error related to font is coming while saving the application?
Where the devices should be initialized?
nmake command is not working?
Junk characters displayed on the screen even if we have the fonts installed on the system?
The error is coming while trying to compile an application that the file “empresent.h” is not found or can not open it?


How to install new fonts in Empresent?
To add new font in Empresent install the font file in the following C:\WINNT\Fonts folder, Empresent Visual Editor will directly pick up the installed fonts and will show in font list.

Why to upgrade to the newer version (4.00.00) of Empresent?
Newer version of Empresent contains completely new Visual Editor containing

  • New start page
  • Tabbed view
  • New property window containing all the notification related to the corresponding widget

Can we design an application on Empresent without having the target board ready?
Yes, we have X86 Simulator through which we can design an application on Empresent although the target board is not ready.

How to add a new image in iconic area or iconic button of Empresent?
In order to add a new image go to the property window -> change icon -> New -> Special -> Attach Filename -> Get files then choose the appropriate image which you want to assign to the widget.

Can any testing tool be integrated with Empresent?
Yes, there are some testing tools in the market that can be integrated with Presenter like Win Runner. Infact Win runner integrated kit could be provided on request. For more details, please be in contact with the Empresent Sales and Marketing team.

How data can be entered in the list box example?
For displaying the initial data you will need to do two things:

  1. You will have to associate a TED editor with the LBox cells.
  2. Please see the demo sample application in ($) EmPresent\C\Examples\Widget\LBOX. Please have a look in this application and its code.

If I have any Technical query then whom to contact?
In case you a have POS id please log a case in it and we will respond to you at the earliest. Otherwise mail us directly at empresent.support@hcl.in

How to remove a widget (e.g. Push button) from a window?
The API PANEL_RemoveWgt((PanelPtr)win, (WgtPtr)win->PBut1) removes the widget from the window. Here win->PBut1 specifies the pointer to the push button.

How to change the default x86 window size?
The wininfo.c file needs to be changes for this.
Location of the file: $EMPRESENT\VisualEditor\winx86\wininfo.c You can modify the following setting.

     #ifndef VRM_WIDTH
     #define VRM_WIDTH 240 /* Default screen width = 240 pixels */
     #endif

     #ifndef VRM_HEIGHT
     #define VRM_HEIGHT 320 /* Default screen height = 320 pixels */
     #endif

The screen displays normally in 3.13.13 but does not display in 4.00.00 onwards?
4.00.00 onwards, the API PIC_SetVRMInfo() is necessary to be called in initemp.c.
         Therefore, simply uncomment this API PIC_SetVRMInfo (Width,Height,Bits/pixel, base address (vrm)) present in "emp_ini()" function.

  1. The parameter "Width" specifies the width of the LCD Panel.
  2. The parameter "Height" specifies the height of the LCD Panel.
  3. The parameter "Bits/Pixel" specifies the bits per pixel set for the LCD Panel.
  4. The parameter "base address" specifies the base address of the VRM address of Panel.

How the external events can be notified and trapped in EmPresent?
The Keyboard event can be notified and trapped by using the API PIC_QueueKbdEvent().
The Mouse event can be notified and trapped by using the API PIC_QueueMouseEvent().

VE is not getting opened when we type VE after setting the EmPresent environment?
Make sure that the two variables ND_NATIVEFRAME and ND_NATIVEMENU are set to False.
The ND_CHARNATIVE should be set proper acc to the kit.
For e.g, in case of Unicode, it should be CT_UTF8, in case of jajpsjis, it should be CT_SJIS and so on.

Error related to font is coming while saving the application?
The following things should be taken care of:

  1. If the kit is Japanese but the OS is English, then the font of any widget or window should not be a Japanese font i.e. the font name in the font selection list should be in English.
  2. The resources used in the application exist and attached properly.

Where the devices should be initialized?
All the devices like touch panel, lcd, etc should be initialized properly in the initemp.c file.

nmake command is not working?
VC path is not set. Please run vcvars32.bat file of the proper VC compiler.

Junk characters displayed on the screen even if we have the fonts installed on the system?
Make sure that the kit is a proper kit i.e if the characters are of language other than English or Japanese, the kit should be a Unicode kit. Also if the characters are Japanese, then the kit should either be a Japanese kit or a Unicode kit.

ND_CHARNATIVE is set properly according to the language.

The error is coming while trying to compile an application that the file “empresent.h” is not found or can not open it?
The variable EMPRESENT_PATH should be set properly with the name of Kit you are using.