I'm not familiar with EZGPIB, but I took a quick look at the manual for it that is hosted at the xdevs site (dated 20121217).
I see an immediate syntax error in your sample code, you are missing a parameter when calling EZGPIB_TelnetConnect().
It is defined as:
Function EZGPIB_TelnetConnect(Name:string;IPAddress:string;Port:LongInt):Boolean
The first parameter should be a name of the device (I believe this is something you nominate, e.g. "DMM1"), and that is what you then pass as the parameter to TelnetRead() or TelnetWrite() instead of the IP address.
So, something like:
Program New;
var answer:string;
begin;
EZGPIB_ScreenClear;
EZGPIB_TelNetConnect('DMM1','192.168.0.76',5024);
EZGPIB_TimeSleep(1);
EZGPIB_TelNetWrite('DMM1','*IDN?');
EZGPIB_TimeSleep(1);
answer:=EZGPIB_TelNetRead('DMM1');
EZGPIB_ScreenWriteLn(answer);
end.
Give that a go and see if it works.
Honestly, you might want to try moving to Python going forward considering EZGPIB is no longer supported. There are a few topics here about how to use Python, with or without pyvisa.