Created On:  26 January 2012

Problem:

When compiling a Dialog System application you get unresolved external symbol errors similar to:

error LNK2001: unresolved external symbol _DSSETFOCUS

error LNK2001: unresolved external symbol _DSGRUN

error LNK2001: unresolved external symbol _DSDELWIN

Resolution:

You should ensure that the COBDIR and PATH environment variables are set to:

PATH = C:\\Program Files\\Micro Focus\\Net Express5.1\\Bin
COBDIR = C:\\Program Files\\Micro Focus\\Net Express5.1\\Bin

The path to these environment variable may differ depending on whether you changed the directory when install Net Express or if you have a 64 bit system (i.e. it would be  C:\\Program Files (x86)...

It is also possible that this is caused by the LITLINK directive. If you have this directive set please remove it you do not need to resolve literals at link time rather than run time.

Incident #2551160