Developer Reference Latest Changes

DNC Support

From version 5, ENCX now supports DNC charts. The capability to view DNC charts is only available with a special ENCX licence. If you'd like to know more, please contact us.

See previous changes

Version 5.6.0.2

Released 27 October 2026.

Faster S-57 drawing

S-57 charts now draw approximately 1.5x faster.

The symbol and label caches use some extra memory: in the same test the peak working set was about 90 MB higher in 64-bit and 140 MB higher in 32-bit.

High DPI

Symbols, text, the north arrow and the scale bar are all sized from the pixel size the client sets with S57Draw.PixelSizeMetres, so an application that sets it from the screen's DPI gets correctly sized charts on a high DPI screen. An application that leaves a fixed pixel size will see smaller scale bar text on a high DPI screen than in 5.5, where that text followed the screen's DPI. The light characteristic diagram in the HTML features at point page is now drawn at the screen's DPI.

Text and sounding declutter

S57DisplaySettings has two new properties, DeclutterText and DeclutterSoundings, which leave out text and soundings that would overlap others. Both are off by default and both are also saved in the settings XML. S57Draw.FeaturesAtPoint reports a decluttered feature as not Visible.

Simpler threaded route checks

RouteCheck.BeginCheck checks a route on a thread of ENCX's own and returns at once. The result arrives through the new OnCheckComplete or OnCheckFailed event on the thread that called BeginCheck. Starting another check cancels the one before; CancelCheck and Checking are also added. The new RouteCheckerAsync sample shows how to use it.

Breaking change: Route check safety distance properties apply as named

RouteCheck.CheckLinesWithinSafetyDistance and CheckAreasWithinSafetyDistance applied the other way round from their names in earlier versions: the first reported area features within the safety distance and the second line features. They now do what their names say. An application that sets both, or neither, gets the same results as before; one that sets only one of them should swap it to keep its current results.

Deleting cells with ManageENC

ManageENC's Manager has a new DeleteCells method, which deletes installed cells without any user interface, as the Delete cells button in the cell manager does. See ManageENC API.

Per-user registration

EncXCOM.dll and ENCX64.dll can be registered without administrator rights with regsvr32 /n /i:user EncXCOM.dll, and unregistered with regsvr32 /u /n /i:user EncXCOM.dll. ManageENC.exe can likewise be registered with ManageENC -regserverperuser and unregistered with ManageENC -unregserverperuser. A per-user registration takes precedence over a machine-wide one, except for processes running elevated, which do not see it.

Registration-free COM

An application can use EncXCOM.dll or ENCX64.dll from its own folder without registering it, by naming it as a dependency in its manifest. See Distributing ENCX Based Software. The VPFManager and VPFFeatureSet objects now have the ProgIDs EncXCOM.VPFManager and EncXCOM.VPFFeatureSet.

Interop assemblies require .NET Framework 4

Interop.ENCX.dll and Interop.ManageENC.dll are now built for the .NET Framework 4 runtime, so applications built for .NET Framework 2.0 or 3.5 can no longer load them.

Fixes

  • Display settings, VPF feature settings and VPF iterator guide changes now apply to FeaturesAtPoint, DepthAtPoint, VPFFeaturesAtPoint and VPFCoveragesAtPoint straight away, rather than after the next draw.
  • Drawing VPF charts on more than one thread at once no longer corrupts the drawings, and opening a VENC from a second STA thread no longer crashes. Plain text VPF features are always drawn in the right colour.
  • 64-bit: highlighting a feature from the HTML features at point page no longer crashes.
  • The overscale indication pattern is drawn right up to the edges of the area it covers.

Samples

  • The new SxS-Framework (.NET Framework) and SxS-Core (.NET 10) samples, in the SideBySide samples folder, use ENCX without registering it, in 32-bit and 64-bit.
  • The .NET Core samples now target .NET 10.
  • RouteChecker handles its route check results safely on the UI thread, and closes cleanly in the middle of a check.
  • The S57Control and RasControl in EncXControls and ENCX.CoreControls pan the chart when dragged with the left mouse button, and their scroll bars are the system size on a high DPI screen.
  • EncDisplaySettings sets the pixel size from the screen's DPI, zooms with the mouse wheel, pans with a drag, and has the new declutter settings.
  • EncFeaturesAtPoint has Declutter text and Declutter soundings check boxes.
  • The WinForms samples enable visual styles, so check boxes are the right size on a high DPI screen.
  • The WinForms samples scale their windows, controls and text with the screen DPI, and EncList1 and DotNetDongleMonitoring are now DPI aware too.