Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Node
  3. Gurux.DLMS.Client.Example.Delphi Problem

Gurux.DLMS.Client.Example.Delphi problem

By Leo , 9 June, 2023
Forums
Gurux.DLMS

Hello, dear developer!

I'm using you test program and found an exception in procedure:
TGXProgram.ReadScalerAndUnits

During debugging, I noticed that FreeAndNil(list) instruction is called when list=nil

This corrupts the data in the variable tmp, so the code below is executing with an exception

My opinion is to move FreeAndNil(list) after
if list.Count <> 0 Then
ReadList(list);

where list variable is not nil

Profile picture for user Kurumi

Kurumi

3 years 5 months ago

Hi, Thank you for this…

Hi,

Thank you for this information and for reporting it. Your idea is good and it's added for the client example during next week.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Thu, 11/19/2026 - 10:57
    Gurux.DLMS.Python 1.0.204
  • Thu, 11/19/2026 - 10:12
    gurux.dlms.c 9.0.2611.1901
  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101

New forum topics

  • BILLIARD EQUIPMENT PUSAT | WA 083148835648
  • cuehouse.billiard | WA 083148835648
  • Billiard Consignment - Toko Peralatan Billiard & Stick Billiard Second Baru | WA 083148835648
  • AvengingXen Pool at Second Floor Billiard | WA 083148835648
  • ISAK Billiard Co. | WA 083148835648
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin